This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: (forw) Re: (forw) pr5649 on powerpc (broken splitters)
- From: Michael Matz <matz at kde dot org>
- To: Geoff Keating <geoffk at redhat dot com>
- Cc: <pthomas at suse dot de>, <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 11 Mar 2002 11:18:58 +0100 (MET)
- Subject: 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.