comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: [ANN] GCC 14.2.0-3 (aarch64, macOS)
Date: Sun, 24 Nov 2024 11:17:07 +0000	[thread overview]
Message-ID: <lya5dohoek.fsf@pushface.org> (raw)
In-Reply-To: lqf9nqFu6lfU1@mid.individual.net

moi <findlaybill@blueyonder.co.uk> writes:

> On 22/11/2024 10:02, Björn Persson wrote:
>> Bill Findlay wrote:
>>> warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes
>>> into a region of size 0 [-Wstringop-overflow=]
>> I've seen many occurrences of that bogus warning in Fedora, so it's
>> not unique to Simon's build. Thus the place to report it would be
>> https://gcc.gnu.org/bugzilla/.
>> Björn Persson
>> 
> Do you get it only in 14.2.0-*, Björn?

It happens with gcc version 15.0.0 20241102 (experimental) :-(

And with an x86_64-apple-darwin GCC 4.2.0 build (on aarch64, under
Rosetta) I noticed

In function 'disassembly__data_access_name',
    inlined from 'disassembly__the_full_name_of' at /Users/simon/tmp/emulation/Source/disassembly.adb:483:44:
/Users/simon/tmp/emulation/Source/disassembly.adb:452:48: warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
  452 |       modifier  : constant String  := M_suffix & Q_suffix;
      |                                                ^
/Users/simon/tmp/emulation/Source/disassembly.adb:452:48: note: destination object 'S1471b.315' of size 0
  452 |       modifier  : constant String  := M_suffix & Q_suffix;
      |                                                ^
/Users/simon/tmp/emulation/Source/disassembly.adb:452:48: warning: '__builtin_memcpy' writing between 1 and 2147483647 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
  452 |       modifier  : constant String  := M_suffix & Q_suffix;
      |                                                ^
/Users/simon/tmp/emulation/Source/disassembly.adb:452:48: note: destination object 'S1471b.315' of size 0
  452 |       modifier  : constant String  := M_suffix & Q_suffix;
      |                                                ^

  reply	other threads:[~2024-11-24 11:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-17 14:41 [ANN] GCC 14.2.0-3 (aarch64, macOS) Simon Wright
2024-11-21 15:30 ` Bill Findlay
2024-11-21 15:45   ` moi
2024-11-21 20:40   ` Simon Wright
2024-11-22  1:18     ` moi
2024-11-22 10:02   ` Björn Persson
2024-11-24  0:19     ` moi
2024-11-24 11:17       ` Simon Wright [this message]
2024-11-26 15:48       ` Björn Persson
2024-11-29 19:08       ` Björn Persson
2024-11-29 20:52         ` Simon Wright
2024-11-29 21:21           ` Keith Thompson
2024-11-29 22:25             ` Simon Wright
2024-11-29 22:52             ` Björn Persson
2024-11-30 21:15             ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox