https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88901
Bug ID: 88901 Summary: [9.0 Regression] ICE when using -fsanitize=pointer-compare Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dominik.stras...@onespin-solutions.com Target Milestone: --- Created attachment 45454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45454&action=edit Source code triggering the crash The attached sourced code yields a t.C:4:50: internal compiler error: tree check: did not expect class 'type', have 'type' (template_type_parm) in contains_placeholder_p, at tree.c:3795 when "-fsanitize=address -fsanitize=pointer-compare" is used. gcc 8.2 works fine. g++ -c -fsanitize=address -fsanitize=pointer-compare t.C This is g++ from git 2019/01/17