1 /* PR rtl-optimization/28243 */
2 /* Reported by Mike Frysinger <vapier@gentoo.org> */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target fpic } */
6 /* { dg-options "-O2 -ftracer -fPIC" } */
13 struct displayfuncs *funcs;
16 static void PSMyArc(double cx, double cy, double radx, double rady, double sa,
23 temp = ((sa + 90) / 90) * 90;
24 PSDoArc(cx, sa, ea < temp ? ea : temp);
29 static void PSDrawElipse()
36 PSMyArc(cx, cy, radx, rady, 0, 360);
39 static void PSDrawFillCircle()
44 static struct displayfuncs psfuncs[] = {
48 void _GPSDraw_CreateDisplay()
50 struct gpsdisplay *gdisp;
51 gdisp->funcs = (void *)&psfuncs;