Sujet : Re: [ANN] GCC 14.2.0-3 (aarch64, macOS)
De : simon (at) *nospam* pushface.org (Simon Wright)
Groupes : comp.lang.adaDate : 24. Nov 2024, 12:17:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <lya5dohoek.fsf@pushface.org>
References : 1 2 3 4
User-Agent : Gnus/5.13 (Gnus v5.13)
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;
| ^