1 /* PR optimization/11018 */
2 /* Originator: <partain@dcs.gla.ac.uk> */
3 /* { dg-do run { target sparc*-*-* } } */
4 /* { dg-options "-O2 -mcpu=ultrasparc" } */
6 /* This used to fail on 32-bit Ultrasparc because
7 of broken DImode shift patterns. */
9 extern void abort(void);
11 typedef unsigned long long uint64_t;
12 typedef unsigned int size_t;
15 void to_octal (uint64_t value
, char *where
, size_t size
)
22 where
[--i
] = '0' + (v
& ((1 << 3) - 1));
33 to_octal(010644, buf
, 6);