public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/36917]  New: [4.3 regression] miscompilation with -O2 and r136501
@ 2008-07-24  9:05 doko at ubuntu dot com
  2008-07-24  9:05 ` [Bug tree-optimization/36917] " doko at ubuntu dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: doko at ubuntu dot com @ 2008-07-24  9:05 UTC (permalink / raw)
  To: gcc-bugs

OpenJDK (using the IcedTea6 build and patches) fails to build with 4.3 from the
4.3 branch, when the jvm built in stage1 is used for the first time in the
stage2 build:

-def-pcompile:
    [javac] Compiling 2 source files to
/scratch/packages/openjdk/x/openjdk-6-6b11/openjdk/control/build/linux-i586/langtools/build/toolclasses
WARNING: Default charset US-ASCII not supported, using ISO-8859-1 instead
    [javac]
/scratch/packages/openjdk/x/openjdk-6-6b11/openjdk/langtools/make/tools/CompileProperties/CompileProperties.java:26:
cannot access unnamed package
    [javac] ANSI_X3.4-1968
    [javac] import java.io.BufferedWriter;
    [javac] ^

BUILD FAILED

the build failure is not seen when reverting r136501; seen as well when just
reverting the two hunks for record_numbers_of_iterations.

seen with -O3 and -O2, not -O1.

not seen on amd64 and sparc (the other two archs using OpenJDK hotspot).

the miscompiled file is ciTypeFlow.cpp, compiled using
g++-4.3 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -g -m32
-march=i586 -mtune=generic -O2 -fno-strict-aliasing -DVM_LITTLE_ENDIAN 
-Wpointer-arith -Wconversion -Wsign-compare -c ciTypeFlow.cpp


-- 
           Summary: [4.3 regression] miscompilation with -O2 and r136501
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com
GCC target triplet: i486-linux-gnu


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


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

end of thread, other threads:[~2008-07-25 13:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-24  9:05 [Bug tree-optimization/36917] New: [4.3 regression] miscompilation with -O2 and r136501 doko at ubuntu dot com
2008-07-24  9:05 ` [Bug tree-optimization/36917] " doko at ubuntu dot com
2008-07-24  9:06 ` doko at ubuntu dot com
2008-07-24  9:07 ` doko at ubuntu dot com
2008-07-24  9:07 ` doko at ubuntu dot com
2008-07-24  9:16 ` doko at ubuntu dot com
2008-07-24  9:28 ` pinskia at gcc dot gnu dot org
2008-07-24  9:32 ` rguenth at gcc dot gnu dot org
2008-07-24  9:32 ` doko at ubuntu dot com
2008-07-24  9:52 ` rguenth at gcc dot gnu dot org
2008-07-25 12:14 ` rguenth at gcc dot gnu dot org
2008-07-25 13:55 ` 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).