This is the mail archive of the gcc-bugs@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: grokfield miscompiled with -O9


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

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