Incorrect code on PowerPC
Gary Thomas
gdt@linuxppc.org
Mon Jan 4 22:24:00 GMT 1999
The EGCS-1.1.1 compiler generates incorrect code on Linux/PPC (and I'm
sure most any RS6000 target). This problem is [again] a register being
incorrectly reused while it is still live and destined for another use.
This bug makes compiling the latest GTK/GNOME packages fail. I have
extracted a piece of one of the GTK library files and isolated it to
a single function.
The attached file contains the source, ".i", ".s" files, along with
an explanation of why the code is incorrect. I can send the files from
"-da" separately, but they are really large.
Questions:
Is there some document I can read which will help me to better
understand these [dump] files?
Also, a correlation of which file gets generated when and how the
various -Ox options affect this would be useful.
Is there any [portable] way to get some indication in the ".s" file
of the corresponding C source lines?
Thanks. Let me know how I can help with this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkbug.tar.gz
Type: application/x-gzip
Size: 65885 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19990104/46aa7017/attachment.bin>
More information about the Gcc-bugs
mailing list