Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6988303

6986046 breaks build with recent gcc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs20
    • hs20
    • hotspot
    • None
    • b02
    • generic
    • generic
    • Not verified

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

              roland Roland Westrelin
              roland Roland Westrelin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: