re PR c++/58705 ([c++11] ICE with invalid initializer for _Complex variable)
commit320a9762ee8a82e96c00da7a566df288e4c93266
authorMarek Polacek <polacek@redhat.com>
Thu, 24 Oct 2013 13:54:00 +0000 (24 13:54 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 24 Oct 2013 13:54:00 +0000 (24 13:54 +0000)
tree0b6cebfe9184440bc619b2aa6dee15191fab3750
parent8e701300d2f20af156f42965df7a2690b5049486
re PR c++/58705 ([c++11] ICE with invalid initializer for _Complex variable)

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.

From-SVN: r204014
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pr58705.C [new file with mode: 0644]