This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/49628] [4.7 Regression] 447.dealII in SPEC CPU 2006 failed to build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]