JDK-6988303 : 6986046 breaks build with recent gcc
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-09-29
  • Updated: 2011-04-23
  • Resolved: 2011-04-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u25Fixed 7Fixed hs20Fixed
Related Reports
Relates :  
Description
src/share/vm/c1/c1_Instruction.hpp:
 
-  Instruction(ValueType* type, bool type_is_constant = false, bool create_hi = true)
-  : _bci(-99)
-  , _use_count(0)
+  Instruction(ValueType* type, ValueStack* state_before = NULL, bool type_is_constant = false, bool create_hi = true)
+  : _use_count(0)
 
breaks:
 
1965 LEAF(OsrEntry, Instruction)
1966  public:
1967   // creation
1968 #ifdef _LP64
1969   OsrEntry() : Instruction(longType, false) { pin(); }
1970 #else
1971   OsrEntry() : Instruction(intType,  false) { pin(); }
1972 #endif
 
and:
 
1983   ExceptionObject() : Instruction(objectType, false) {
 
Unfortunately only a very new GCC (gcc version 4.5.1 (Ubuntu
4.4.1-4ubuntu9)) complains about the error:
 
src/share/vm/c1/c1_Instruction.hpp: In constructor ���OsrEntry::OsrEntry()���:
src/share/vm/c1/c1_Instruction.hpp:1971:43: error: converting ���false��� to pointer type for argument 2 of ���Instruction::Instruction(ValueType*, ValueStack*, bool, bool)���

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/ad0638ff8ea4
09-10-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ad0638ff8ea4
29-09-2010

EVALUATION see description
29-09-2010