| delorie.com/archives/browse.cgi | search |
| From: | Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl> |
| 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 |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |