[Bug tree-optimization/101009] [12 Regression] wrong code with "-O3 -fno-tree-sra"

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 10 09:40:30 GMT 2021


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
  (overlap_iterations_a = [0])
  (overlap_iterations_b = [0]))
(build_classic_dist_vector
  dist_vector = (  1
  )
)
)
(compute_affine_dependence
  stmt_a: g[1].c = 1;
  stmt_b: *f.0_1 = g[1];
) -> no dependence

Hmm, we shouldn't be able to use affine dependence checking here since
g[1].c has an additional subsetting.  Or maybe the code to handle this
case has a bug at least.


More information about the Gcc-bugs mailing list