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

PPC64: gcc 4.8 warning in output_c.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic

      Backports

        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, "");

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                goetz Goetz Lindenmaier
                Reporter:
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: