GCC build failed for native with your patch on 2003-07-09T09:41:45Z.
Jan Hubicka
jh@suse.cz
Wed Jul 9 23:21:00 GMT 2003
> On Wed, 2003-07-09 at 16:03, Jan Hubicka wrote:
> > >
> > > I have a small (8 lines) test-case which fails on powerpc-apple-darwin
> > > but it
> > > does not fail on i686-pc-linux-gnu sorry (do not know why though).
> > >
> > > ---------------------------------
> > > cut------------------------------------------
> > > union _Obj {};
> > > _Obj* __next_obj;
> > > template<bool __threads, int __inst> void _S_refill()
> > > {
> > > for (int __i = 1; ; __i++)
> > > __next_obj = __next_obj;
> > > }
> >
> > In the testcase I am seeing the problem is caused by the fact that
> > PREINCREMENT_EXPR is created but it's argument 2 is bogus. Not sure
> > from where the expr comes from.
>
> Oh, great! That's the key!
>
> PREINCREMENT_EXPR is weird -- it's a unary operator for C/C++, but a
> binary operator in "tree". (It's harmless to pass an extra operand to
That what I expected, but wasn't able to locate the exact spot where
operand is missed.
> "build_min" in the cases that don't need it, in case you're worried.)
>
> I am betting that this patch will fix it. Would you try that? If it
> works, check it in -- or ask me to do so. Thanks for the help!
Yes, it works on the testcase. I've started full bootstrap but won't be
online before tomorrow most probably.
Honza
More information about the Gcc-regression
mailing list