Re: [PATCH v2 1/8] Fix warnings for tree formats in gfc_error

2024-07-17 Thread Marek Polacek
On Fri, Jul 12, 2024 at 04:11:48PM +0200, Paul-Antoine Arras wrote: > This enables proper warnings for formats like %qD. Ok. The new lines are the same as in gcc_cdiag_char_table and gcc_tdiag_char_table. > gcc/c-family/ChangeLog: > > * c-format.cc (gcc_gfc_char_table): Add formats for t

Re: [PATCH v2 1/8] Fix warnings for tree formats in gfc_error

2024-07-16 Thread Tobias Burnus
I think it would be nice if some C/C++/global maintainer could rubber stamp the following patch. Otherwise, I think it is trivial, i.e. I think it can be committed in a few days, unless someone has concerns. This change to gcc/c-family/c-format.cc LGTM from the *gfortran* POV and is trivial

[PATCH v2 1/8] Fix warnings for tree formats in gfc_error

2024-07-12 Thread Paul-Antoine Arras
This enables proper warnings for formats like %qD. gcc/c-family/ChangeLog: * c-format.cc (gcc_gfc_char_table): Add formats for tree objects. --- gcc/c-family/c-format.cc | 4 1 file changed, 4 insertions(+) diff --git a/gcc/c-family/c-format.cc b/gcc/c-family/c-format.cc index 5bfd