From: Martin Jambor Date: Mon, 9 Dec 2013 14:51:52 +0000 (+0100) Subject: pr39834.c: Remove optimization level option. X-Git-Tag: upstream/12.2.0~66013 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e52f6c68f9efea7eb793d168d249cd8ccd86d79f;p=platform%2Fupstream%2Fgcc.git 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 --- 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; };