From 518ee01e7590e4f31ef1037d1d81777025d585e3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 24 Feb 1999 14:12:44 +0000 Subject: [PATCH] Add -O3 to TORTURE_OPTIONS list. From-SVN: r25406 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/c-torture.exp | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 88552dd8e2f..7d94fe2d7cc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +1999-02-24 Nick Clifton + + * 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 2078a61b506..e2031d87bcd 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 } ] } -- 2.30.2