https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276

            Bug ID: 95276
           Summary: Amusing stringpop-overflow message building
                    libgfortran on power9
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

Just noted this building libgfortran on powerpc64le-unknown-linux-gnu:

../../../trunk/libgfortran/io/write.c: In Funktion »write_z«:
../../../trunk/libgfortran/io/write.c:1181:6: Warnung: Schreiben von
140735240075856 Byte in eine Region der Größe 1 [-Wstringop-overflow=]
 1181 |   *q = '\0';
      |   ~~~^~~~~~

I never thought a single byte could be _that_ big.

The hex number is 0x7fff79fdfa50, which I don't recognize.

This is with trunk dc50686d78d4679b727548c3edc1cb6b0d3b658e.

Reply via email to