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]

Re: An x86 -fpic and -fomit-frame-pointer bug


On Mon, 15 June 1998, 23:14:14, hjl@lucon.org wrote:

 > Hi,
 > 
 > Here is a test case for an x86 -fpic and -fomit-frame-pointer bug.
 > cexp.cc is miscompiled by -fpic and -fomit-frame-pointer. Basically
 > ebx saved on the stack is overriden by
 > 
 > 	fstpl (%esp)
 > 
 > Later,
 > 
 > 	popl %ebx
 > 
 > put some garbage in ebx. Without -fpic or -fomit-frame-pointer, cexp.s
 > is compiled fine.
 > 
 > BTW, egcs 1.0.3 is ok. The last working egcs 1.1 is 971215 and 971225
 > has the same bug.

H.J., your example is incomplete; the file "cexp.h" is missing!

Thanks.

manfred


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