This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/22533] [4.1 regression] ICE in get_base_var
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2005 19:29:29 -0000
- Subject: [Bug ada/22533] [4.1 regression] ICE in get_base_var
- References: <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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