+2008-05-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ * final.c (frame_pointer_needed): Removed.
+ * flags.h (frame_pointer_needed): Likewise.
+
+ * function.h (rtl_data): Add frame_pointer_needed.
+ (frame_pointer_needed): New.
+
2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
* config.gcc (sh2[lbe]*-*-linux*): Allow target.
CC_STATUS cc_prev_status;
#endif
-/* Nonzero means current function must be given a frame pointer.
- Initialized in function.c to 0. Set only in reload1.c as per
- the needs of the function. */
-
-int frame_pointer_needed;
-
/* Number of unmatched NOTE_INSN_BLOCK_BEG notes we have seen. */
static int block_depth;
\f
/* Other basic status info about current function. */
-/* Nonzero means current function must be given a frame pointer.
- Set in stmt.c if anything is allocated on the stack there.
- Set in reload1.c if anything is allocated on the stack there. */
-
-extern int frame_pointer_needed;
-
/* Nonzero if subexpressions must be evaluated from left-to-right. */
extern int flag_evaluation_order;
/* Nonzero if code to initialize arg_pointer_save_area has been emitted. */
bool arg_pointer_save_area_init;
+
+ /* Nonzero means current function must be given a frame pointer.
+ Set in stmt.c if anything is allocated on the stack there.
+ Set in reload1.c if anything is allocated on the stack there. */
+ bool frame_pointer_needed;
};
#define return_label (crtl->x_return_label)
#define avail_temp_slots (crtl->x_avail_temp_slots)
#define temp_slot_level (crtl->x_temp_slot_level)
#define nonlocal_goto_handler_labels (crtl->x_nonlocal_goto_handler_labels)
+#define frame_pointer_needed (crtl->frame_pointer_needed)
extern GTY(()) struct rtl_data x_rtl;