re PR c++/65509 ([C++11] GCC rejects operator== with two distinct pointers as not...
authorJason Merrill <jason@redhat.com>
Fri, 27 Mar 2015 16:36:32 +0000 (12:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 27 Mar 2015 16:36:32 +0000 (12:36 -0400)
commit0b7dccc63e31d11c2f129e569d06cef8c33d2921
tree385edb202ce1e94c15a26c56e3122ef1bd64aef3
parent6e85fbaadd3fdbc8127ec13b64fa70e59aef7665
re PR c++/65509 ([C++11] GCC rejects operator== with two distinct pointers as not constexpr)

PR c++/65509
* decl.c (make_rtl_for_nonlocal_decl): Don't defer static
constants.

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