This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13318] ICE: floating point exception gcc 3.3.3
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2003 17:47:40 -0000
- Subject: [Bug optimization/13318] ICE: floating point exception gcc 3.3.3
- References: <20031205172323.13318.bremner@unb.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2003-12-05 17:47 -------
Confirmed. Here's a cut-down:
-------------------------
struct S {
int key;
int rnext,rprev;
};
void foo(struct S* H){
int i, k;
for (i=0; i<2; i++){
struct S* cell=H+k;
cell->key=i*(0xffffffffUL/2);
cell->rnext=k+(1-i);
cell->rprev=k+(1-i);
}
}
--------------------------
this also ICEs on my x86-linux box:
g/x> /home/bangerth/bin/gcc-3.3.3-pre/bin/gcc -c -O2 x.c
x.c: In function `foo':
x.c:14: internal compiler error: Floating point exception
The same thing happens with mainline and all the way back to 2.95.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-12-05 17:47:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13318