[Bug c++/58705] [4.7/4.8/4.9 Regression] [c++11] ICE with invalid initializer for _Complex variable
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 24 13:54:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Oct 24 13:54:00 2013
New Revision: 204014
URL: http://gcc.gnu.org/viewcvs?rev=204014&root=gcc&view=rev
Log:
PR c++/58705
cp/
* typeck2.c (check_narrowing): Don't check narrowing when the scalar
initializer is empty.
testsuite/
* g++.dg/parse/pr58705.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/parse/pr58705.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list