summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lower-subreg-1.c
blob: 12a20adfc3807ff2b01bbf265b7570ba39809fd7 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile { target { { { ! mips64 } && { ! ia64-*-* } } && { ! spu-*-* } && { ! tilegx-*-* } } } } */
/* { 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" } } */