OSDN Git Service

Add -O3 to TORTURE_OPTIONS list.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25406 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/c-torture.exp

index 88552dd..7d94fe2 100644 (file)
@@ -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.
index 2078a61..e2031d8 100644 (file)
 # 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 } ]
 }