https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84080
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-29 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org, | |nathan at gcc dot gnu.org Target Milestone|--- |6.5 Summary|the compiler crashes when |[6/7/8 Regression] the |compiling the following |compiler crashes when |sample file |compiling the following | |sample file Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Seems to ICE starting with r185768 when return type deduction has been added for -std=c++1y. The ICE in cgraph code, where we rely on being able to compute DECL_ASSEMBLER_NAME, but the mangling code refuses to give that, as it consider it dependent. Even the full name: "T foo() [with cc n = (cc)0; T = auto]" suggests that after deducing the return type we haven't updated the template parameter to what we've really deduced.