1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dom2-details -w" } */
4 typedef struct rtx_def
*rtx
;
5 struct machine_frame_state
10 struct machine_function
{
11 struct machine_frame_state fs
;
21 GR_HARD_FRAME_POINTER
,
23 GR_VIRTUAL_INCOMING_ARGS
,
24 GR_VIRTUAL_STACK_ARGS
,
25 GR_VIRTUAL_STACK_DYNAMIC
,
26 GR_VIRTUAL_OUTGOING_ARGS
,
28 GR_VIRTUAL_PREFERRED_STACK_BOUNDARY
,
32 rtx x_global_rtl
[GR_MAX
];
34 extern struct target_rtl default_target_rtl
;
36 struct machine_function
* machine
;
38 extern struct function
*cfun
;
41 long stack_pointer_offset
;
44 ix86_expand_prologue (void)
46 struct machine_function
*m
= (cfun
+ 0)->machine
;
47 struct ix86_frame frame
;
49 allocate
= frame
.stack_pointer_offset
- m
->fs
.sp_offset
;
52 else if (!ix86_target_stack_probe ())
54 pro_epilogue_adjust_stack ((((&default_target_rtl
)->x_global_rtl
)[GR_STACK_POINTER
]), (((&default_target_rtl
)->x_global_rtl
)[GR_STACK_POINTER
]),
55 gen_rtx_CONST_INT ((-allocate
)), -1,
56 m
->fs
.cfa_reg
== (((&default_target_rtl
)->x_global_rtl
)[GR_STACK_POINTER
]));
58 ((void)(!(m
->fs
.sp_offset
== frame
.stack_pointer_offset
) ? fancy_abort ("../../gcc-4.7.3/gcc/config/i386/i386.c", 10435, __FUNCTION__
), 0 : 0));
61 /* In the case where ALLOCATE is zero, we know that sp_offset and
62 stack_poitner_offset within their respective structures are the
63 same. That allows us to thread the jump from the true arm of the
64 first IF conditional around the test controlling the call to
66 /* { dg-final { scan-tree-dump-times "Threaded" 1 "dom2"} } */