[Bug fortran/85531] Implement some loop fusion in the Fortran front end

2018-04-26 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 --- Comment #5 from rguenther at suse dot de --- On April 26, 2018 6:09:40 PM GMT+02:00, "tkoenig at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 > >--- Comment #4 from Thomas Koenig --- >What is the best strategy

[Bug fortran/85531] Implement some loop fusion in the Fortran front end

2018-04-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 --- Comment #4 from Thomas Koenig --- What is the best strategy on this? I assume the Fortran front end could do a dependency analysis, the existing code could be extended for this. We could then either do the scalarization in the front end, or

[Bug fortran/85531] Implement some loop fusion in the Fortran front end

2018-04-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug fortran/85531] Implement some loop fusion in the Fortran front end

2018-04-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531 --- Comment #1 from Richard Biener --- Can you provide a testcase that can be compiled? --- Comment #2 from Thomas Koenig --- Here it is. The internal writes are there just to confuse the optimizer. module x implicit none contains subrouti