https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84335

            Bug ID: 84335
           Summary: ICE on invalid code in copy_to_mode_reg, at
                    explow.c:612
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

It's invalid, but:

$ cat /tmp/tmp6bcpvo3j.i
typedef long long a __attribute__ ((__vector_size__ (16)));
a b, c;
a
d ()
{
  return __builtin_ia32_aesenc128 (b, c);
}

$  gcc /dev/null -maes -mno-sse2 /tmp/tmp6bcpvo3j.i
/tmp/tmp6bcpvo3j.i: In function ā€˜dā€™:
/tmp/tmp6bcpvo3j.i:6:10: internal compiler error: in copy_to_mode_reg, at
explow.c:612
   return __builtin_ia32_aesenc128 (b, c);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

Looks it's quite old ICE.

Reply via email to