re PR c++/65054 (internal compiler error: in maybe_constant_value, at cp/constexpr...
authorJason Merrill <jason@redhat.com>
Fri, 13 Feb 2015 22:07:30 +0000 (17:07 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 Feb 2015 22:07:30 +0000 (17:07 -0500)
commitef796bef889d8a1590430a9da06c40ec4977d79e
treea3d3d0ff70776f75d1e90655b7d95c53b16ab059
parent8f895cf1ac7babe0c89533e8e9e6b6ca6bb33950
re PR c++/65054 (internal compiler error: in maybe_constant_value, at cp/constexpr.c:3646)

PR c++/65054
* pt.c (template_args_equal): Look through conversions here.
* tree.c (cp_tree_equal): Not here.

From-SVN: r220697
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/expr/ptr-arith1.C [new file with mode: 0644]