This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FAIL: gcc.dg/pragma-darwin.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]