This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cvs c++ -vs- libgcj
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: cvs c++ -vs- libgcj
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 Aug 2000 05:26:19 -0300
- Cc: tromey at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <10008220640.AA23280@vlsi1.ultra.nyu.edu>
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