diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/noncompile')
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/920721-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/930622-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/940112-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/950921-1.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/951123-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/971104-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/noncompile/990416-1.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/gcc/testsuite/gcc.dg/noncompile/920721-2.c b/gcc/testsuite/gcc.dg/noncompile/920721-2.c index 9ec223c3af4..c698b085ea9 100644 --- a/gcc/testsuite/gcc.dg/noncompile/920721-2.c +++ b/gcc/testsuite/gcc.dg/noncompile/920721-2.c @@ -2,5 +2,5 @@ void f(int n) { int s; for(s=0;s<n;s++) - s==5?1 n=1; /* { dg-error "parse error" } */ + s==5?1 n=1; /* { dg-error "(parse|syntax) error" } */ } diff --git a/gcc/testsuite/gcc.dg/noncompile/930622-2.c b/gcc/testsuite/gcc.dg/noncompile/930622-2.c index a1450afbf1f..3409118f0e2 100644 --- a/gcc/testsuite/gcc.dg/noncompile/930622-2.c +++ b/gcc/testsuite/gcc.dg/noncompile/930622-2.c @@ -1,6 +1,6 @@ f () { int i; - for (i--) /* { dg-error "parse" } */ + for (i--) /* { dg-error "parse|syntax" } */ ; } diff --git a/gcc/testsuite/gcc.dg/noncompile/940112-1.c b/gcc/testsuite/gcc.dg/noncompile/940112-1.c index 24780df554e..953840f6dc8 100644 --- a/gcc/testsuite/gcc.dg/noncompile/940112-1.c +++ b/gcc/testsuite/gcc.dg/noncompile/940112-1.c @@ -4,4 +4,4 @@ f (int x) double e = 1; e = 1; return (e) -} /* { dg-error "parse error" } */ +} /* { dg-error "(parse|syntax) error" } */ diff --git a/gcc/testsuite/gcc.dg/noncompile/950921-1.c b/gcc/testsuite/gcc.dg/noncompile/950921-1.c index ed44338fcd1..0f6378524ec 100644 --- a/gcc/testsuite/gcc.dg/noncompile/950921-1.c +++ b/gcc/testsuite/gcc.dg/noncompile/950921-1.c @@ -1,10 +1,10 @@ typedef enum { - a = (X) 0, /* { dg-error "undeclared|not integer|parse error" } */ + a = (X) 0, /* { dg-error "undeclared|not integer|(parse|syntax) error" } */ b } c; typedef enum { - d = (X) 0 /* { dg-error "undeclared|not integer|parse error" } */ + d = (X) 0 /* { dg-error "undeclared|not integer|(parse|syntax) error" } */ } e; diff --git a/gcc/testsuite/gcc.dg/noncompile/951123-1.c b/gcc/testsuite/gcc.dg/noncompile/951123-1.c index 9a5a3215ed6..787cf1e94fa 100644 --- a/gcc/testsuite/gcc.dg/noncompile/951123-1.c +++ b/gcc/testsuite/gcc.dg/noncompile/951123-1.c @@ -1,2 +1,2 @@ struct S { int a; int b[2]; }; -struct S x = { 0, [0]; }; /* { dg-error "array index|near|parse" } */ +struct S x = { 0, [0]; }; /* { dg-error "array index|near|(parse|syntax)" } */ diff --git a/gcc/testsuite/gcc.dg/noncompile/971104-1.c b/gcc/testsuite/gcc.dg/noncompile/971104-1.c index a20b17add58..ed7cb523c3b 100644 --- a/gcc/testsuite/gcc.dg/noncompile/971104-1.c +++ b/gcc/testsuite/gcc.dg/noncompile/971104-1.c @@ -23,6 +23,6 @@ static void up(int sem){ printf("%s had processes sleeping on it!\n", ({ "MUTEX ", "BARB_SEM 1", "BARB_SEM 2", "CUST_SEM 1", "CUST_SEM 2", "WAIT_SEM 1", "WAIT_SEM 2", "WAIT_SEM 3", - "WAIT_SEM 4"} /* { dg-error "parse error" } */ + "WAIT_SEM 4"} /* { dg-error "(parse|syntax) error" } */ [( sb.sem_num )]) ); } diff --git a/gcc/testsuite/gcc.dg/noncompile/990416-1.c b/gcc/testsuite/gcc.dg/noncompile/990416-1.c index 1e874871de2..6b69ead2fe1 100644 --- a/gcc/testsuite/gcc.dg/noncompile/990416-1.c +++ b/gcc/testsuite/gcc.dg/noncompile/990416-1.c @@ -1,7 +1,7 @@ typedef int word_type; static void -copy_reg (unsigned int reg, frame_state *udata, /* { dg-error "parse" } */ +copy_reg (unsigned int reg, frame_state *udata, /* { dg-error "parse|syntax" } */ frame_state *target_udata) { word_type *preg = get_reg_addr (reg, udata, 0); /* { dg-error "undeclared|function|without a cast" } */ |