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++/22434] [3.4/4.0/4.1 regression] ICE in simplify_{,gen_}subreg


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22434

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri May  9 18:15:46 2014
New Revision: 210281

URL: http://gcc.gnu.org/viewcvs?rev=210281&root=gcc&view=rev
Log:
    PR c++/22434
    * call.c (build_conditional_expr_1): Don't try to pool cv-quals
    if we didn't find a conversion.
    Don't accept a bad conversion too early.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/g++.dg/expr/cond8.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/conversion10.C


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