http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53934
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-09 09:15:10 UTC --- (In reply to comment #0) > Expected: Something similar. Possibly related to PR44054 and PR53552 See tree-diagnostic.c: maybe_unwind_expanded_macro_loc. You could reimplement it in gfortran using fortran diagnostics machinery. But if you reimplemented the gfortran diagnostics machinery in terms of the general diagnostics machinery, it will just work (and you will also fix those PRs). Note that the function does not use anything C/C++ specific, not even tree-specific.