summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fixed-point/pr81428.c
blob: 98f4b23571826cd43bba0492f216af1ab0ea9909 (plain)
1
2
3
4
5
6
7
8
9
/* PR tree-optimization/81428 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

void
foo (long _Fract *a, long _Fract *b)
{
  *b = *a / *a;
}