This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35982] [4.3 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970
- From: "vapier at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2008 04:46:58 -0000
- Subject: [Bug target/35982] [4.3 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970
- References: <bug-35982-10160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from vapier at gentoo dot org 2008-04-20 04:46 -------
the reduced test case
$ cat af_volnorm.i
struct mem {
float avg;
int len;
};
float method2_int16(struct mem *mem)
{
int i;
float avg;
for (i = 0; i < 100; ++i)
avg += mem[i].avg * (float)mem[i].len;
return avg;
}
$ gcc -mcpu=970 -ffast-math -O3 -c af_volnorm.i
af_volnorm.i: In function â??method2_int16â??:
af_volnorm.i:12: error: unrecognizable insn:
(insn 24 23 25 4 af_volnorm.i:10 (set (reg:V4SI 142)
(reg:V4SF 138)) -1 (nil))
af_volnorm.i:12: internal compiler error: in extract_insn, at recog.c:1990
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
--
vapier at gentoo dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.3.0
Known to work| |4.1.2 4.2.3
Summary|[4.3 regression] ICE while |[4.3 regression] ICE while
|building mplayer on ppc |building mplayer on ppc with
| |-O3 -ffast-math -mcpu=970
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35982