This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/12457] jc1 -femit-class-files without -fsyntax-only segfaults.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12457


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-30 18:12:57
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-30 18:12 -------
The driver, gcj, already errors out if you are using -femit-class-file without -fsyntax-only, maybe 
this logic should be moved into the compiler itself:
tin:~/src/gnu/gcctest>gcj -femit-class-files  temp.java
gcj: -femit-class-file should used along with -fsyntax-only
tin:~/src/gnu/gcctest>~/linux/libexec/gcc/i686-pc-linux-gnu/3.4/jc1 -femit-class-files  
temp.java
 class temp class java.lang.Object [temp. finit$()
] [temp. ()
]
temp.java:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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