2.95.3.test4 problem
Richard Zidlicky
Richard.Zidlicky@stud.informatik.uni-erlangen.de
Sat Mar 17 14:32:00 GMT 2001
Hello,
an -fPIC related problem, appeared in lesstif-0.92.21
compile command:
gcc -O2 -fomit-frame-pointer -m68020-60 -Wmissing-prototypes \
-Wstrict-prototypes -Wimplicit-function-dec -Wimplicit-int \
-Wmissing-declarations -S display.i -fPIC -DPIC -o display.s
- file display.i attached.
wrong code generated for _XmGetXmDisplayClass - stack pointer is never poped
_XmGetXmDisplayClass:
move.l %a5,-(%sp)
lea (%pc, _GLOBAL_OFFSET_TABLE_@GOTPC), %a5
move.l __XmDisplayClass@GOT(%a5),%a0
tst.l (%a0)
jbne .L92
move.l xmDisplayClassRec@GOT(%a5),(%a0)
.L92:
move.l (%a0),%a0
rts
Bye
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: display.i.bz2
Type: application/x-bzip2
Size: 43995 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010317/d1527f8b/attachment.bz2>
More information about the Gcc-bugs
mailing list