From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CAB283851C0C; Fri, 22 May 2020 17:49:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAB283851C0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590169784; bh=ys+NtH0kxxqDkyXQ8Sf6IIeAHGjoAkueyXQ9x/jbGz4=; h=From:To:Subject:Date:From; b=obukM8mpLRDoJfCeZafLwuYMKkWB8Ntnuh7ZwYrdD2VjsQkaUisGFpOiFn6BhD7Fs 90op4AOEVyys/aocafAPwiraMsbPAWMWgkCWRhh9FauOuv3plpdZY0aKJmVG0Z1+RL Hth8CeEZdjTAnnc0VPtoFqAqn1byxDWaJFEANHWw= From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95276] New: Amusing stringpop-overflow message building libgfortran on power9 Date: Fri, 22 May 2020 17:49:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2020 17:49:44 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95276 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 =C2=BBwrite_z=C2=AB: ../../../trunk/libgfortran/io/write.c:1181:6: Warnung: Schreiben von 140735240075856 Byte in eine Region der Gr=C3=B6=C3=9Fe 1 [-Wstringop-overf= low=3D] 1181 | *q =3D '\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.=