view gcc/testsuite/gcc.c-torture/compile/pr23435.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR target/23435.

   On m68k-none-elf, this used to cause an unrecognized insn because
   zero_extendsidi2 accepted operands that are both memory even though
   such a pattern did not exist.  */

void
foo (unsigned long *a, unsigned long long *p)
{
  *p = *a;
}