]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
52672
authorJason Merrill <jason@gcc.gnu.org>
Tue, 3 Apr 2012 22:50:13 +0000 (18:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Apr 2012 22:50:13 +0000 (18:50 -0400)
From-SVN: r186119

gcc/cp/semantics.c

index cf4f5c883903722bbeee4a319519812cd284ab4f..d979f19e4681ce8cf0cd7246c425a719bccf57df 100644 (file)
@@ -6763,7 +6763,6 @@ cxx_eval_indirect_ref (const constexpr_call *call, tree t,
 
   STRIP_NOPS (sub);
   subtype = TREE_TYPE (sub);
-  gcc_assert (POINTER_TYPE_P (subtype));
 
   if (TREE_CODE (sub) == ADDR_EXPR)
     {