This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/53934] Better CPP macro diagnostics


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]