aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-02-24 14:12:44 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-02-24 14:12:44 +0000
commit518ee01e7590e4f31ef1037d1d81777025d585e3 (patch)
treeccd72d147b621333bec8e757e8b2ffd9956bbf5a /gcc
parentbdb59aec775c4ea43a980efa6ccacdc3c9540d12 (diff)
downloadgcc-518ee01e7590e4f31ef1037d1d81777025d585e3.zip
gcc-518ee01e7590e4f31ef1037d1d81777025d585e3.tar.gz
gcc-518ee01e7590e4f31ef1037d1d81777025d585e3.tar.bz2
Add -O3 to TORTURE_OPTIONS list.
From-SVN: r25406
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/c-torture.exp18
2 files changed, 16 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 88552dd..7d94fe2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+1999-02-24 Nick Clifton <nickc@cygnus.com>
+
+ * lib/c-torture.exp: Add -O3 to TORTURE_OPTIONS list.
+
Mon Feb 22 01:15:08 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990222-1.c: New test.
diff --git a/gcc/testsuite/lib/c-torture.exp b/gcc/testsuite/lib/c-torture.exp
index 2078a61..e2031d8 100644
--- a/gcc/testsuite/lib/c-torture.exp
+++ b/gcc/testsuite/lib/c-torture.exp
@@ -23,16 +23,22 @@
# TORTURE_OPTIONS="{ { list1 } ... { listN } }"
if ![info exists TORTURE_OPTIONS] {
- # It is theoretically beneficial to group all of the O2 options together,
+ # It is theoretically beneficial to group all of the O2/O3 options together,
# as in many cases the compiler will generate identical executables for
# all of them--and the c-torture testsuite will skip testing identical
# executables multiple times.
+ # Also note that -finline-functions is explicitly included in one of the
+ # items below, even though -O3 is also specified, because some ports may
+ # choose to disable inlining functions by default, even when optimizing.
set TORTURE_OPTIONS [list \
- { -O0 } { -O1 } { -O2 } \
- { -O2 -fomit-frame-pointer -finline-functions } \
- { -O2 -fomit-frame-pointer -finline-functions -funroll-loops } \
- { -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops } \
- { -O2 -g } { -Os } ]
+ { -O0 } \
+ { -O1 } \
+ { -O2 } \
+ { -O3 -fomit-frame-pointer } \
+ { -O3 -fomit-frame-pointer -funroll-loops } \
+ { -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions } \
+ { -O3 -g } \
+ { -Os } ]
}