-
- Downloads
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.
Showing
- gcc/c/gimple-parser.cc 5 additions, 0 deletionsgcc/c/gimple-parser.cc
- gcc/gimple-pretty-print.cc 2 additions, 2 deletionsgcc/gimple-pretty-print.cc
- gcc/testsuite/gcc.dg/gimplefe-50.c 1 addition, 0 deletionsgcc/testsuite/gcc.dg/gimplefe-50.c
- gcc/tree-pretty-print.cc 13 additions, 13 deletionsgcc/tree-pretty-print.cc
- gcc/tree-pretty-print.h 1 addition, 1 deletiongcc/tree-pretty-print.h
Loading
Please register or sign in to comment