diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-01-29 09:36:19 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-01-29 09:36:19 +0100 |
commit | 7892ff37f407ef47ee852f281a80fa0dba6a5a67 (patch) | |
tree | 1cd63cc7cff877b9188b8544403c5ba8975d5646 /gcc/fortran/openmp.c | |
parent | 148018bc3fe7ce47d005a1c5f7b6dd044024a4af (diff) | |
download | gcc-7892ff37f407ef47ee852f281a80fa0dba6a5a67.zip gcc-7892ff37f407ef47ee852f281a80fa0dba6a5a67.tar.gz gcc-7892ff37f407ef47ee852f281a80fa0dba6a5a67.tar.bz2 |
analyzer: fix build with gcc 4.4 (PR 93276)
All that is really needed is make sure you #include "diagnostic-core.h"
before including pretty-print.h. By including
diagnostic-core.h first, you do:
and then pretty-print.h will do:
If instead pretty-print.h is included first, then it will use __gcc_diag__
instead of __gcc_tdiag__ and thus will assume %E/%D etc. can't be handled.
2020-01-29 Jakub Jelinek <jakub@redhat.com>
* analyzer.h (PUSH_IGNORE_WFORMAT, POP_IGNORE_WFORMAT): Remove.
* constraint-manager.cc: Include diagnostic-core.h before graphviz.h.
(range::dump, equiv_class::print): Don't use PUSH_IGNORE_WFORMAT or
POP_IGNORE_WFORMAT.
* state-purge.cc: Include diagnostic-core.h before
gimple-pretty-print.h.
(state_purge_annotator::add_node_annotations, print_vec_of_names):
Don't use PUSH_IGNORE_WFORMAT or POP_IGNORE_WFORMAT.
* region-model.cc: Move diagnostic-core.h include before graphviz.h.
(path_var::dump, svalue::print, constant_svalue::print_details,
region::dump_to_pp, region::dump_child_label, region::print_fields,
map_region::print_fields, map_region::dump_dot_to_pp,
map_region::dump_child_label, array_region::print_fields,
array_region::dump_dot_to_pp): Don't use PUSH_IGNORE_WFORMAT or
POP_IGNORE_WFORMAT.
Diffstat (limited to 'gcc/fortran/openmp.c')
0 files changed, 0 insertions, 0 deletions