summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lower-subreg-1.c
blob: 33be4c4eaccfaf622e57caa37af85d7e650c01ed (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile { target { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } } } } */
/* { dg-options "-O -fdump-rtl-subreg1" } */
/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && x32 } { "*" } { "" } } */
/* { dg-require-effective-target ilp32 } */

long long test (long long a, long long b) { return a | b; }

/* { dg-final { scan-rtl-dump "Splitting reg" "subreg1" } } */
/* { dg-final { cleanup-rtl-dump "subreg1" } } */