This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/8335] problems with __builtin_frame_address when -fomit-frame-pointer used
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Aug 2005 00:56:00 -0000
- Subject: [Bug rtl-optimization/8335] problems with __builtin_frame_address when -fomit-frame-pointer used
- References: <20021023235600.8335.davmac@ozonline.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 00:55 -------
Fixed for 4.1 by:
+2005-08-19 James E Wilson <wilson@specifix.com>
+
+ * builtins.c (expand_builtin_return_addr): Set
+ current_function_accesses_prior_frames when count != 0. Use
+ frame_pointer_rtx when count == 0.
+ * function.h (struct function): Add accesses_prior_frames field.
+ (current_function_accesses_prior_frames): Define.
+ * reload1.c (init_elim_table): Check
+ current_function_accesses_prior_frames.
+ * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8335