diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/fixed-point/pr81428.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/fixed-point/pr81428.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/fixed-point/pr81428.c b/gcc/testsuite/gcc.dg/fixed-point/pr81428.c new file mode 100644 index 00000000000..98f4b235718 --- /dev/null +++ b/gcc/testsuite/gcc.dg/fixed-point/pr81428.c @@ -0,0 +1,9 @@ +/* PR tree-optimization/81428 */ +/* { dg-do compile } */ +/* { dg-options "-O2" } */ + +void +foo (long _Fract *a, long _Fract *b) +{ + *b = *a / *a; +} |