This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/11807] GCC should error out when clobbering the stack pointer
- 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: 6 Dec 2003 20:09:15 -0000
- Subject: [Bug inline-asm/11807] GCC should error out when clobbering the stack pointer
- References: <20030805124527.11807.aw11@os.inf.tu-dresden.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-06 20:09 -------
The Frame pointer part is fixed by:
* basic-block.h (PROP_ASM_SCAN): Define.
* final.c (regs_asm_clobbered): New array.
* regs.h (regs_asm_clobbered): Declare.
* flow.c (life_analysis): Init it.
(mark_set_regs): Set PROP_ASM_SCAN for asms.
(mark_set_1): Set regs_asm_clobbered.
* global.c (global_alloc): Don't set eliminable_regset when
regs_asm_clobbered.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-11-03 04:13:41 |2003-12-06 20:09:13
date| |
Summary|GCC should error out when |GCC should error out when
|clobbering the stack or |clobbering the stack pointer
|frame pointer |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11807