blob: ef9944570035a0d50ed4c107700fd02d81a71fdb [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001From fb4b4d4ecba04859d52a653d7c453df92014dc38 Mon Sep 17 00:00:00 2001
Brad Bishop286d45c2018-10-02 15:21:57 -04002From: Mahesh Bodapati <mbodapat@xilinx.com>
Brad Bishop26bdd442019-08-16 17:08:17 -04003Date: Wed, 11 Jan 2017 15:28:38 +0530
Andrew Geissler84ad7c52020-06-27 00:00:16 -05004Subject: [PATCH 03/63] [LOCAL]: Testsuite - explicitly add -fivopts for tests
Brad Bishop26bdd442019-08-16 17:08:17 -04005 that depend on it (test gcc/testsuite/gcc.dg/tree-ssa/ivopts-lt.c doesnt
6 exist in 4.6 branch)
Brad Bishop286d45c2018-10-02 15:21:57 -04007
8Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Andrew Geissler84ad7c52020-06-27 00:00:16 -05009
10Conflicts:
11 gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
Brad Bishop286d45c2018-10-02 15:21:57 -040012---
13 gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C | 2 +-
14 gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C | 2 +-
15 gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | 2 +-
16 gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | 2 +-
17 gcc/testsuite/gcc.dg/tree-ssa/loop-5.c | 2 +-
18 gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c | 2 +-
19 gcc/testsuite/gcc.dg/tree-ssa/pr19590.c | 2 +-
20 gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c | 2 +-
21 8 files changed, 8 insertions(+), 8 deletions(-)
22
23diff --git a/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C b/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C
Brad Bishop26bdd442019-08-16 17:08:17 -040024index 438db88..ede883e 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040025--- a/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C
26+++ b/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C
27@@ -1,5 +1,5 @@
28 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
29-/* { dg-options "-O2 -fdump-tree-ivopts-details" } */
30+/* { dg-options "-O2 -fivopts -fdump-tree-ivopts-details" } */
31
32 void test (int *b, int *e, int stride)
33 {
34diff --git a/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C b/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C
Brad Bishop26bdd442019-08-16 17:08:17 -040035index 07ff1b7..a09710c 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040036--- a/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C
37+++ b/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C
38@@ -1,5 +1,5 @@
39 // { dg-do compile }
40-// { dg-options "-O2 -fdump-tree-ivopts-details" }
41+// { dg-options "-O2 -fivopts -fdump-tree-ivopts-details" }
42
43 class MinimalVec3
44 {
45diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
Brad Bishop26bdd442019-08-16 17:08:17 -040046index bda2516..22c8a5d 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040047--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
48+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
49@@ -1,7 +1,7 @@
50 /* A test for strength reduction and induction variable elimination. */
51
52 /* { dg-do compile } */
53-/* { dg-options "-O1 -fdump-tree-optimized" } */
54+/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */
55 /* { dg-require-effective-target size32plus } */
56
57 /* Size of this structure should be sufficiently weird so that no memory
58diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
Brad Bishop26bdd442019-08-16 17:08:17 -040059index f0770ab..65d74c8 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040060--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
61+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
62@@ -1,7 +1,7 @@
63 /* A test for strength reduction and induction variable elimination. */
64
65 /* { dg-do compile } */
66-/* { dg-options "-O1 -fdump-tree-optimized" } */
67+/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */
68 /* { dg-require-effective-target size32plus } */
69
70 /* Size of this structure should be sufficiently weird so that no memory
71diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c
Brad Bishop26bdd442019-08-16 17:08:17 -040072index 5f42857..9bc86ee 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040073--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c
74+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c
75@@ -1,7 +1,7 @@
76 /* A test for induction variable merging. */
77
78 /* { dg-do compile } */
79-/* { dg-options "-O1 -fdump-tree-optimized" } */
80+/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */
81
82 void foo(long);
83
84diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
Andrew Geissler84ad7c52020-06-27 00:00:16 -050085index 50d86a0..1e3eacd 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040086--- a/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
87+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
88@@ -1,5 +1,5 @@
89 /* { dg-do compile } */
Andrew Geissler84ad7c52020-06-27 00:00:16 -050090-/* { dg-options "-O2 -fopt-info-loop-missed" } */
91+/* { dg-options "-O2 -fivopts -fopt-info-loop-missed" } */
Brad Bishop286d45c2018-10-02 15:21:57 -040092 extern void g(void);
93
94 void
95diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c b/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c
Brad Bishop26bdd442019-08-16 17:08:17 -040096index 2c6cfc6..648e6e6 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040097--- a/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c
98+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c
99@@ -1,5 +1,5 @@
100 /* { dg-do compile } */
101-/* { dg-options "-O2 -fdump-tree-ivopts" } */
102+/* { dg-options "-O2 -fivopts -fdump-tree-ivopts" } */
103
104 void vnum_test8(int *data)
105 {
106diff --git a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c
Brad Bishop26bdd442019-08-16 17:08:17 -0400107index e911bfc..5d3e7e0 100644
Brad Bishop286d45c2018-10-02 15:21:57 -0400108--- a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c
109+++ b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c
110@@ -1,5 +1,5 @@
111 /* { dg-do compile } */
112-/* { dg-options "-Os -fdump-tree-optimized" } */
113+/* { dg-options "-Os -fivopts -fdump-tree-optimized" } */
114
115 /* Slightly changed testcase from PR middle-end/40815. */
116 void bar(char*, char*, int);
117--
Brad Bishop26bdd442019-08-16 17:08:17 -04001182.7.4
Brad Bishop286d45c2018-10-02 15:21:57 -0400119