This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C PATCH to fix a crash on invalid (PR c/81289)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, David Malcolm <dmalcolm at redhat dot com>
- Date: Wed, 2 Aug 2017 11:42:04 +0000
- Subject: Re: C PATCH to fix a crash on invalid (PR c/81289)
- Authentication-results: sourceware.org; auth=none
- References: <20170802100252.GU3397@redhat.com>
On Wed, 2 Aug 2017, Marek Polacek wrote:
> 2017-08-02 Marek Polacek <polacek@redhat.com>
>
> PR c/81289
> * c-parser.c (c_parser_unary_expression): Use set_error.
>
> * gcc.dg/noncompile/pr81289.c: New test.
OK.
--
Joseph S. Myers
joseph@codesourcery.com