1 /* Copyright (C) 2006 Free Software Foundation, Inc. */
2 /* Contributed by Carlos O'Donell on 2006-01-30 */
4 /* Test a division corner case where the expression simplifies
5 to a comparison, and the optab expansion is wrong. The optab
6 expansion emits a function whose return is unbiased and needs
8 /* Origin: Carlos O'Donell <carlos@codesourcery.com> */
9 /* { dg-do run { target arm-*-*eabi* } } */
10 /* { dg-options "" } */
13 #define BIG_CONSTANT 0xFFFFFFFF80000000ULL
17 unsigned long long OneULL
= 1ULL;
18 unsigned long long result
;
20 result
= OneULL
/ BIG_CONSTANT
;