2 /* Reported by Ryan Mansfield <rmansfield@qnx.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-Os -g" } */
6 /* { dg-options "-march=armv7-a+fp -mfloat-abi=hard -Os -g" { target { arm*-*-* && { ! arm_thumb1 } } } } */
8 extern int printf (const char *__format
, ...);
9 double bar (const char *, int);
12 foo (const char *pptr
, int caplen
)
18 (void) printf ("foo");
32 printf ("%1.2fW", bar (tptr
, caplen
) / 1000.0);