public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/5152: Very recent Optimization bug (compiler segfault)
@ 2001-12-18  4:36 olivier
  0 siblings, 0 replies; only message in thread
From: olivier @ 2001-12-18  4:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5152
>Category:       java
>Synopsis:       Very recent Optimization bug (compiler segfault)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 18 04:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     olivier@zipworld.com.au
>Release:        gcc version 3.1 20011217 (experimental)
>Organization:
>Environment:
Reading specs from /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Reading specs from /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../../program/cvs/gcc/configure --prefix=/usr/local/gcc --enable-shared --enable-threads=posix --enable-languages=c++,java
Thread model: posix
>Description:
This is a modified extract from Rhino. It compiles without
optimization but segfault with -O2.

This code compiles fine with my previous compiler:
 gcc version 3.1 20011211 (experimental) so the bug appears
in between 11 and 17 of december.

tournesol:~/ws/gcj-bugs/test2$ gcj -O2 -o A.o -c A.java
A.java: In class `A':
A.java: In method `A.interpret(int)':
A.java:26: internal error: Segmentation fault
Please submit a full bug report,
>How-To-Repeat:
gcj -O2 -o A.o -c A.java
>Fix:
Unknown...
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="A.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="A.java"

cHVibGljIGNsYXNzIEEKewogICAgcHVibGljIHZvaWQgaW50ZXJwcmV0KGludCB2YWx1ZSkKICAg
IHsKICAgICAgICBib29sZWFuW10gc3RhY2sgPSBuZXcgYm9vbGVhblsxMF07CiAgICAgICAgaW50
IHN0YWNrVG9wID0gMTsKICAgICAgICBkb3VibGUgbERibCA9IDIuMDsKICAgICAgICBkb3VibGUg
ckRibCA9IDEuMDsgICAgICAgICAgICAgICAgCiAgICAgICAgYm9vbGVhbiB2YWxCbG47CgogICAg
ICAgIHdoaWxlIChzdGFja1RvcCA8IHZhbHVlKSB7CiAgICAgICAgICAgIHRyeSB7CiAgICAgICAg
ICAgICAgICBzd2l0Y2ggKHN0YWNrVG9wKSB7CiAgICAgICAgICAgICAgICBjYXNlIDE6CiAgICAg
ICAgICAgICAgICAgICAgdmFsQmxuID0gKGxEYmwgPT0gbERibCAmJiByRGJsIDw9IGxEYmwpOwog
ICAgICAgICAgICAgICAgICAgIHN0YWNrW3N0YWNrVG9wXSA9IHZhbEJsbiA/IHRydWUgOiBmYWxz
ZTsKICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgMjoKICAg
ICAgICAgICAgICAgICAgICB2YWxCbG4gPSAobERibCA9PSBsRGJsICYmIGxEYmwgPD0gckRibCk7
CiAgICAgICAgICAgICAgICAgICAgc3RhY2tbc3RhY2tUb3BdID0gdmFsQmxuID8gdHJ1ZSA6IGZh
bHNlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIGNhdGNoIChU
aHJvd2FibGUgZXgpIHsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQo=


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-18 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-18  4:36 java/5152: Very recent Optimization bug (compiler segfault) olivier

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).