GIMPLEFE: Handle invalid unary "*" operand type
authorMikhail Maltsev <maltsevm@gmail.com>
Thu, 11 May 2017 10:48:54 +0000 (10:48 +0000)
committerMikhail Maltsev <miyuki@gcc.gnu.org>
Thu, 11 May 2017 10:48:54 +0000 (10:48 +0000)
commitac4eb40f5c7069b39eb847a136a1f690bb5444b2
tree687a6b8fa77af9a3f5204970e4f31022e4c4b299
parentab9e91f9fcc9f7b0b8d848f1ba698bc46ce70922
GIMPLEFE: Handle invalid unary "*" operand type

gcc/c/

PR testsuite/80580
* gimple-parser.c (c_parser_gimple_unary_expression): Check argument
type of unary '*'.

gcc/testsuite/

PR testsuite/80580
* gcc.dg/gimplefe-error-4.c: New test.

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