From: Alexandre Oliva Date: Thu, 27 Feb 2020 16:34:44 +0000 (-0300) Subject: work-around system header namespace pollution X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46788c65f93c61a06764b284b4656dd9024e88d2;p=gcc.git work-around system header namespace pollution Including limits.h on vxworks pollutes the global namespace with SH and many other platform names; work around it. for gcc/testsuite/ChangeLog * gcc.target/aarch64/vect-mull.x (SH): Undefine. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6b7b0a2f3d4..f620a83223d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-02-27 Alexandre Oliva + + * gcc.target/aarch64/vect-mull.x (SH): Undefine. + 2020-02-27 Richard Biener PR tree-optimization/93508 diff --git a/gcc/testsuite/gcc.target/aarch64/vect-mull.x b/gcc/testsuite/gcc.target/aarch64/vect-mull.x index 39ec43d77e3..930e7035b1c 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-mull.x +++ b/gcc/testsuite/gcc.target/aarch64/vect-mull.x @@ -9,6 +9,7 @@ typedef unsigned short *__restrict__ pRUINT16; typedef unsigned int *__restrict__ pRUINT32; typedef unsigned long long *__restrict__ pRUINT64; +#undef SH /* Including limits.h on vxworks defines this. */ typedef signed short SH; typedef unsigned short UH; typedef signed int SS;