https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69985
Bug ID: 69985 Summary: [6 Regression] ICE: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- This is a strange ICE. trippels@gcc2-power8 foo % ~/gcc_test/usr/local/bin/gcc -w -c -Wall cmds-check.i cmds-check.c: In function ‘check_chunk_refs’: cmds-check.c:7849:6: internal compiler error: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924 block_group_rec->flags); ^~~~~~~~~~~~~~~ 0x110c5cb3 linemap_position_for_loc_and_offset(line_maps*, unsigned int, unsigned int) ../../gcc/libcpp/line-map.c:924 If I move the cmds-check.i file to a different directory gcc no longer ICEs, so reducing is impossible. Also seen on OpenSUSE's: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc6/btrfsprogs/standard/ppc64le