[Bug inline-asm/11807] GCC should error out when clobbering the stack pointer and frame pointer
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Wed Aug 10 11:25:00 GMT 2005
------- Additional Comments From giovannibajo at libero dot it 2005-08-10 11:25 -------
Small testcase from PR 23313, showing ICE on invalid:
-----------------------------------------
int main(){
int i;
asm (
"xorl %%ebp, %%ebp\n\t"
"movl %0, %%ebp\n\t"
:: "m" (i)
: "%ebp"
);
return 0;
}
-----------------------------------------
This makes this PR a bug, not simply an enhancement.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11807
More information about the Gcc-bugs
mailing list