From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31176 invoked by alias); 18 Feb 2014 23:12:02 -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 31114 invoked by uid 55); 18 Feb 2014 23:11:59 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60215] [4.9 Regression] ICE with invalid bit-field size Date: Tue, 18 Feb 2014 23:12: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.9.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo 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: 4.9.0 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-02/txt/msg01896.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60215 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Feb 18 23:11:26 2014 New Revision: 207858 URL: http://gcc.gnu.org/viewcvs?rev=207858&root=gcc&view=rev Log: /cp 2014-02-18 Paolo Carlini PR c++/60225 * semantics.c (ensure_literal_type_for_constexpr_object): Use strip_array_types. /testsuite 2014-02-18 Paolo Carlini PR c++/60225 * g++.dg/cpp0x/constexpr-ice10.C: New. /cp 2014-02-18 Paolo Carlini PR c++/60215 * semantics.c (cxx_eval_constant_expression, [COMPONENT_REF]): During error recovery allow_non_constant may be false. /testsuite 2014-02-18 Paolo Carlini PR c++/60215 * g++.dg/cpp0x/pr60215.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ice10.C trunk/gcc/testsuite/g++.dg/cpp0x/pr60215.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog