https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69804
Bug ID: 69804 Summary: [5/6] ICE with -fsanitize=undefined -fcheck-pointer-bounds -mmpx Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with both the gcc-5-branch and trunk: $ cat foo.cc int * a; void f() { *a = 1; } $ g++ -fsanitize=undefined -fcheck-pointer-bounds -mmpx -c foo.cc foo.cc:2:20: internal compiler error: Segmentation fault void f() { *a = 1; } ^ 0xad34ff crash_signal ../../src/gcc/toplev.c:335 0xb54088 chkp_walk_pointer_assignments ../../src/gcc/tree-chkp.c:3725 0xb55bdf chkp_finish_file() ../../src/gcc/tree-chkp.c:3835 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.