gimple-parser.c (c_parser_gimple_statement): Remove questionable auto-promotion to...
authorRichard Biener <rguenther@suse.de>
Tue, 14 May 2019 13:57:03 +0000 (13:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 May 2019 13:57:03 +0000 (13:57 +0000)
commit1158c5b424c9c3a24a47e6cdfce923b373d9b013
treef39ff5f1467e061ddac32ce6a9d1bc7b552585a9
parent22b6a9c1cd36af0db84954f104ff8448aa925f4d
gimple-parser.c (c_parser_gimple_statement): Remove questionable auto-promotion to VIEW_CONVERT_EXPR.

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

* gimple-parser.c (c_parser_gimple_statement): Remove
questionable auto-promotion to VIEW_CONVERT_EXPR.
(c_parser_gimple_typespec): Split out from __MEM parsing.
(c_parser_gimple_postfix_expression): Handle __VIEW_CONVERT.
* tree-pretty-print.c (dump_generic_node): Dump VIEW_CONVERT_EXPR
as __VIEW_CONVERT with -gimple.

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

From-SVN: r271170
gcc/c/ChangeLog
gcc/c/gimple-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gimplefe-40.c [new file with mode: 0644]