re PR c/81289 (ICE in libcpp/line-map.c)
authorMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 2 Aug 2017 11:50:16 +0000 (11:50 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 2 Aug 2017 11:50:16 +0000 (11:50 +0000)
commitf7b6353a7ff5edd28bda30480e304bc02cc05432
tree4708bf94e88461812646def514a4106610e5914f
parent829c98a06971706543d2d5d665e4636c9eb78534
re PR c/81289 (ICE in libcpp/line-map.c)

PR c/81289
* c-parser.c (c_parser_unary_expression): Use set_error.

* gcc.dg/noncompile/pr81289.c: New test.

From-SVN: r250821
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/pr81289.c [new file with mode: 0644]