re PR c++/46336 ([C++0X] ICE on invalid: in register_constexpr_fundef, at cp/semantic...
authorJason Merrill <jason@redhat.com>
Thu, 17 Mar 2011 02:36:12 +0000 (22:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Mar 2011 02:36:12 +0000 (22:36 -0400)
commit9f2a22d0b89e8e4208e84aaeab23f563c085c6c8
treedc1db96edce1ece695de9de85fd30dcca9324049
parent3f7c74538130857eec303f1470673199ee7142d0
re PR c++/46336 ([C++0X] ICE on invalid: in register_constexpr_fundef, at cp/semantics.c:5571)

PR c++/46336
* decl.c (duplicate_decls): Return NULL_TREE for clashing
C functions.

From-SVN: r171084
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-46336.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/friend5.C