public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34304]  New: OpenJDK7 b23 is miscompiled with -O3 on amd64
@ 2007-11-30 19:41 doko at ubuntu dot com
  2007-11-30 20:15 ` [Bug target/34304] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: doko at ubuntu dot com @ 2007-11-30 19:41 UTC (permalink / raw)
  To: gcc-bugs

This report is incomplete

When building with GCC 4.2 from the 4.2 branch, all the demos in demos/jfc and
the gcjwebplugin crash. Lowering the optimization for the jdk to -O2 results in
working demos and plugin. The build with GCC 4.1 does fail for me on amd64, GCC
4.3 from trunk works fine with -O2 and -O3.

thread on OpenJDK:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2007-November/000685.html


-- 
           Summary: OpenJDK7 b23 is miscompiled with -O3 on amd64
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com
GCC target triplet: x86_64-linux-gnu


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


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

* [Bug target/34304] OpenJDK7 b23 is miscompiled with -O3 on amd64
  2007-11-30 19:41 [Bug target/34304] New: OpenJDK7 b23 is miscompiled with -O3 on amd64 doko at ubuntu dot com
@ 2007-11-30 20:15 ` pinskia at gcc dot gnu dot org
  2007-12-03 15:56 ` doko at ubuntu dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-30 20:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-11-30 20:15 -------
Does -O2 -fno-strict-aliasing work?


-- 


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


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

* [Bug target/34304] OpenJDK7 b23 is miscompiled with -O3 on amd64
  2007-11-30 19:41 [Bug target/34304] New: OpenJDK7 b23 is miscompiled with -O3 on amd64 doko at ubuntu dot com
  2007-11-30 20:15 ` [Bug target/34304] " pinskia at gcc dot gnu dot org
@ 2007-12-03 15:56 ` doko at ubuntu dot com
  2007-12-08 22:29 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: doko at ubuntu dot com @ 2007-12-03 15:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from doko at ubuntu dot com  2007-12-03 15:56 -------
sorry, I was unclear: I changed it from "-O3 -fno-strict-aliasing" to "-O2
-fno-strict-aliasing"; didn't try -O2 alone.


-- 


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


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

* [Bug target/34304] OpenJDK7 b23 is miscompiled with -O3 on amd64
  2007-11-30 19:41 [Bug target/34304] New: OpenJDK7 b23 is miscompiled with -O3 on amd64 doko at ubuntu dot com
  2007-11-30 20:15 ` [Bug target/34304] " pinskia at gcc dot gnu dot org
  2007-12-03 15:56 ` doko at ubuntu dot com
@ 2007-12-08 22:29 ` pinskia at gcc dot gnu dot org
  2008-01-25 22:59 ` rguenth at gcc dot gnu dot org
  2008-10-12  9:05 ` doko at ubuntu dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-08 22:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-12-08 22:29 -------
We really need a self contained testcase to reproduce this.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/34304] OpenJDK7 b23 is miscompiled with -O3 on amd64
  2007-11-30 19:41 [Bug target/34304] New: OpenJDK7 b23 is miscompiled with -O3 on amd64 doko at ubuntu dot com
                   ` (2 preceding siblings ...)
  2007-12-08 22:29 ` pinskia at gcc dot gnu dot org
@ 2008-01-25 22:59 ` rguenth at gcc dot gnu dot org
  2008-10-12  9:05 ` doko at ubuntu dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-25 22:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-01-25 22:49 -------
Can you try again with the release candidate for 4.2.3 once that is released?


-- 


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


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

* [Bug target/34304] OpenJDK7 b23 is miscompiled with -O3 on amd64
  2007-11-30 19:41 [Bug target/34304] New: OpenJDK7 b23 is miscompiled with -O3 on amd64 doko at ubuntu dot com
                   ` (3 preceding siblings ...)
  2008-01-25 22:59 ` rguenth at gcc dot gnu dot org
@ 2008-10-12  9:05 ` doko at ubuntu dot com
  4 siblings, 0 replies; 6+ messages in thread
From: doko at ubuntu dot com @ 2008-10-12  9:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from doko at ubuntu dot com  2008-10-12 09:04 -------
closing. works for me with current 4.3.2


-- 

doko at ubuntu dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2008-10-12  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-30 19:41 [Bug target/34304] New: OpenJDK7 b23 is miscompiled with -O3 on amd64 doko at ubuntu dot com
2007-11-30 20:15 ` [Bug target/34304] " pinskia at gcc dot gnu dot org
2007-12-03 15:56 ` doko at ubuntu dot com
2007-12-08 22:29 ` pinskia at gcc dot gnu dot org
2008-01-25 22:59 ` rguenth at gcc dot gnu dot org
2008-10-12  9:05 ` doko at ubuntu dot com

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