FAIL: gcc.dg/pragma-darwin.c
Dominique Dhumieres
dominiq@lps.ens.fr
Sat Jul 14 16:14:00 GMT 2007
The test FAIL: gcc.dg/pragma-darwin.c fails with
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 15)
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 16)
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 17)
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 18)
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 19)
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 67)
FAIL: gcc.dg/pragma-darwin.c (test for errors, line 68)
FAIL: gcc.dg/pragma-darwin.c (test for excess errors)
(see http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00621.html)
Apparently gcc 4.3 emits only warnings while the test expects errors:
...
#pragma options 23 /* { dg-error "malformed '#pragma options'" } */
#pragma options align /* { dg-error "malformed '#pragma options'" } */
#pragma options align natural /* { dg-error "malformed '#pragma options'" } */
#pragma options align=45 /* { dg-error "malformed '#pragma options'" } */
#pragma options align=foo /* { dg-error "malformed '#pragma options align" } */
...
#pragma unused /* { dg-error "missing '.' after '#pragma unused" } */
#pragma unused (a /* { dg-error "missing '.' after '#pragma unused" } */
...
TIA
Dominique
More information about the Gcc
mailing list