This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Path to add -O2 to TORTURE_OPTIONS list.


Hi Guys,

  I have just appleid the patch below to the GCC testsuite, so that
  the -O3 command line switch will now also be tested.  No new tests
  or test runs have been introduced by this change.

Cheers
	Nick

1999-02-24  Nick Clifton  <nickc@cygnus.com>

	* lib/c-torture.exp: Add -O3 to TORTURE_OPTIONS list.

Index: c-torture.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/testsuite/lib/c-torture.exp,v
retrieving revision 1.68
diff -r1.68 c-torture.exp
26c26
<     # 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,
29a30,32
>     # 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.
31,35c34,41
< 	{ -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 } ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]