This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/35982] [4.3 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]