OSDN Git Service

2005-08-11 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / tailcall-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 typedef unsigned int Cardinal;
5 typedef char *String;
6 typedef struct _WidgetRec *Widget;
7
8 typedef union _XEvent {
9         int type;
10  long pad[24];
11 } XEvent;
12
13
14 extern int SendMousePosition (Widget w, XEvent* event);
15
16
17 void
18 HandleIgnore(Widget w,
19       XEvent * event,
20       String * params ,
21       Cardinal *param_count )
22 {
23
24     (void) SendMousePosition(w, event);
25 }
26
27 /* { dg-final { scan-assembler "jmp" } } */