public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/13022] Regression: GCJ crashes during compilation of included sample
  2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
@ 2003-11-12 12:32 ` oyvind dot harboe at zylin dot com
  2003-11-12 12:33 ` oyvind dot harboe at zylin dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-12 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From oyvind dot harboe at zylin dot com  2003-11-12 12:32 -------
Created an attachment (id=5120)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5120&action=view)
Files for said test case


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample
@ 2003-11-12 12:32 oyvind dot harboe at zylin dot com
  2003-11-12 12:32 ` [Bug java/13022] " oyvind dot harboe at zylin dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-12 12:32 UTC (permalink / raw)
  To: gcc-bugs

The compile fails w/GCJ 3.3, but it does not crash.

The example I'll attach crashes with the following error message:

C:\Temp\foo>\wingcc\bin\gcj modified_swt.jar cyvizutilnative.jar --
main=com.cyviz.ptest.Application -o ptest
com/zylin/regexp/RegExp.java: In class `com.zylin.regexp.RegExp':
com/zylin/regexp/RegExp.java: In method `com.zylin.regexp.RegExp.Match(java.lang
.String,java.lang.String)':
com/zylin/regexp/RegExp.java:27: error: cannot find file for class org.apache.re
gexp.RE
com/zylin/regexp/RegExp.java:27: error: cannot find file for class org.apache.re
gexp.RESyntaxException
com/zylin/regexp/RegExp.java:27: error: cannot find file for class org.apache.re
gexp.RESyntaxException
com/zylin/regexp/RegExp.java:32: error: cannot find file for class org.apache.re
gexp.RE
com/zylin/regexp/RegExp.java:32: 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.

-- 
           Summary: Regression: GCJ crashes during compilation of included
                    sample
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oyvind dot harboe at zylin dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/13022] Regression: GCJ crashes during compilation of included sample
  2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
  2003-11-12 12:32 ` [Bug java/13022] " oyvind dot harboe at zylin dot com
@ 2003-11-12 12:33 ` oyvind dot harboe at zylin dot com
  2003-12-19 14:28 ` [Bug java/13022] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-12 12:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From oyvind dot harboe at zylin dot com  2003-11-12 12:33 -------
Created an attachment (id=5121)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5121&action=view)
Attaching one more file in a seperate post due to filesize limit in Bugzilla


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample
  2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
  2003-11-12 12:32 ` [Bug java/13022] " oyvind dot harboe at zylin dot com
  2003-11-12 12:33 ` oyvind dot harboe at zylin dot com
@ 2003-12-19 14:28 ` pinskia at gcc dot gnu dot org
  2003-12-31  3:24 ` rmerkert at alphatech dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19 14:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|Regression: GCJ crashes     |[3.4 Regression] GCJ crashes
                   |during compilation of       |during compilation of
                   |included sample             |included sample
   Target Milestone|---                         |3.4.0


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample
  2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
                   ` (2 preceding siblings ...)
  2003-12-19 14:28 ` [Bug java/13022] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-12-31  3:24 ` rmerkert at alphatech dot com
  2004-01-14  4:54 ` pinskia at gcc dot gnu dot org
  2004-01-15  1:48 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rmerkert at alphatech dot com @ 2003-12-31  3:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rmerkert at alphatech dot com  2003-12-31 01:08 -------
I've tried to reduce this problem somewhat. The problem is basically that it gcj
cannot find the classes from org.apache.regexp.RE.

Here's a simpler version. Create two files A.java and /tmp/B.java


cat > A.java <<EOF
public class A
{
    public static void a()
    {
        B x=null;
        x.b();
    }
}
EOF
cat > /tmp/B.java <<EOF
public class B
{
    public static void b()
    {
    }
}
EOF
gcj -C -classpath .:/tmp A.java
gcj -c A.class


It seems to be necessary to call "B.b()", but doing "new B()" produces an error
message.


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample
  2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
                   ` (3 preceding siblings ...)
  2003-12-31  3:24 ` rmerkert at alphatech dot com
@ 2004-01-14  4:54 ` pinskia at gcc dot gnu dot org
  2004-01-15  1:48 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-14  4:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-14 04:54 -------
Confirmed a regression from 3.3.1 but this is an error-recovery.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|ice-on-valid-code           |error-recovery, ice-on-
                   |                            |invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-14 04:54:10
               date|                            |


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/13022] [3.4 Regression] GCJ crashes during compilation of included sample
  2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
                   ` (4 preceding siblings ...)
  2004-01-14  4:54 ` pinskia at gcc dot gnu dot org
@ 2004-01-15  1:48 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-01-15  1:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-01-15 01:48 -------
I can't reproduce this with

fleche. gcj --version
gcj (GCC) 3.4.0 20040113 (experimental)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-15  1:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 12:32 [Bug java/13022] New: Regression: GCJ crashes during compilation of included sample oyvind dot harboe at zylin dot com
2003-11-12 12:32 ` [Bug java/13022] " oyvind dot harboe at zylin dot com
2003-11-12 12:33 ` oyvind dot harboe at zylin dot com
2003-12-19 14:28 ` [Bug java/13022] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-31  3:24 ` rmerkert at alphatech dot com
2004-01-14  4:54 ` pinskia at gcc dot gnu dot org
2004-01-15  1:48 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).