rs6000: Fix gcc.target/powerpc testsuite target requirements.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr69543.c
blob0bb5da0aae0da3e050fbbcaddfd608bac748676f
1 /* PR preprocessor/69543 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wuninitialized" } */
5 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
6 _Pragma ("GCC diagnostic push") \
7 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
8 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
9 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
10 _Pragma ("GCC diagnostic pop")
12 void test (char yylval)
14 char *yyvsp;
15 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
16 *++yyvsp = yylval;
17 YY_IGNORE_MAYBE_UNINITIALIZED_END