This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HEAD encounters 'internal error' with -O9 -- inlining issue?


This problem only occurs when targeting mingw (targeting linux does
not cause the error).

  - a


Adam Megacz <gcj@lists.megacz.com> writes:
> I've tarred up the source tree that produces this error at
> 
>    http://www.megacz.com/xwt.tgz
> 
> Unpack it, change to the xwt/ directory, and issue this command:
> 
> /usr/local/gcc/bin/i686-pc-mingw32-gcj \
>           -fCLASSPATH=/usr/local/gcc/share/libgcj.jar:src/ \
>           -O9 -g -Isrc/ -c src/org/xwt/Box.java -o Box.o 
> src/org/xwt/Box.java:775: internal compiler error: Internal compiler error in emit_move_insn, at expr.c:2925
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> 
> The problem does not occur with -O0.
> 
> The line in question (775) is a call to a private, tiny method which
> should be getting inlined...
> 
>   - a
> 
> -- 
> "Cassette tapes are killing the music industry" -- RIAA spokesperson, 1978
> 

-- 
"Cassette tapes are killing the music industry" -- RIAA spokesperson, 1978


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