Bug 92623 - FAIL: gcc.dg/Wstringop-overflow-17.c on ILP32: missing warning on line 8
Summary: FAIL: gcc.dg/Wstringop-overflow-17.c on ILP32: missing warning on line 8
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 10.0
: P3 normal
Target Milestone: 10.0
Assignee: Martin Sebor
URL:
Keywords: diagnostic
Depends on:
Blocks: Wstringop-overflow
  Show dependency treegraph
 
Reported: 2019-11-21 19:06 UTC by Martin Sebor
Modified: 2020-01-15 15:55 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2019-11-21 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Sebor 2019-11-21 19:06:11 UTC
When compiled with the -m32 option the test fails one assertion in
x86_64-linux builds:

FAIL: gcc.dg/Wstringop-overflow-17.c  (test for warnings, line 8)

Also seen on i586-unknown-freebsd11.3:
https://gcc.gnu.org/ml/gcc-testresults/2019-11/msg01258.html
and pru-unknown-elf:
https://gcc.gnu.org/ml/gcc-testresults/2019-11/msg01241.html
Comment 1 Martin Sebor 2020-01-15 15:55:35 UTC
g:8817bd75802d3ae47c54ec4fe99103308353d4ed was committed to avoid the same failures on x86_64 that had cropped up since this bug was had been raised and it seems to take care of the -m32 problem as well.  In my local builds on x86_64-linux the test passes both with and without -m32.