diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2025-01-16 15:32:56 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2025-02-07 15:10:39 +0100 |
commit | 5fdcbe487df139dca2f8e6af5599edb470de8ad9 (patch) | |
tree | 32435ffeb5060e7e86639156539adcd5dbc64093 /gcc/c/c-parser.cc | |
parent | f5ef1f9e8589697086c8cfea6ad07d56050dde96 (diff) | |
download | gcc-5fdcbe487df139dca2f8e6af5599edb470de8ad9.zip gcc-5fdcbe487df139dca2f8e6af5599edb470de8ad9.tar.gz gcc-5fdcbe487df139dca2f8e6af5599edb470de8ad9.tar.bz2 |
Honor dump options for C/C++ '-fdump-tree-original'
In addition to upcoming use of '-fdump-tree-original-lineno', this patch
actually resolves XFAILs for 'c-c++-common/goacc/pr92793-1.c', which had
gotten added as part of commit fa410314ec94c9df2ad270c1917adc51f9147c2c
"[OpenACC] Elaborate testcases that verify column location information [PR92793]".
gcc/c-family/
* c-gimplify.cc (c_genericize): Pass 'local_dump_flags' to
'print_c_tree'.
* c-pretty-print.cc (c_pretty_printer::statement): Pass
'dump_flags' to 'dump_generic_node'.
(c_pretty_printer::c_pretty_printer): Initialize 'dump_flags'.
(print_c_tree): Add 'dump_flags_t' formal parameter.
(debug_c_tree): Adjust.
* c-pretty-print.h (c_pretty_printer): Add 'dump_flags_t
dump_flags'.
(c_pretty_printer::c_pretty_printer): Add 'dump_flags_t' formal
parameter.
(print_c_tree): Adjust.
gcc/testsuite/
* c-c++-common/goacc/pr92793-1.c: Remove
'-fdump-tree-original-lineno' XFAILs.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions