From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14368 invoked by alias); 9 Jan 2014 23:07:51 -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 14336 invoked by uid 48); 9 Jan 2014 23:07:48 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/47888] [4.7/4.8/4.9 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault Date: Thu, 09 Jan 2014 23:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: ice-on-invalid-code, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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-01/txt/msg01018.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888 Aldy Hernandez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |aldyh at gcc dot gnu.org --- Comment #9 from Aldy Hernandez --- No ICE on 4.[789]: reynosa:/build/pristine-4_8/gcc$ ./xgcc -B./ main.c s.c -flto -O -DPR47888 main.c:1:13: warning: type of 's' does not match original declaration [enabled by default] extern char s[1]; ^ s.c:1:14: note: previously declared here struct S { } s; ^ This only seems to be a problem on 4.6. Can we mark this as so?