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

src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b81

        In file included from /opt/jprt/jprtadm/erik/s/hotspot/src/share/vm/opto/node.hpp:29,
                         from /opt/jprt/jprtadm/erik/s/hotspot/src/share/vm/opto/connode.hpp:28,
                         from /opt/jprt/jprtadm/erik/s/hotspot/src/share/vm/opto/callnode.hpp:28,
                         from /opt/jprt/jprtadm/erik/s/hotspot/src/share/vm/opto/machnode.hpp:28,
                         from ../generated/adfiles/ad_x86_32.hpp:33,
                         from ../generated/adfiles/ad_x86_32.cpp:29:
        /opt/jprt/jprtadm/erik/s/hotspot/src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type

        Offending code:

          void set_idx(node_idx_t idx) {
            _idx_clone_orig = _idx_clone_orig & 0xFFFFFFFF00000000 | idx;
          }

        This doesn't occur with all gcc versions (not sure why not ??) but should be fixed.

              zmajo Zoltan Majo (Inactive)
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: