Support {MIN,MAX}_EXPR in GIMPLE FE.
authorMartin Liska <mliska@suse.cz>
Thu, 9 May 2019 13:03:45 +0000 (15:03 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 9 May 2019 13:03:45 +0000 (13:03 +0000)
commitfd4485aa04b5db3f0fc367ce7aefc8431112e1a1
treea5b080e2a38e8e3f6ee9397c56ddd2b383f6dab8
parentd276406ac1e7fc7f9c380325c994cf477b3d6fb8
Support {MIN,MAX}_EXPR in GIMPLE FE.

2019-05-09  Martin Liska  <mliska@suse.cz>

* gimple-pretty-print.c (dump_binary_rhs): Dump MIN_EXPR
and MAX_EXPR in GIMPLE FE format.
2019-05-09  Martin Liska  <mliska@suse.cz>

* gimple-parser.c (c_parser_gimple_statement): Support __MIN and
__MAX.
(c_parser_gimple_unary_expression): Parse also binary expression
__MIN and __MAX.
(c_parser_gimple_parentized_binary_expression): New function.
2019-05-09  Martin Liska  <mliska@suse.cz>

* gcc.dg/gimplefe-39.c: New test.

From-SVN: r271035
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/gimple-parser.c
gcc/gimple-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gimplefe-39.c [new file with mode: 0644]