blob: 3905849688127bd24d829174a9c2184d86ed1dd7 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 03d4d7335be2b2f72c199ab5177685b6dfd1a9d6 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
4Subject: [PATCH 03/54] [LOCAL]: Testsuite - explicitly add -fivopts for tests
5 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>
Brad Bishop286d45c2018-10-02 15:21:57 -04009---
10 gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C | 2 +-
11 gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C | 2 +-
12 gcc/testsuite/gcc.dg/tree-ssa/loop-2.c | 2 +-
13 gcc/testsuite/gcc.dg/tree-ssa/loop-4.c | 2 +-
14 gcc/testsuite/gcc.dg/tree-ssa/loop-5.c | 2 +-
15 gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c | 2 +-
16 gcc/testsuite/gcc.dg/tree-ssa/pr19590.c | 2 +-
17 gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c | 2 +-
18 8 files changed, 8 insertions(+), 8 deletions(-)
19
20diff --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 -040021index 438db88..ede883e 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040022--- a/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C
23+++ b/gcc/testsuite/g++.dg/tree-ssa/ivopts-2.C
24@@ -1,5 +1,5 @@
25 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
26-/* { dg-options "-O2 -fdump-tree-ivopts-details" } */
27+/* { dg-options "-O2 -fivopts -fdump-tree-ivopts-details" } */
28
29 void test (int *b, int *e, int stride)
30 {
31diff --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 -040032index 07ff1b7..a09710c 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040033--- a/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C
34+++ b/gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C
35@@ -1,5 +1,5 @@
36 // { dg-do compile }
37-// { dg-options "-O2 -fdump-tree-ivopts-details" }
38+// { dg-options "-O2 -fivopts -fdump-tree-ivopts-details" }
39
40 class MinimalVec3
41 {
42diff --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 -040043index bda2516..22c8a5d 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040044--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
45+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-2.c
46@@ -1,7 +1,7 @@
47 /* A test for strength reduction and induction variable elimination. */
48
49 /* { dg-do compile } */
50-/* { dg-options "-O1 -fdump-tree-optimized" } */
51+/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */
52 /* { dg-require-effective-target size32plus } */
53
54 /* Size of this structure should be sufficiently weird so that no memory
55diff --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 -040056index f0770ab..65d74c8 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040057--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
58+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
59@@ -1,7 +1,7 @@
60 /* A test for strength reduction and induction variable elimination. */
61
62 /* { dg-do compile } */
63-/* { dg-options "-O1 -fdump-tree-optimized" } */
64+/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */
65 /* { dg-require-effective-target size32plus } */
66
67 /* Size of this structure should be sufficiently weird so that no memory
68diff --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 -040069index 5f42857..9bc86ee 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040070--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c
71+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-5.c
72@@ -1,7 +1,7 @@
73 /* A test for induction variable merging. */
74
75 /* { dg-do compile } */
76-/* { dg-options "-O1 -fdump-tree-optimized" } */
77+/* { dg-options "-O1 -fivopts -fdump-tree-optimized" } */
78
79 void foo(long);
80
81diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
Brad Bishop26bdd442019-08-16 17:08:17 -040082index 0fa5600..94caa44 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040083--- a/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
84+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr19210-1.c
85@@ -1,5 +1,5 @@
86 /* { dg-do compile } */
Brad Bishop26bdd442019-08-16 17:08:17 -040087-/* { dg-options "-O2 -fopt-info-loop-missed -Wunsafe-loop-optimizations" } */
88+/* { dg-options "-O2 -fivopts -fopt-info-loop-missed -Wunsafe-loop-optimizations" } */
Brad Bishop286d45c2018-10-02 15:21:57 -040089 extern void g(void);
90
91 void
92diff --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 -040093index 2c6cfc6..648e6e6 100644
Brad Bishop286d45c2018-10-02 15:21:57 -040094--- a/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c
95+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr19590.c
96@@ -1,5 +1,5 @@
97 /* { dg-do compile } */
98-/* { dg-options "-O2 -fdump-tree-ivopts" } */
99+/* { dg-options "-O2 -fivopts -fdump-tree-ivopts" } */
100
101 void vnum_test8(int *data)
102 {
103diff --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 -0400104index e911bfc..5d3e7e0 100644
Brad Bishop286d45c2018-10-02 15:21:57 -0400105--- a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c
106+++ b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-19.c
107@@ -1,5 +1,5 @@
108 /* { dg-do compile } */
109-/* { dg-options "-Os -fdump-tree-optimized" } */
110+/* { dg-options "-Os -fivopts -fdump-tree-optimized" } */
111
112 /* Slightly changed testcase from PR middle-end/40815. */
113 void bar(char*, char*, int);
114--
Brad Bishop26bdd442019-08-16 17:08:17 -04001152.7.4
Brad Bishop286d45c2018-10-02 15:21:57 -0400116