[Bug tree-optimization/39052] writing arrays twice not optimized

2023-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39052 --- Comment #3 from Andrew Pinski --- even for: void foo(char *a, int n) { int i; for (i=0; i

[Bug tree-optimization/39052] writing arrays twice not optimized

2009-02-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2009-02-01 15:53 --- (In reply to comment #1) > I don't think trying to solve this particular case is useful. In order to extend the -finit- - options for gfortran to allocatable arrays, I was thinking of adding an assignment statement

[Bug tree-optimization/39052] writing arrays twice not optimized

2009-02-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-02-01 11:02 --- Loop fusion by GRAPHITE may be able to do this in the future (as a side-effect). I don't think trying to solve this particular case is useful. -- rguenth at gcc dot gnu dot org changed: What|Remov