CVS MinGW (Crossed-)Native Compiler is Toast

Andrew Haley aph@redhat.com
Sun Sep 21 12:29:00 GMT 2003


Mohan Embar writes:
 > Hi All,
 > 
 > >...I reported that I got a weird parse.y error when I tried
 > >to compile my networking test with the MinGW native
 > >compiler (the (i686-pc-linux-gnu,i686-pc-mingw32,i686-pc-mingw32)
 > >compiler). I was gearing up to put out a new build when
 > >I noticed that I get the same error with a simple
 > >HelloWorld application:
 > >
 > >---------------------------------8<---------------------------------------------
 > >D:\Program Files\thisiscool-gcc\examples\HelloWorld>gcj --main=HelloWorld -o HelloWorld.exe HelloWorld.java
 > >HelloWorld.java: In class `HelloWorld':
 > >HelloWorld.java: In method `HelloWorld.main(java.lang.String[])':
 > >HelloWorld.java:5: internal compiler error: tree check: expected class 'e', have 't' (complex_type) in issue_warning_error_from_context, at java/parse.y:3051
 > >Please submit a full bug report,
 > >with preprocessed source if appropriate.
 > >See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 > >---------------------------------8<---------------------------------------------
 > >
 > >This doesn't happen with the cross compiler
 > >((i686-pc-linux-gnu,i686-pc-linux-gnu,i686-pc-mingw32)).
 > 
 > Does anyone have any suggestions as to how I should investigate this?
Open it in gdb and use debug_tree() on the expr that causes the error.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /