GIMPLEFE: handle invalid __MEM
authorMikhail Maltsev <maltsevm@gmail.com>
Thu, 11 May 2017 10:55:52 +0000 (10:55 +0000)
committerMikhail Maltsev <miyuki@gcc.gnu.org>
Thu, 11 May 2017 10:55:52 +0000 (10:55 +0000)
commit67ac9a9db1b63e93fcdc2d959325c984edd521b8
tree5e09d07bcfd1c2075674e81871599ea928b5eb77
parentac4eb40f5c7069b39eb847a136a1f690bb5444b2
GIMPLEFE: handle invalid __MEM

gcc/c/

PR testsuite/80580
* gimple-parser.c (c_parser_gimple_postfix_expression): Handle
incorrect __MEM syntax.

gcc/testsuite/

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

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