diff options
Diffstat (limited to 'SingleSource/Regression/C/gcc-c-torture/execute/pr68648.c')
-rw-r--r-- | SingleSource/Regression/C/gcc-c-torture/execute/pr68648.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/SingleSource/Regression/C/gcc-c-torture/execute/pr68648.c b/SingleSource/Regression/C/gcc-c-torture/execute/pr68648.c new file mode 100644 index 00000000..db55bd0e --- /dev/null +++ b/SingleSource/Regression/C/gcc-c-torture/execute/pr68648.c @@ -0,0 +1,21 @@ +/* { dg-require-effective-target int32plus } */ +int __attribute__ ((noinline)) +foo (void) +{ + return 123; +} + +int __attribute__ ((noinline)) +bar (void) +{ + int c = 1; + c |= 4294967295 ^ (foo () | 4073709551608); + return c; +} + +int +main () +{ + if (bar () != 0x83fd4005) + __builtin_abort (); +} |