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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |burnus at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #13 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I believe this has been fixed properly by the patch for PR fortran/79886 in
r246203 by adding the following to gcc/fortran/error.c's gfc_format_decoder:

     default:
-      return false;
+      /* Fall through info the middle-end decoder, as e.g. stor-layout.c
+        etc. diagnostics can use the FE printer while the FE is still
+        active.  */
+      return default_tree_printer (pp, text, spec, precision, wide,
+                                  set_locus, hash);

HENCE: Closed as FIXED.

@Tom: Sorry for now following up to your RFC patch of 2015 and two-follow-up
pings in 2016 and 2018. — I strongly believe the mentioned patch by Jakub fixes
the issue properly; if you disagree, feel free to reopen this PR.

Reply via email to