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: Missing return type in function prototype causes g++ to crash


Paolo Faraboschi <frb@hpl.hp.com> writes:

>     foo(int x);
>     foo(int x) { return x; }

> And g++ dies with an access violation. Note that gcc runs ok.

I believe this is fixed in the latest snapshot of egcs, but I can't
tell for sure, as I don't have access to a cygwin platform.  Anyway,
the error message I get on Solaris/sparc is gone.

Thanks for your bug report.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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