This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 30 12:29:47 2016
New Revision: 234549

URL: https://gcc.gnu.org/viewcvs?rev=234549&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-5-branch/gcc/testsuite/c-c++-common/pr69797.c
Modified:
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/c-family/c-common.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]