From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22171 invoked by alias); 1 Aug 2014 16:55:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22114 invoked by uid 55); 1 Aug 2014 16:55:09 -0000 From: "kyukhin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61455] Internal compiler error, and other confused errors, when using array notation Date: Fri, 01 Aug 2014 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kyukhin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00059.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61455 --- Comment #3 from Kirill Yukhin --- Author: kyukhin Date: Fri Aug 1 16:54:27 2014 New Revision: 213491 URL: https://gcc.gnu.org/viewcvs?rev=213491&root=gcc&view=rev Log: PR middle-end/61455 gcc/c-family/ * array-notation-common.c (extract_array_notation_exprs): Handling of DECL_EXPR added. gcc/c/ * c-array-notation.c (expand_array_notations): Handling of DECL_EXPR added. gcc/cp/ * cp-array-notation.c (expand_array_notation_exprs): Handling of DECL_EXPR improved. Changed handling for INIT_EXPR. gcc/testsuite/ * c-c++-common/cilk-plus/AN/pr61455.c: New test. * c-c++-common/cilk-plus/AN/pr61455-2.c: Likewise. Added: trunk/gcc/testsuite/c-c++-common/cilk-plus/AN/pr61455-2.c trunk/gcc/testsuite/c-c++-common/cilk-plus/AN/pr61455.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/array-notation-common.c trunk/gcc/c/ChangeLog trunk/gcc/c/c-array-notation.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-array-notation.c trunk/gcc/testsuite/ChangeLog