This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2007 08:23:07 -0000
- Subject: [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
- References: <bug-32024-13830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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