From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3151 invoked by alias); 10 Aug 2005 11:25:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 3033 invoked by uid 48); 10 Aug 2005 11:25:41 -0000 Date: Wed, 10 Aug 2005 11:25:00 -0000 Message-ID: <20050810112541.3032.qmail@sourceware.org> From: "giovannibajo at libero dot it" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030805124527.11807.aw11@os.inf.tu-dresden.de> References: <20030805124527.11807.aw11@os.inf.tu-dresden.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug inline-asm/11807] GCC should error out when clobbering the stack pointer and frame pointer X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg01096.txt.bz2 List-Id: ------- 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