https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
--- Comment #21 from rguenther at suse dot de <rguenther at suse dot de> --- On March 11, 2017 12:39:38 AM GMT+01:00, "tkoenig at gcc dot gnu.org" <gcc-bugzi...@gcc.gnu.org> wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956 > >--- Comment #17 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- >On the one hand, I would like to see that libgfortran can be >compiled on any platform. > >On the other hand, the options that I currently see (such as making >the for loop into a do/while loop, pre-initializing the >sstride0 variable etc) make the code less clear, which I would >like to avoid. > >What I don't understand is why this warning only happens on >a specific platform. > >What are the chances of getting the underlying bug in gcc fixed in >a timely fashion? The 'bug' is missed optimizations. Changing libgfortran makes it possible to do optimizations consistently, both improving code generation and avoiding the false positive warning. Richard.