gimple-parser.c (c_parser_gimple_statement): Handle __VEC_PERM.
authorRichard Biener <rguenther@suse.de>
Fri, 17 May 2019 12:04:21 +0000 (12:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 17 May 2019 12:04:21 +0000 (12:04 +0000)
commitc4499192638ad901fc03021834eec60399bfa736
tree86dff9166726cc0e075dfa26d8dd8072a903c3d3
parent35ee7f54686d7cba0feb5c1750ae4071db252000
gimple-parser.c (c_parser_gimple_statement): Handle __VEC_PERM.

2019-05-17  Richard Biener  <rguenther@suse.de>

c/
* gimple-parser.c (c_parser_gimple_statement): Handle __VEC_PERM.
(c_parser_gimple_unary_expression): Likewise.
(c_parser_gimple_parentized_ternary_expression): New function.

* gimple-pretty-print.c (dump_ternary_rhs): Handle dumping
VEC_PERM_EXPR as __VEC_PERM with -gimple.

* gcc.dg/gimplefe-41.c: New testcase.

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