[PATCH] adjust warning_n() to take uhwi (PR 84207)
Manuel López-Ibáñez
lopezibanez@gmail.com
Tue Feb 13 20:59:00 GMT 2018
On 13 Feb 2018 5:58 pm, "Martin Sebor" <msebor@gmail.com> wrote:
I wanted to make the _n() functions like warning_n() more
robust by letting them accept a tree argument (as well as
offset_int and wide_int) in addition to HOST_WIDE_INT but
I can't do it if they can't work with these types.
There must be a tree-diagnostics.c where you can add those functions and
then call the general diagnostic functions. Same for RTL.
Note that pretty-printer.c works in the same way.
Cheers,
Manuel.
More information about the Gcc-patches
mailing list