This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/12457] jc1 -femit-class-files without -fsyntax-only segfaults.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2003 18:12:58 -0000
- Subject: [Bug java/12457] jc1 -femit-class-files without -fsyntax-only segfaults.
- References: <20030930091715.12457.suckfish@ihug.co.nz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.