[Bug sanitizer/84043] New: -fsanitize=alignment leads to massive compile time

sduvan.gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 25 20:25:00 GMT 2018


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

            Bug ID: 84043
           Summary: -fsanitize=alignment leads to massive compile time
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sduvan.gcc 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: ---

Created attachment 43244
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43244&action=edit
Testcase

The tiny attached program, bug.C, leads to compile times that seem to be
exponential in the number of operator<<():s used.

I'm aware of bug 69656 but it was not clear to me that this was related to the
same underlying issue and also my testcase seems significantly smaller.


More information about the Gcc-bugs mailing list