gimple-parser.c (c_parser_gimple_postfix_expression): Parse _Literal (type) { ...
authorRichard Biener <rguenther@suse.de>
Fri, 30 Nov 2018 12:02:55 +0000 (12:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 30 Nov 2018 12:02:55 +0000 (12:02 +0000)
commitf44697b78a06bf880ba25e9d4cd721f24282a797
tree19934ba62a512bb402f7913a3e91b3e0ad938771
parenteea34f203816e71f2fe261b9b8593a01eb01ec81
gimple-parser.c (c_parser_gimple_postfix_expression): Parse _Literal (type) { ...

2018-11-30  Richard Biener  <rguenther@suse.de>

c/
* gimple-parser.c (c_parser_gimple_postfix_expression): Parse
_Literal (type) { ... } as empty aggregate or vector constructor.

* gcc.dg/gimplefe-34.c: New testcase.
* gcc.dg/gimplefe-35.c: Likewise.

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