Bug 11117

Summary: internal error on compilation of java code (multiple jar's and sources)
Product: gcc Reporter: ahs3
Component: javaAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED WONTFIX    
Severity: normal CC: ahs3, gcc-bugs, java-prs, jfey, rmathew
Priority: P2 Keywords: ice-on-valid-code, patch
Version: 3.2.3   
Target Milestone: ---   
Host: i386-debian-linux-gnu Target: i386-debian-linux-gnu
Build: i386-debian-linux-gnu Known to work:
Known to fail: Last reconfirmed: 2005-02-17 03:32:38
Bug Depends on:    
Bug Blocks: 12996    
Attachments: Zip file containing code to reproduce problem

Description ahs3 2003-06-06 20:46:29 UTC
I'll attach a zip file that contains the code and a script to re-create the
problem.  The script (called 'bld'), when executed, runs the Debian GNU/Linux
version of gcj 3.2.3 and produces this message:

org/xml/sax/SAXNotSupportedException.class:0: internal error: Segmentation
faultPlease submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Unfortunately, this code was passed on to me so I don't have a lot of details
about what is does (other than test some xml functionality).  If there is
further info needed, please let me know.
Comment 1 ahs3 2003-06-06 20:49:57 UTC
Created attachment 4184 [details]
Zip file containing code to reproduce problem

This zip file contains everything needed (perhaps way too much) to reproduce
this bug.  Execute the script 'bld' with no parameters and gcj 3.2.3 fails on a
seg fault.
Comment 2 Dara Hazeghi 2003-06-08 16:56:18 UTC
Confirmed with gcc 3.3 branch and mainline (20030604).
Comment 3 Andrew Pinski 2003-06-14 23:49:52 UTC
If you compile them seperately it works.
Comment 4 Andrew Pinski 2003-11-24 20:05:13 UTC
There are other reports of this some where.
Comment 5 Andrew Pinski 2004-05-21 03:09:15 UTC
*** Bug 9947 has been marked as a duplicate of this bug. ***
Comment 6 Ranjit Mathew 2004-06-11 12:31:28 UTC
My proposed fix for PR13948 fixes the ICE on mainline, but exposes the extra
"./" problem as evidenced, for example, in PR9351.
Comment 7 Ranjit Mathew 2004-06-14 19:22:23 UTC
Actually the revised patch for PR13948 converts this ICE to another ICE. I'll look
into this soon.
Comment 8 Ranjit Mathew 2004-06-21 06:55:47 UTC
A proposed patch:

  http://gcc.gnu.org/ml/java-patches/2004-q2/msg00736.html

While this patch cures the remaining ICE, the build
still breaks (though much later) due to a verifier error.

(If the patch above is approved and committed, the subject
line of this PR should change.)
Comment 9 Andrew Pinski 2004-08-19 03:02:49 UTC
Most likely the same bug as PR 12996.
Comment 10 Andrew Pinski 2016-09-30 22:51:42 UTC
Closing as won't fix as the Java front-end has been removed from the trunk.