]> gcc.gnu.org Git - gcc.git/commit
c/111468 - dump unordered compare operators in their GIMPLE form with -gimple
authorRichard Biener <rguenther@suse.de>
Tue, 19 Sep 2023 11:18:51 +0000 (13:18 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 19 Sep 2023 12:43:13 +0000 (14:43 +0200)
commitf25960b03834712f312d46fed9a021df36f89f22
treedd19469d57845f5f8e527eabc60ed90dafef1861
parentb510b83aad52adf94d52a6ae3a3b332946e947a1
c/111468 - dump unordered compare operators in their GIMPLE form with -gimple

The following adjusts -gimple dumping to dump the unordered compare ops
and *h in their GIMPLE form.  It also adds parsing for __LTGT which I
missed before.

PR c/111468
gcc/c/
* gimple-parser.cc (c_parser_gimple_binary_expression): Handle __LTGT.

gcc/
* tree-pretty-print.h (op_symbol_code): Add defaulted flags
argument.
* tree-pretty-print.cc (op_symbol): Likewise.
(op_symbol_code): Print TDF_GIMPLE variant if requested.
* gimple-pretty-print.cc (dump_binary_rhs): Pass flags to
op_symbol_code.
(dump_gimple_cond): Likewise.

gcc/testsuite/
* gcc.dg/gimplefe-50.c: Amend.
gcc/c/gimple-parser.cc
gcc/gimple-pretty-print.cc
gcc/testsuite/gcc.dg/gimplefe-50.c
gcc/tree-pretty-print.cc
gcc/tree-pretty-print.h
This page took 0.058868 seconds and 5 git commands to generate.