This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69797] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu in operator[], at vec.h:714
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2016 12:30:19 +0000
- Subject: [Bug c++/69797] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu in operator[], at vec.h:714
- Auto-submitted: auto-generated
- References: <bug-69797-4 at http dot gcc dot gnu dot org/bugzilla/>
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