From e4cfa46f4dc49a0ded5ad3fddcc853345a6da83e Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 13 May 2008 18:06:33 +0000 Subject: [PATCH] re PR testsuite/35127 (Ineffective dg-options in gcc.c-torture/compile) PR testsuite/35127 * gcc.c-torture/compile/20031125-1.c: Remove dg-do, dg-options. * gcc.c-torture/compile/20031125-2.c: Ditto. * gcc.c-torture/compile/20031203-1.c: Ditto. * gcc.c-torture/compile/acc1.c: Remove -O2 from dg-options. * gcc.c-torture/compile/builtin_constant_p.c: Remove dg-options. * gcc.c-torture/compile/pr21562.c: Remove -O3 from dg-options. * gcc.c-torture/compile/pr25483.c: Remove -O from dg-options. * gcc.c-torture/compile/pr32349.c: Remove -O2 from dg-options. * gcc.c-torture/compile/pr32355.c: Remove dg-options. * gcc.c-torture/compile/pr34448.c: Ditto. * gcc.c-torture/compile/pr34648.c: Remove -O2 from dg-options. From-SVN: r135269 --- gcc/testsuite/ChangeLog | 15 +++++++++++++++ gcc/testsuite/gcc.c-torture/compile/20031125-1.c | 2 -- gcc/testsuite/gcc.c-torture/compile/20031125-2.c | 2 -- gcc/testsuite/gcc.c-torture/compile/20031203-1.c | 2 -- gcc/testsuite/gcc.c-torture/compile/acc1.c | 2 +- .../gcc.c-torture/compile/builtin_constant_p.c | 2 -- gcc/testsuite/gcc.c-torture/compile/pr21562.c | 2 +- gcc/testsuite/gcc.c-torture/compile/pr25483.c | 2 +- gcc/testsuite/gcc.c-torture/compile/pr32349.c | 2 +- gcc/testsuite/gcc.c-torture/compile/pr32355.c | 2 -- gcc/testsuite/gcc.c-torture/compile/pr34448.c | 3 --- gcc/testsuite/gcc.c-torture/compile/pr34648.c | 3 +-- 12 files changed, 20 insertions(+), 19 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ff46688d18e..cc85d14985f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2008-05-13 Janis Johnson + + PR testsuite/35127 + * gcc.c-torture/compile/20031125-1.c: Remove dg-do, dg-options. + * gcc.c-torture/compile/20031125-2.c: Ditto. + * gcc.c-torture/compile/20031203-1.c: Ditto. + * gcc.c-torture/compile/acc1.c: Remove -O2 from dg-options. + * gcc.c-torture/compile/builtin_constant_p.c: Remove dg-options. + * gcc.c-torture/compile/pr21562.c: Remove -O3 from dg-options. + * gcc.c-torture/compile/pr25483.c: Remove -O from dg-options. + * gcc.c-torture/compile/pr32349.c: Remove -O2 from dg-options. + * gcc.c-torture/compile/pr32355.c: Remove dg-options. + * gcc.c-torture/compile/pr34448.c: Ditto. + * gcc.c-torture/compile/pr34648.c: Remove -O2 from dg-options. + 2008-05-13 Tom Tromey PR preprocessor/22168: diff --git a/gcc/testsuite/gcc.c-torture/compile/20031125-1.c b/gcc/testsuite/gcc.c-torture/compile/20031125-1.c index 735a20bc241..d3e92679c8b 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20031125-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20031125-1.c @@ -1,5 +1,3 @@ -/* { dg-do compile } */ -/* { dg-options "-O2" } */ short *_offsetTable; /* This tests to make sure PRE splits the entry block ->block 0 edge when there are multiple block 0 predecessors. diff --git a/gcc/testsuite/gcc.c-torture/compile/20031125-2.c b/gcc/testsuite/gcc.c-torture/compile/20031125-2.c index 2af8a021175..42b72480e6a 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20031125-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/20031125-2.c @@ -1,5 +1,3 @@ -/* { dg-do compile } */ -/* { dg-options "-O2" } */ struct BlobSpan { int right; }; diff --git a/gcc/testsuite/gcc.c-torture/compile/20031203-1.c b/gcc/testsuite/gcc.c-torture/compile/20031203-1.c index 7827eb9066f..70547fdfe52 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20031203-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20031203-1.c @@ -1,5 +1,3 @@ -/* { dg-do compile } */ -/* { dg-options "-O2" } */ void make_file_symbol_completion_list (char *); /* This tests to make sure PRE doesn't choose the wrong name when inserting phi nodes. Otherwise, we get uses that aren't dominated diff --git a/gcc/testsuite/gcc.c-torture/compile/acc1.c b/gcc/testsuite/gcc.c-torture/compile/acc1.c index 206d16b8ce8..5b5bcd42d1f 100644 --- a/gcc/testsuite/gcc.c-torture/compile/acc1.c +++ b/gcc/testsuite/gcc.c-torture/compile/acc1.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -ffast-math" } */ +/* { dg-options "-ffast-math" } */ /* Fast maths allows tail recursion to be turned into iteration. */ diff --git a/gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c b/gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c index fdfe3e0da6d..8b18c8af5b4 100644 --- a/gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c +++ b/gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c @@ -1,5 +1,3 @@ -/* { dg-options "-O2" } */ - int main (int argc, char *argv[]) { static int a[] = { __builtin_constant_p (argc) ? 1 : 0 }; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr21562.c b/gcc/testsuite/gcc.c-torture/compile/pr21562.c index d100b28dd45..9b4932f8fb5 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr21562.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr21562.c @@ -1,4 +1,4 @@ -/* { dg-options "-O3 -fno-inline" } */ +/* { dg-options "-fno-inline" } */ struct foo { int a, b, c; }; void abort(void); void exit(int); diff --git a/gcc/testsuite/gcc.c-torture/compile/pr25483.c b/gcc/testsuite/gcc.c-torture/compile/pr25483.c index c5b7ed81371..99151fda0b3 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr25483.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr25483.c @@ -1,4 +1,4 @@ -/* { dg-options "-O -fmove-loop-invariants" } */ +/* { dg-options "-fmove-loop-invariants" } */ static int mdct_win[8]; int x; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr32349.c b/gcc/testsuite/gcc.c-torture/compile/pr32349.c index 570969dfdfb..df725afbf9e 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr32349.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr32349.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -fmodulo-sched" } */ +/* { dg-options "-fmodulo-sched" } */ extern long *x1, *x2, *x3; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr32355.c b/gcc/testsuite/gcc.c-torture/compile/pr32355.c index 126412d30bc..e88cf5cf79c 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr32355.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr32355.c @@ -1,5 +1,3 @@ -/* { dg-options "-O3" } */ - typedef struct { } diff --git a/gcc/testsuite/gcc.c-torture/compile/pr34448.c b/gcc/testsuite/gcc.c-torture/compile/pr34448.c index 988465efe74..625f6f8cc55 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr34448.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr34448.c @@ -1,6 +1,3 @@ -/* { dg-do compile } */ -/* { dg-options "-O" } */ - typedef struct chunk_t chunk_t; struct chunk_t { diff --git a/gcc/testsuite/gcc.c-torture/compile/pr34648.c b/gcc/testsuite/gcc.c-torture/compile/pr34648.c index 1f7472fe76d..8bcdae0501a 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr34648.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr34648.c @@ -1,7 +1,6 @@ /* PR tree-optimization/34648 */ -/* { dg-do compile } */ -/* { dg-options "-O2 -fexceptions" } */ +/* { dg-options "-fexceptions" } */ extern const unsigned short int **bar (void) __attribute__ ((const)); const char *a; -- 2.30.2