[Bug c/91192] [9 regression] non-deterministic ICE on invalid

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 1 06:32:00 GMT 2019


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Aug  1 06:31:54 2019
New Revision: 273967

URL: https://gcc.gnu.org/viewcvs?rev=273967&root=gcc&view=rev
Log:
        Backported from mainline
        2019-07-31  Jakub Jelinek  <jakub@redhat.com>

        PR c/91192
        * c-parser.c (c_parser_sizeof_expression): Call set_c_expr_source_range
        even if finish is UNKNOWN_LOCATION, just use start as finish in that
        case.

Modified:
    branches/gcc-9-branch/gcc/c/ChangeLog
    branches/gcc-9-branch/gcc/c/c-parser.c


More information about the Gcc-bugs mailing list