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]
Other format: [Raw text]

Re: (forw) Re: (forw) pr5649 on powerpc (broken splitters)


Hi,

On Sat, 9 Mar 2002, Geoff Keating wrote:

> I couldn't generate a testcase for this---the obvious

Huh?  You did read the subject, did you?  PR5649 (which the mails were
all about) explicitely mentions a testcase for this, and it is:

 int foo(void);
 void bar(int x) {
   if (foo()) {
     if (x==0) return;
     if (foo()) { if (foo()) x++; if (x>0) foo(); }
   }
 }

This breaks with -O2 on at least powerpc-linux without the patch.


Ciao,
Michael.


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