From: Elliott Oti Newsgroups: comp.os.msdos.djgpp Subject: Re: %ebp weirdness (and >10 operands problems) Date: Thu, 30 Jan 1997 07:14:22 -0800 Organization: Academic Computer Centre Utrecht, (ACCU) Lines: 16 Message-ID: <32F0BACE.5AC0@stud.warande.ruu.nl> References: <5cq47n$nd AT flex DOT uunet DOT pipex DOT com> NNTP-Posting-Host: warande1078.warande.ruu.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp nikki wrote: > > is there any reason why > > asm volatile ("movl $32,%%ebp" > ::: "%ebp" ); > > is completely ignored by gcc? by that i mean that i've told it ebp has been > clobbered and on the next line it generates in the .S file it promptly tries > to load something using ebp and hence crashes miserably :) > i thought the whole idea of having a clobber list was so that it knew not > to use that value and to reload it, or push/pull it whatever. Compiling with -fomit-frame-pointer might help Elliott