在 2020/11/14 上午8:12, Joseph Myers 写道: > On Fri, 13 Nov 2020, Liu Hao via Gcc-patches wrote: > >> 在 2020/11/13 2:46, Joseph Myers 写道: >>> I'd expect these patches to include updates to the gcc.dg/format/ms_*.c >>> tests to reflect the changed semantics (or new tests there if some of the >>> changes don't result in any failures in the existing tests). >>> >> >> Does the attached patch suffice? > > This is testing the sort of thing I'd expect tests for regarding 'L' and > 'll'. What about the changes for 'I' - do those result in changes to how > the compiler behaves, which should also have tests? >
There is already a test for `%Ix` in 'ms_c99-printf-2.c', but there is no test (in all 'ms_*printf*' files) which checks for absence of warnings. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature