[Bug c++/80984] [5 Regression] ICE with label/variable ambiguity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80984 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #9 from Jakub Jelinek --- Fixed.
[Bug c++/80984] [5 Regression] ICE with label/variable ambiguity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80984 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Sat Sep 16 18:33:01 2017 New Revision: 252879 URL: https://gcc.gnu.org/viewcvs?rev=252879=gcc=rev Log: Backported from mainline 2017-06-13 Jakub JelinekPR c++/80984 * cp-gimplify.c (cp_genericize): Only look for VAR_DECLs in BLOCK_VARS (outer) chain. (cxx_omp_const_qual_no_mutable): Likewise. * g++.dg/opt/nrv18.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/nrv18.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-gimplify.c branches/gcc-5-branch/gcc/testsuite/ChangeLog
[Bug c++/80984] [5 Regression] ICE with label/variable ambiguity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80984 Jakub Jelinek changed: What|Removed |Added Summary|[5/6 Regression] ICE with |[5 Regression] ICE with |label/variable ambiguity|label/variable ambiguity --- Comment #7 from Jakub Jelinek --- Fixed for 6.4+ too.