[Bug fortran/68950] [fortran] gfc_format_decoder cannot handle %qE

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 4 10:12:00 GMT 2020


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

--- Comment #14 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #13)
> 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.

Ack, thanks for following up :)


More information about the Gcc-bugs mailing list