[Bug tree-optimization/69110] [4.9/5/6 Regression] execution failure in gcc.c-torture/execute/doloop-{1,2}.c with -ftree-parallelize-loops=2

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 12 00:42:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69110

--- Comment #13 from vries at gcc dot gnu.org ---
In 4.6, parloops failed to parallelize because in find_data_references_in_stmt
we had:
...
      /* FIXME -- data dependence analysis does not work correctly for objects
         with invariant addresses in loop nests.  Let us fail here until the
         problem is fixed.  */
      if (dr_address_invariant_p (dr) && nest)
        {
          free_data_ref (dr);
          if (dump_file && (dump_flags & TDF_DETAILS))
            fprintf (dump_file, "\tFAILED as dr address is invariant\n");
          ret = false;
          break;
        }
...

That FIXME was removed in the fix for PR46787, at r175704.


More information about the Gcc-bugs mailing list