https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 55299, which changed state.
Bug 55299 Summary: missed optimization: ASR idiom https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55299 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED