https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83612
Bug ID: 83612 Summary: FAIL: gcc.dg/ubsan/object-size-9.c -O2 output pattern test Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- For x86_64 -m32 I observed: ... PASS: gcc.dg/ubsan/object-size-9.c -O2 (test for excess errors) PASS: gcc.dg/ubsan/object-size-9.c -O2 execution test FAIL: gcc.dg/ubsan/object-size-9.c -O2 output pattern test, is gcc.dg/ubsan/object-size-9.c:11:13: runtime error: load of address 0x000000600ff2 with insufficient space for an object of type 'char' PASS: gcc.dg/ubsan/object-size-9.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) PASS: gcc.dg/ubsan/object-size-9.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test FAIL: gcc.dg/ubsan/object-size-9.c -O2 -flto -fno-use-linker-plugin -flto-partition=none output pattern test, is gcc.dg/ubsan/object-size-9.c:11:13: runtime error: load of address 0x000000600ff2 with insufficient space for an object of type 'char' PASS: gcc.dg/ubsan/object-size-9.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) PASS: gcc.dg/ubsan/object-size-9.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test PASS: gcc.dg/ubsan/object-size-9.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects output pattern test, load of address [^ UNSUPPORTED: gcc.dg/ubsan/object-size-9.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions UNSUPPORTED: gcc.dg/ubsan/object-size-9.c -O3 -g UNSUPPORTED: gcc.dg/ubsan/object-size-9.c -Os ...