grokfield miscompiled with -O9
Zack Weinberg
zack@wolery.cumb.org
Sun Jan 9 09:51:00 GMT 2000
On Sun, Jan 09, 2000 at 03:03:46PM -0200, Alexandre Oliva wrote:
> On Jan 9, 2000, Zack Weinberg <zack@wolery.cumb.org> wrote:
>
> > Your patch fixed the bug, but the test case you committed fell off
> > the end of main
>
> Oops, sorry. I think I've got too used to C++ semantics of falling
> off the end of main :-(
>
> Thanks for fixing it.
You're welcome.
I sometimes wonder if it would be useful to put the C++ semantics of
falling off the end of main into C as an extension (it's just "as if
there was a return 0; as the last statement", right?)
zw
More information about the Gcc-bugs
mailing list