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]

Re: Testcase for -fssa bug


>>>>> Andreas Jaeger writes:

>>>>> Jeffrey A Law writes:
AJ> 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.
AJ> Jeff > Actually, I think I'd prefer the test in c-torture/execute and that we change
AJ> Jeff > the c-torture framework to test -fssa.

AJ> Jeff > Other opinions?

AJ> That's fine with me.

AJ> Here's a patch for c-torture.exp.

This looks like the right thing for now, it revealed a number of new
failures:
[...]
Running /cvs/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -O2 
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -O3 -fomit-frame-pointer -funroll-loops 
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/20000225-1.c execution,  -Os 
FAIL: gcc.c-torture/execute/20000412-2.c execution,  -O2 
FAIL: gcc.c-torture/execute/20000412-2.c execution,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/20000412-2.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/20000412-2.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/20000412-2.c execution,  -Os 
FAIL: gcc.c-torture/execute/20000419-1.c execution,  -O2 
FAIL: gcc.c-torture/execute/20000419-1.c execution,  -Os 
FAIL: gcc.c-torture/execute/920625-1.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/920726-1.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/921013-1.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-10.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-12.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-14.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-2.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-4.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-6.c execution,  -O3 -fssa 
FAIL: gcc.c-torture/execute/931004-8.c execution,  -O3 -fssa 
[...]

The only question remains which optimization level should be used?  Is
-O3 ok or should we use -O2 together with -fssa?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

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