summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr23435.c
blob: fb41af1e8470ac9163c3630fe2598876fd333aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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;
}