https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83392
Bug ID: 83392 Summary: FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c scan-tree-dump-times Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- The testcase fails on i686 (32-bit target) with: FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c -O0 scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 times) FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c -O1 scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 times) FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c -O2 scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 times) FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c -O3 -g scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 times) FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c -Os scan-tree-dump-times optimized "__ubsan_handle_pointer_overflow" 17 (found 14 times) Please also note that the testcase specifies "-O" in the dg-options, but the testsuite itself cycles through the -O? options.