This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/11807] GCC should error out when clobbering the stack pointer


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]