http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.7.2 --- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-17 16:41:49 UTC --- Author: jason Date: Mon Sep 17 16:41:41 2012 New Revision: 191398 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191398 Log: PR c++/53661 * typeck2.c (check_narrowing): Avoid false positives on conversion from enumeral type. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/init/aggr9.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/typeck2.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog --- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-17 16:42:44 UTC --- Fixed for 4.7.2.