From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell To: apbianco@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: java/4158: ICE in generate_bytecode_conditional(); SP mismatch Date: Sat, 22 Sep 2001 11:26:00 -0000 Message-id: <20010922182601.26728.qmail@sourceware.cygnus.com> X-SW-Source: 2001-09/msg00460.html List-Id: The following reply was made to PR java/4158; it has been noted by GNATS. From: David Brownell To: apbianco@cygnus.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: java/4158: ICE in generate_bytecode_conditional(); SP mismatch Date: Sat, 22 Sep 2001 11:17:05 -0700 No change. Perhaps it's related to "Context" being an inner class? I know compiling inner classes needed fixes in the 3.1 tree. By the way, that was compiling with a file-at-a-time shell script. If I just use the Makefile there (after enabling GCJ and adding the -fsyntax-only flag) there is a segfault during compilation: mkdir -p bin if [ -e filelist.mak ] ; then \ gcj -fsyntax-only -femit-class-files -Isource -foutput-class-dir=bin @filelist.mak ; \ rm filelist.mak ; \ fi ./source/gnu/xml/dom/Consumer.java:0: Internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. That file compiled when not using the @filelist.mak invocation, though I had to make the shell script "mkdir -p bin/gnu/xml/dom" first. - Dave ----- Original Message ----- From: "Alexandre Petit-Bianco" To: "David Brownell" Cc: Sent: Saturday, September 22, 2001 10:35 AM Subject: Re: java/4158: ICE in generate_bytecode_conditional(); SP mismatch > > David Brownell writes: > > > However, I also got this when I ran a command ... at least > > some of the code being generated doesn't verify using > > Sun's JDK 1.3.0. > > Interesting. Could you try modifying NamespaceSupport.java like so and > give it an other try? > > Thank you. > > ./A > > --- NamespaceSupport.java~ Fri Jul 14 17:30:44 2000 > +++ NamespaceSupport.java Sat Sep 22 10:34:06 2001 > @@ -118,7 +118,8 @@ public class NamespaceSupport > { > contexts = new Context[32]; > contextPos = 0; > - contexts[contextPos] = currentContext = new Context(); > + currentContext = new Context(); > + contexts[contextPos] = currentContext > currentContext.declarePrefix("xml", XMLNS); > } >