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.