[Bug sanitizer/65610] New: Compare debug failure with -g3 -fsanitize=undefined -fno-sanitize=vptr -O3

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 27 18:13:00 GMT 2015


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

            Bug ID: 65610
           Summary: Compare debug failure with -g3 -fsanitize=undefined
                    -fno-sanitize=vptr -O3
           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 35166
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35166&action=edit
input.ii - compile with g++ -fcompare-debug -std=c++11 -g3 -fsanitize=undefined
-fno-sanitize=vptr -O3

I get a
  -fcompare-debug failure (length)
failure for the attached program.

To reproduce:

$ g++ -fcompare-debug -std=c++11 -g3 -fsanitize=undefined -fno-sanitize=vptr
-O3 input.ii



More information about the Gcc-bugs mailing list