This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36244] -ftree-parallelize-loops=4, vectorizer enabled, ICE
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2008 10:32:16 -0000
- Subject: [Bug middle-end/36244] -ftree-parallelize-loops=4, vectorizer enabled, ICE
- References: <bug-36244-11721@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-05-15 10:32 -------
Pragmatic fix:
Index: tree-ssa-alias.c
===================================================================
--- tree-ssa-alias.c (revision 135330)
+++ tree-ssa-alias.c (working copy)
@@ -3672,7 +3672,8 @@ new_type_alias (tree ptr, tree var, tree
}
set_symbol_mem_tag (ptr, ali);
- TREE_READONLY (tag) = TREE_READONLY (var);
+ /* We cannot set TREE_READONLY on the new tag as this conflicts with
+ propagating call clobbered info. */
MTAG_GLOBAL (tag) = is_global_var (var);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36244