http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46490
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Target|FreeBSD, OpenBSD, NetBSD, |i386-*-* |DragonFlyBSD: i386 | Host|Same as Target | Summary|For four major i386 BSDs, |ACATS cb460007 fails at -O2 |GNAT fails FP to static |or above |integer conversion with | |-O2,-O3 optimization | Build|Same as Target | --- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-11-16 11:16:40 UTC --- > 5) It's occurring identically on all four i386 platforms which are pretty > divergent. > > This looks like a problem in the optimization stage. OK, the summary is slightly misleading then, if this has nothing to do with BSD. Do you know if this fails with earlier versions? Let me try on Linux.