This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testcase for -fssa bug
- To: law at cygnus dot com
- Subject: Re: Testcase for -fssa bug
- From: Andreas Jaeger <aj at suse dot de>
- Date: 19 May 2000 18:45:05 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- References: <1950.958752372@upchuck>
>>>>> Jeffrey A Law writes:
Jeff > d In message <u8snvey37i.fsf@gromit.rhein-neckar.de>you write:
>>
>> As discussed with Richard and Ulrich on gcc-bugs, here's a testcase to
>> show a bug with -fssa.
>>
>> Can I commit this?
>>
>> Andreas
>>
>> 2000-05-19 Andreas Jaeger <aj@suse.de>
>>
>> * gcc.dg/ssa-1.c: Testcase for SSA bug from Ulrich Drepper.
Jeff > Actually, I think I'd prefer the test in c-torture/execute and that we change
Jeff > the c-torture framework to test -fssa.
Jeff > Other opinions?
That's fine with me.
Here's a patch for c-torture.exp.
Shall I add the testcase then to c-torture/execute (after removing the
comments for gcc.dg)?
Andreas
2000-05-19 Andreas Jaeger <aj@suse.de>
* lib/c-torture.exp: Also test with -O3 -fssa.
Index: testsuite/lib/c-torture.exp
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/lib/c-torture.exp,v
retrieving revision 1.12
diff -u -r1.12 c-torture.exp
--- c-torture.exp 1999/08/31 23:59:40 1.12
+++ c-torture.exp 2000/05/19 16:41:12
@@ -40,6 +40,7 @@
{ -O3 -fomit-frame-pointer -funroll-loops } \
{ -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions } \
{ -O3 -g } \
+ { -O3 -fssa } \
{ -Os } ]
}
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de