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++/46336] [C++0X] ICE on invalid: in register_constexpr_fundef, at cp/semantics.c:5571


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-17 02:36:15 UTC ---
Author: jason
Date: Thu Mar 17 02:36:12 2011
New Revision: 171084

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171084
Log:
    PR c++/46336
    * decl.c (duplicate_decls): Return NULL_TREE for clashing
    C functions.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-46336.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/friend5.C


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