mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 23:31:21 +08:00
Add -ftree-tail-merge to tail-merge testcases
2014-11-17 Tom de Vries <tom@codesourcery.com> * 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. From-SVN: r217674
This commit is contained in:
parent
81ba3dd3a4
commit
a19faae31e
@ -1,3 +1,21 @@
|
||||
2014-11-17 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* 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 <tom@codesourcery.com>
|
||||
|
||||
* gcc.dg/pr43864-2.c: Fix scan-tree-dump-times scan pattern.
|
||||
|
@ -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)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-pre" } */
|
||||
/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
|
||||
|
||||
/* Commutative case. */
|
||||
|
||||
|
@ -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. */
|
||||
|
||||
|
@ -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 *);
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-pre" } */
|
||||
/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
|
||||
|
||||
int z;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user