[Bug ada/22533] [4.1 regression] ICE in get_base_var
------- Comment #23 from laurent at guerby dot net 2005-11-04 19:29 -------
Add mips and mips64, for reference, workaround patch from Andreas Schwab here:
http://gcc.gnu.org/ml/gcc/2005-11/msg00239.html
Index: ipa-utils.c
===================================================================
--- ipa-utils.c (revision 106486)
+++ ipa-utils.c (working copy)
@@ -217,6 +217,7 @@ get_base_var (tree t)
while (!SSA_VAR_P (t)
&& (!CONSTANT_CLASS_P (t))
+ && TREE_CODE (t) != CONSTRUCTOR
&& TREE_CODE (t) != LABEL_DECL
&& TREE_CODE (t) != FUNCTION_DECL
&& TREE_CODE (t) != CONST_DECL)
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|powerpc-*-*,s390-*-* |powerpc-*-*,s390-*-*, mips-
| |*-*, mips64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22533
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: