https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69817
Bug ID: 69817 Summary: [REGRESSION] ICE in assign_temp at function.c:691 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: compnerd at compnerd dot org Target Milestone: --- Created attachment 37687 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37687&action=edit fix_locked_dependencies.ii Attached is a preprocessed (mostly minimised) test case. It is getting pretty hard to reduce this further to analyze what is actually going on. $ x86_64-pc-linux-gnu-g++ -v gcc version 6.0.0 20160207 (experimental) (GCC) $ x86_64-pc-linux-gnu-g++ -std=c++11 -c fix_locked_dependencies.ii -o /dev/null asserts in function.c:691 I can provide the unadulterated preprocessed output if desired as some of my transformations may have altered the original program's validity. This seems to work fine with gcc 5.1.