This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58705] [4.7/4.8/4.9 Regression] [c++11] ICE with invalid initializer for _Complex variable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]