http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48830

           Summary: [4.4/4.6 Regression] unrecognized insn storing fp
                    (simd) reg in SImode to stack
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: h...@gcc.gnu.org
            Target: sparc64-unknown-linux-gnu


Created attachment 24148
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24148
preprocessed trivially reduced test-case

Most likely also 4.5 and "4.7" but I don't have a corresponding build tree
handy.
Flagged as a regression because 4.3.5 builds it.

Anyway, observe the following ICE with the attachment compiled with "cc1
-fpreprocessed -mptr64 -mstack-bias -mlong-double-128 -m64 -mcpu=ultrasparc
-mvis -O2 -o rc_stat.s rcs5.i" (for 4.4.5):

 rc_stat_xsum_acc
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <early_local_cleanups> <summary generate> <cp> <inline>
<static-var> <pure-const>Assembling functions:
 rc_stat_xsum_acc
/home/hp/rcs5.i: In function 'rc_stat_xsum_acc':
/home/hp/rcs5.i:66: error: insn does not satisfy its constraints:
(insn 1288 208 218 11 /home/hp/rcs5.i:48 (set (mem/c:SI (plus:DI (reg/f:DI 30
%fp)
                (const_int 1915 [0x77b])) [149 %sfp+-132 S4 A32])
        (reg:SI 71 %f39 [+4 ])) 50 {*movsi_insn} (nil))
/home/hp/rcs5.i:66: internal compiler error: in reload_cse_simplify_operands,
at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to