While building libgfortran on ia64 Linux or HP-UX (LP64) platforms I get:

x.c: In function 'maxloc0_16_i4':
x.c:15: error: unrecognizable insn:
(insn 68 67 69 2 (set (mem:DI (post_modify:DI (reg/f:DI 15 r15 [orig:343
ivtmp.3
0 ] [343])
                (plus:DI (reg/f:DI 15 r15 [orig:343 ivtmp.30 ] [343])
                    (reg:DI 16 r16 [orig:342 ivtmp.33 ] [342]))) [2 S8 A64])
        (reg:DI 18 r18)) -1 (nil)
    (expr_list:REG_INC (reg/f:DI 15 r15 [orig:343 ivtmp.30 ] [343])
        (nil)))
x.c:15: internal compiler error: in extract_insn, at recog.c:2084

---------

Here is a cutdown testcase
void
maxloc0_16_i4 (long r)
{
  long dstride;
  __int128_t *dest;
  long n;
  for (n = 0; n < r; n++)
    dest[n * dstride] = 0;

  return;
}


-- 
           Summary: libgfortran does not build, compiler gives
                    unrecognizable instruction ICE
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
 GCC build triplet: ia64-*-*
  GCC host triplet: ia64-*-*
GCC target triplet: ia64-*-*


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

Reply via email to