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