------- Comment #6 from ubizjak at gmail dot com 2008-12-29 20:57 -------
(In reply to comment #2)
> It is *not* represented as an array on Alpha.
But as a RECORD_TYPE. Following patch cures the warning:
Index: cp/tree.c
===================================================================
--- cp/tree.c (revision 142948)
+++ cp/tree.c (working copy)
@@ -2113,6 +2113,9 @@ pod_type_p (const_tree t)
argument unmodified and we assign it to a const_tree. */
t = strip_array_types (CONST_CAST_TREE(t));
+ if (TREE_CODE (t) == RECORD_TYPE)
+ return 1;
+
if (t == error_mark_node)
return 1;
if (INTEGRAL_TYPE_P (t))
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31488