RFR(XS): 8133625: src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type
zoltan.majo at oracle.com
Tue Aug 18 17:02:08 UTC 2015
please review the following patch for JDK-8133625.
Problem: On certain platforms (e.g., x86_32) and with certain GCC
versions (e.g., GCC-4.4), the following compilation error appears:
hotspot/src/share/vm/opto/compile.hpp:96: error: integer constant is too
large for ‘long’ type
Solution: Fold the constant on line 96 of compile.hpp into CONST64() (as
suggested in bug description). Also slightly changed the comments for
- JPRT run with testset hotspot; all tests pass;
- build locally with GCC-4.4 (fails without patch, passes with patch).
Thank you and best regards,
More information about the hotspot-compiler-dev