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++/47476] [4.6 Regression] [C++0x] ICE in potential_constant_expression_1


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-26 21:20:43 UTC ---
Author: jakub
Date: Wed Jan 26 21:20:40 2011
New Revision: 169306

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169306
Log:
    PR c++/47476
    * semantics.c (potential_constant_expression_1): Handle
    TRUTH_XOR_EXPR.

    * g++.dg/cpp0x/pr47476.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr47476.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.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]