From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5266 invoked by alias); 20 Jun 2007 08:23:17 -0000 Received: (qmail 5232 invoked by uid 48); 20 Jun 2007 08:23:07 -0000 Date: Wed, 20 Jun 2007 08:23:00 -0000 Message-ID: <20070620082307.5231.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" 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: 2007-06/txt/msg01639.txt.bz2 ------- Comment #10 from ubizjak at gmail dot com 2007-06-20 08:23 ------- Confirmed, configure gcc with --enable=checking=fold --cut here-- typedef union { struct {int low, high;} s; long long ll; } DWunion; long long __muldi3 (long long u, long long v) { const DWunion uu = {.ll = u}; const DWunion vv = {.ll = v}; DWunion w = {.ll = 0 }; w.s.high += ((unsigned int) uu.s.low * (unsigned int) vv.s.high + (unsigned int) uu.s.high * (unsigned int) vv.s.low); return w.ll; } --cut here-- gcc -O2: mul.c: In function '__muldi3': mul.c:9: internal compiler error: in fold_checksum_tree, at fold-const.c:12775 Please submit a full bug report, -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|middle-end |bootstrap Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-06-20 08:23:06 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024