From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18186 invoked by alias); 1 Feb 2012 13:43:45 -0000 Received: (qmail 18173 invoked by uid 22791); 1 Feb 2012 13:43:43 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Feb 2012 13:43:31 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52079] ICE in aggregate_value_p while building libgo on arm-linux-gnueabihf Date: Wed, 01 Feb 2012 13:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed AssignedTo Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-02/txt/msg00066.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52079 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-02-01 AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Jakub Jelinek 2012-02-01 13:43:03 UTC --- Created attachment 26542 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26542 gcc47-pr52079.patch Untested fix. While the c-family/fortran/lto/ada lang_hooks.types.type_for_mode returns non-NULL for TImode (it creates a type for 2 * HOST_BITS_PER_WIDE_INT bitsize), go (and assuming java too) just return NULL. This is an attempt to try harder in this case, another alternative would be for go/java type_for_mode and type_for_size langhooks to return non-NULL for TImode resp. 128-bit size (using build_nonstandard_integer_type), at least when HOST_BITS_PER_WIDE_INT >= 64 (like other FEs do).