From e52f6c68f9efea7eb793d168d249cd8ccd86d79f Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Mon, 9 Dec 2013 15:51:52 +0100 Subject: [PATCH] pr39834.c: Remove optimization level option. 2013-12-09 Martin Jambor * gcc.c-torture/compile/pr39834.c: Remove optimization level option. * gcc.c-torture/compile/pr48929.c: Likewise. * gcc.c-torture/compile/pr55569.c: Likewise. * gcc.c-torture/compile/sra-1.c: Likewise. * gcc.c-torture/compile/pr45085.c: Moved to... * gcc.dg/tree-ssa/pr45085.c: ...here, added compile dg-do. From-SVN: r205806 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/gcc.c-torture/compile/pr39834.c | 2 +- gcc/testsuite/gcc.c-torture/compile/pr48929.c | 2 +- gcc/testsuite/gcc.c-torture/compile/pr55569.c | 2 +- gcc/testsuite/gcc.c-torture/compile/sra-1.c | 2 -- .../{gcc.c-torture/compile => gcc.dg/tree-ssa}/pr45085.c | 1 + 6 files changed, 13 insertions(+), 5 deletions(-) rename gcc/testsuite/{gcc.c-torture/compile => gcc.dg/tree-ssa}/pr45085.c (96%) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d8ff9fa..5c3e5b5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2013-12-09 Martin Jambor + + * gcc.c-torture/compile/pr39834.c: Remove optimization level option. + * gcc.c-torture/compile/pr48929.c: Likewise. + * gcc.c-torture/compile/pr55569.c: Likewise. + * gcc.c-torture/compile/sra-1.c: Likewise. + * gcc.c-torture/compile/pr45085.c: Moved to... + * gcc.dg/tree-ssa/pr45085.c: ...here, added compile dg-do. + 2013-12-09 Marek Polacek PR sanitizer/59415 diff --git a/gcc/testsuite/gcc.c-torture/compile/pr39834.c b/gcc/testsuite/gcc.c-torture/compile/pr39834.c index ecc3977a..c0ad8fd 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr39834.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr39834.c @@ -1,4 +1,4 @@ -/* { dg-options "-O1 -Winline" } */ +/* { dg-options "-Winline" } */ void quit_mined (); void bottom_line (); typedef enum { False, True } FLAG; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr48929.c b/gcc/testsuite/gcc.c-torture/compile/pr48929.c index f085dc6..b28ad9d 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr48929.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr48929.c @@ -1,4 +1,4 @@ -/*{ dg-options "-O -findirect-inlining" }*/ +/*{ dg-options "-findirect-inlining" }*/ void bar (); static void diff --git a/gcc/testsuite/gcc.c-torture/compile/pr55569.c b/gcc/testsuite/gcc.c-torture/compile/pr55569.c index 2a53c80..cffbcfc 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr55569.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr55569.c @@ -1,4 +1,4 @@ -/* { dg-options "-O1 -ftree-vectorize" } */ +/* { dg-options "-ftree-vectorize" } */ int *bar (void); void diff --git a/gcc/testsuite/gcc.c-torture/compile/sra-1.c b/gcc/testsuite/gcc.c-torture/compile/sra-1.c index 06dcf10..5921303 100644 --- a/gcc/testsuite/gcc.c-torture/compile/sra-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/sra-1.c @@ -1,5 +1,3 @@ -/* { dg-do compile } */ -/* { dg-options "-O1" } */ /* Let gimple verifier check what SRA does to unions and single-field strucutres . */ diff --git a/gcc/testsuite/gcc.c-torture/compile/pr45085.c b/gcc/testsuite/gcc.dg/tree-ssa/pr45085.c similarity index 96% rename from gcc/testsuite/gcc.c-torture/compile/pr45085.c rename to gcc/testsuite/gcc.dg/tree-ssa/pr45085.c index 5c1ec6a..d95ac86 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr45085.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr45085.c @@ -1,3 +1,4 @@ +/* { dg-do compile } */ /* { dg-options "-O2 -Wuninitialized" } */ struct S { char *s1; long s2; }; struct T { int t1; long t2; long t3; }; -- 2.7.4