[Bug c++/69797] [4.9 Regression] ICE on invalid code on x86_64-linux-gnu in operator[], at vec.h:714

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 7 21:46:00 GMT 2016


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 21:45:11 2016
New Revision: 238134

URL: https://gcc.gnu.org/viewcvs?rev=238134&root=gcc&view=rev
Log:
        Backported from mainline
        2016-02-15  Jakub Jelinek  <jakub@redhat.com>

        PR c++/69797
        * c-common.c (sync_resolve_size): Diagnose too few arguments
        even when params is non-NULL empty vector.

        * c-c++-common/pr69797.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/pr69797.c
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/c-common.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list