https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65004
Bug ID: 65004 Summary: Compare debug failure with -fno-sanitize-recover -fsanitize=address -fsanitize=undefined Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org 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 Created attachment 34714 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34714&action=edit test.ii (compile with: g++ -fcompare-debug -O1 -fsanitize=address -fno-sanitize-recover -fsanitize=undefined) The attached program fails with g++: error: test.ii: -fcompare-debug failure when compiled with g++ -fcompare-debug -O1 -fsanitize=address -fno-sanitize-recover -fsanitize=undefined test.ii