Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr59575.c
blob27d7d40526efc4dc7b517fc35a36a0237e52766f
1 /* PR target/59575 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_arch_v7a_ok } */
4 /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
5 /* { dg-options "-Os -g" } */
6 /* { dg-add-options arm_arch_v7a } */
8 void foo (int *);
9 int *bar (int, long long, int);
11 void
12 test (int *p)
14 if (p)
15 foo (p);
16 else if (p = bar (0, 1, 2))
17 foo (p);