This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49628] [4.7 Regression] 447.dealII in SPEC CPU 2006 failed to build
- From: "irar at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 5 Jul 2011 08:18:42 +0000
- Subject: [Bug middle-end/49628] [4.7 Regression] 447.dealII in SPEC CPU 2006 failed to build
- Auto-submitted: auto-generated
- References: <bug-49628-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49628
--- Comment #6 from Ira Rosen <irar at il dot ibm.com> 2011-07-05 08:18:09 UTC ---
Sorry, I was wrong about group size check. It is ok without your patch. So,
this should be enough:
Index: tree-vect-data-refs.c
===================================================================
--- tree-vect-data-refs.c (revision 175785)
+++ tree-vect-data-refs.c (working copy)
@@ -2304,7 +2304,10 @@ vect_analyze_data_ref_access (struct dat
/* Allow invariant loads in loops. */
if (loop_vinfo && dr_step == 0)
- return DR_IS_READ (dr);
+ {
+ GROUP_FIRST_ELEMENT (vinfo_for_stmt (stmt)) = NULL;
+ return DR_IS_READ (dr);
+ }
if (loop && nested_in_vect_loop_p (loop, stmt))
{
Thanks,
Ira