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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to seurer from comment #2)
> I am not sure.  This only happens for 32 bit runs on power.  64 bit ones
> work fine.

You mean something like -m32 with powerpc64-linux-gnu?

I'll dump my observations for cris-elf (a "32-bit target") hoping it'll help:
At r13-1268-g8c99e307b20c50:

Running TOPLEVEL/gcc/testsuite/g++.dg/dg.exp ...
...
FAIL: g++.dg/warn/Wstringop-overflow-4.C  -std=gnu++98 (test for excess errors)
...

At r13-1333-g74956337e827, (long) after r13-1271-g80ace9185dc534
al...@redhat.com "XFAIL a test in g++.dg/warn/Wstringop-overflow-4.C":

Running TOPLEVEL/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/warn/Wstringop-overflow-4.C  -std=gnu++98 (test for excess errors)
XPASS: g++.dg/warn/Wstringop-overflow-4.C  -std=gnu++14  (test for bogus
messages, line 198)
XPASS: g++.dg/warn/Wstringop-overflow-4.C  -std=gnu++17  (test for bogus
messages, line 198)
XPASS: g++.dg/warn/Wstringop-overflow-4.C  -std=gnu++20  (test for bogus
messages, line 198)

g++.log at that latter commit:
FAIL: g++.dg/warn/Wstringop-overflow-4.C  -std=gnu++98 (test for excess errors)
Excess errors:
TOPLEVEL/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:144:3: warning:
'void* __builtin_memcpy(void*, const void*, long unsigned int)' writing 3 bytes
into a region of size 0 [-Wstringop-overflow=]

Reply via email to