https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87347

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Wed Sep 26 11:58:18 2018
New Revision: 264640

URL: https://gcc.gnu.org/viewcvs?rev=264640&root=gcc&view=rev
Log:
[PR 87347] Prevent segfaults if TYPE_ARG_TYPES is NULL

2018-09-26  Martin Jambor  <mjam...@suse.cz>

        PR c/87347
        c/
        * c-parser.c (warn_for_abs): Bail out if TYPE_ARG_TYPES is NULL.  Fix
        comment.

        testsuite/
        * gcc.dg/pr87347.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr87347.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to