> unfortunately, the new tests FAIL to compile, both 32 and 64-bit: > > +FAIL: gcc.target/sparc/20181129-1.c (test for excess errors) > +UNRESOLVED: gcc.target/sparc/20181129-1.c compilation failed to produce > executable +FAIL: gcc.target/sparc/20181129-2.c (test for excess errors) > +UNRESOLVED: gcc.target/sparc/20181129-2.c compilation failed to produce > executable
Not clear how I missed them, they are in my logs too... > Excess errors: > /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/sparc/20181129-1.c:17:3 > : error: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > > /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/sparc/20181129-2.c: In > function 'f': > /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/sparc/20181129-2.c:17: > 3: error: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > > The following patch fixes this by building as C99. Alternatively, it > would work just as well to split the x declaration and initialization. Thanks for fixing this. -- Eric Botcazou