This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27907] [4.2 regression] ICE in expand_simple_unop, at optabs.c:2307
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2006 08:12:07 -0000
- Subject: [Bug target/27907] [4.2 regression] ICE in expand_simple_unop, at optabs.c:2307
- References: <bug-27907-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from falk at debian dot org 2006-06-07 08:12 -------
Confirmed with 4.2.0 20060606. Cleaned up test case:
struct fann_neuron {
double value;
} __attribute__ ((packed));
void fann_run (struct fann_neuron **last_neuron) {
while (1)
(*last_neuron)->value = 1;
}
The same ICE occurs in the ufraw package, test case:
void f(double);
void SaveNikonDataFile(void) {
while (1) {
union {
double d;
unsigned char b[8];
} dat1, dat2;
dat1.d = 1;
dat2.d = 1;
dat2.b[7] = dat1.b[0];
f(dat2.d);
}
}
This one occurs only with -ffast-math.
--
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27907