Re: [PATCH] testsuite: Rename test-defined macros

2022-06-24 Thread Richard Biener via Gcc-patches
On Thu, Jun 23, 2022 at 11:23 PM Dimitar Dimitrov wrote: > > Epiphany, PRU, ARC and NDS32 may predefine __big_endian__ and > __little_endian__ macros. This leads to spurious warnings like: > gcc.dg/sso/memcpy-1.c:7: warning: "__little_endian__" redefined > > Fix by renaming the macros in the

[PATCH] testsuite: Rename test-defined macros

2022-06-23 Thread Dimitar Dimitrov
Epiphany, PRU, ARC and NDS32 may predefine __big_endian__ and __little_endian__ macros. This leads to spurious warnings like: gcc.dg/sso/memcpy-1.c:7: warning: "__little_endian__" redefined Fix by renaming the macros in the test. Ok for trunk? gcc/testsuite/ChangeLog: *