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: CVS MinGW (Crossed-)Native Compiler is Toast


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.


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