1 /* PR rtl-optimization/28243 */
2 /* Reported by Mike Frysinger <vapier@gentoo.org> */
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -ftracer -fPIC" } */
12 struct displayfuncs
*funcs
;
15 static void PSMyArc(double cx
, double cy
, double radx
, double rady
, double sa
,
22 temp
= ((sa
+ 90) / 90) * 90;
23 PSDoArc(cx
, sa
, ea
< temp
? ea
: temp
);
28 static void PSDrawElipse()
35 PSMyArc(cx
, cy
, radx
, rady
, 0, 360);
38 static void PSDrawFillCircle()
43 static struct displayfuncs psfuncs
[] = {
47 void _GPSDraw_CreateDisplay()
49 struct gpsdisplay
*gdisp
;
50 gdisp
->funcs
= (void *)&psfuncs
;