From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2675 invoked by alias); 20 Feb 2015 09:48:53 -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 2563 invoked by uid 48); 20 Feb 2015 09:48:49 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65127] [5 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'addr_expr' in parsing_nsdmi, at cp/parser.c:18311 Date: Fri, 20 Feb 2015 09:48: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed 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: 2015-02/txt/msg02230.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65127 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-02-20 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |5.0 Summary|internal compiler error: |[5 Regression] internal |tree check: expected tree |compiler error: tree check: |that contains 'decl |expected tree that contains |minimal' structure, have |'decl minimal' structure, |'addr_expr' in |have 'addr_expr' in |parsing_nsdmi, at |parsing_nsdmi, at |cp/parser.c:18311 |cp/parser.c:18311 Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- Started with r216750. Note that we ICE even on template void make_item() { static int i{100}; struct { int id{i++}; } item; } int main() { make_item<0>(); } which is accepted by 4.9 and clang.