diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3f604491e25e..dd13e34348f2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,21 @@ +2014-11-17 Tom de Vries + + * gcc.dg/pr43864-2.c: Add -ftree-tail-merge to dg-options. + * gcc.dg/pr43864-3.c: Same. + * gcc.dg/pr43864-4.c: Same. + * gcc.dg/pr43864.c: Same. + * gcc.dg/pr50763.c: Same. + * gcc.dg/pr51879-12.c: Same. + * gcc.dg/pr51879-16.c: Same. + * gcc.dg/pr51879-17.c: Same. + * gcc.dg/pr51879-18.c: Same. + * gcc.dg/pr51879-2.c: Same. + * gcc.dg/pr51879-3.c: Same. + * gcc.dg/pr51879-4.c: Same. + * gcc.dg/pr51879-6.c: Same. + * gcc.dg/pr51879-7.c: Same. + * gcc.dg/pr51879.c: Same. + 2014-11-17 Tom de Vries * gcc.dg/pr43864-2.c: Fix scan-tree-dump-times scan pattern. diff --git a/gcc/testsuite/gcc.dg/pr43864-2.c b/gcc/testsuite/gcc.dg/pr43864-2.c index 6f531ba02d5d..c576dbd1e412 100644 --- a/gcc/testsuite/gcc.dg/pr43864-2.c +++ b/gcc/testsuite/gcc.dg/pr43864-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int f (int c, int b, int d) diff --git a/gcc/testsuite/gcc.dg/pr43864-3.c b/gcc/testsuite/gcc.dg/pr43864-3.c index f013ff52eb80..7956450105e7 100644 --- a/gcc/testsuite/gcc.dg/pr43864-3.c +++ b/gcc/testsuite/gcc.dg/pr43864-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ /* Commutative case. */ diff --git a/gcc/testsuite/gcc.dg/pr43864-4.c b/gcc/testsuite/gcc.dg/pr43864-4.c index 488206ed17fe..7353b3d5606f 100644 --- a/gcc/testsuite/gcc.dg/pr43864-4.c +++ b/gcc/testsuite/gcc.dg/pr43864-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ /* Different stmt order. */ diff --git a/gcc/testsuite/gcc.dg/pr43864.c b/gcc/testsuite/gcc.dg/pr43864.c index 8d1e989fb18d..a644e21f8fcc 100644 --- a/gcc/testsuite/gcc.dg/pr43864.c +++ b/gcc/testsuite/gcc.dg/pr43864.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ extern void foo (char*, int); extern void mysprintf (char *, char *); diff --git a/gcc/testsuite/gcc.dg/pr50763.c b/gcc/testsuite/gcc.dg/pr50763.c index 695b61c75f02..8201fd357a4f 100644 --- a/gcc/testsuite/gcc.dg/pr50763.c +++ b/gcc/testsuite/gcc.dg/pr50763.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fno-tree-dominator-opts -fdump-tree-pre" } */ int bar (int i); diff --git a/gcc/testsuite/gcc.dg/pr51879-12.c b/gcc/testsuite/gcc.dg/pr51879-12.c index 1b25e296fbfb..8126505f3844 100644 --- a/gcc/testsuite/gcc.dg/pr51879-12.c +++ b/gcc/testsuite/gcc.dg/pr51879-12.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ __attribute__((pure)) int bar (int); __attribute__((pure)) int bar2 (int); diff --git a/gcc/testsuite/gcc.dg/pr51879-16.c b/gcc/testsuite/gcc.dg/pr51879-16.c index 3a84e9746933..789709447902 100644 --- a/gcc/testsuite/gcc.dg/pr51879-16.c +++ b/gcc/testsuite/gcc.dg/pr51879-16.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ struct S { int i; diff --git a/gcc/testsuite/gcc.dg/pr51879-17.c b/gcc/testsuite/gcc.dg/pr51879-17.c index 806fe7b0f61a..8a2fe5efc2ac 100644 --- a/gcc/testsuite/gcc.dg/pr51879-17.c +++ b/gcc/testsuite/gcc.dg/pr51879-17.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ struct S { int i; diff --git a/gcc/testsuite/gcc.dg/pr51879-18.c b/gcc/testsuite/gcc.dg/pr51879-18.c index 95629f12261d..8de3557f9595 100644 --- a/gcc/testsuite/gcc.dg/pr51879-18.c +++ b/gcc/testsuite/gcc.dg/pr51879-18.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre -fno-tree-copy-prop -fno-tree-dominator-opts -fno-tree-copyrename" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre -fno-tree-copy-prop -fno-tree-dominator-opts -fno-tree-copyrename" } */ extern int foo (void); diff --git a/gcc/testsuite/gcc.dg/pr51879-2.c b/gcc/testsuite/gcc.dg/pr51879-2.c index db385cba4a51..78acd1fb1703 100644 --- a/gcc/testsuite/gcc.dg/pr51879-2.c +++ b/gcc/testsuite/gcc.dg/pr51879-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int bar (int); void baz (int); diff --git a/gcc/testsuite/gcc.dg/pr51879-3.c b/gcc/testsuite/gcc.dg/pr51879-3.c index be4b37432288..90f0041c9818 100644 --- a/gcc/testsuite/gcc.dg/pr51879-3.c +++ b/gcc/testsuite/gcc.dg/pr51879-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int bar (int); void baz (int); diff --git a/gcc/testsuite/gcc.dg/pr51879-4.c b/gcc/testsuite/gcc.dg/pr51879-4.c index 5cb47afdb5d7..1a9b76e7b4b4 100644 --- a/gcc/testsuite/gcc.dg/pr51879-4.c +++ b/gcc/testsuite/gcc.dg/pr51879-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int bar (int); void baz (int); diff --git a/gcc/testsuite/gcc.dg/pr51879-6.c b/gcc/testsuite/gcc.dg/pr51879-6.c index 8362a170018f..3d83590631a9 100644 --- a/gcc/testsuite/gcc.dg/pr51879-6.c +++ b/gcc/testsuite/gcc.dg/pr51879-6.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int bar (int); diff --git a/gcc/testsuite/gcc.dg/pr51879-7.c b/gcc/testsuite/gcc.dg/pr51879-7.c index 8a699a1dbdef..5fdf31929372 100644 --- a/gcc/testsuite/gcc.dg/pr51879-7.c +++ b/gcc/testsuite/gcc.dg/pr51879-7.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int z; diff --git a/gcc/testsuite/gcc.dg/pr51879.c b/gcc/testsuite/gcc.dg/pr51879.c index 060624fd679e..ac4a4ccafcbd 100644 --- a/gcc/testsuite/gcc.dg/pr51879.c +++ b/gcc/testsuite/gcc.dg/pr51879.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-pre" } */ +/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */ int bar (int); void baz (int);