This is the mail archive of the gcc-patches@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: cvs c++ -vs- libgcj


On Aug 22, 2000, kenner@vlsi1.ultra.nyu.edu (Richard Kenner) wrote:

>     The current (as of 4 hours ago or so) cvs g++ fails to compile the
>     current libgcj on x86 Linux (Red Hat 7.0).

>     ../../../libgcj/libjava/java/lang/natClass.cc:373: Tree check: expected function_type, have method_type
>     ../../../libgcj/libjava/java/lang/natClass.cc:373: Internal compiler error in fixup_gotos, at stmt.c:1196

> Sorry, that was my bug.  I just committed the following fix:

> Tue Aug 22 02:31:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

> 	* stmt.c (expand_goto_internal, fixup_gotos): Only check
> 	TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.

Ok, I see how this works around the crash, but wouldn't it make sense
to perform the test for method types too?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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