JDK-8033168 : PPC64: gcc 4.8 warning in output_c.cpp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-01-29
  • Updated: 2016-10-24
  • Resolved: 2014-01-30
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 8 JDK 9 Other
8u20Fixed 9 b04Fixed openjdk7uFixed
Description
src/share/vm/adlc/output_c.cpp: In member function ���void ArchDesc::define_postalloc_expand(FILE*, InstructForm&)���:
src/share/vm/adlc/output_c.cpp:2537:57: error: zero-length gnu_printf format string [-Werror=format-zero-length]
   char idxbuf[buflen]; char *ib = idxbuf; sprintf(ib, "");
                                                         ^
src/share/vm/adlc/output_c.cpp:2538:57: error: zero-length gnu_printf format string [-Werror=format-zero-length]
   char nbuf  [buflen]; char *nb = nbuf;   sprintf(nb, "");
                                                         ^
src/share/vm/adlc/output_c.cpp:2539:57: error: zero-length gnu_printf format string [-Werror=format-zero-length]
   char opbuf [buflen]; char *ob = opbuf;  sprintf(ob, "");