gcc 2.95.2 PPC code generation bug

Ralph Schmidt laire@basis.owl.de
Tue Apr 25 07:46:00 GMT 2000


In a rekursive dynamicly initialized array gcc forgets to set the result of
a function call. Please look into the .c file to see a closer description
of the problem.

.s contains the ppc assembler with the problem
_noif.s contains the ppc assembler without the problem by simply uncommenting
the previous <if>
_68k.s contains the 68k assembler...no problem.
.e contains the preprocessor version...highly confusing..i know

IMHO a serious problem

test3.c
test3.e
test3.s
test3_noif.s
test3_68k.s
---
Ralph Schmidt,laire@popmail.owl.de(private),NextMail welcome 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3.c
Type: text/x-c
Size: 9063 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000425/89f3cd1c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3.e
Type: text/x-c
Size: 3944 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000425/89f3cd1c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3.s
Type: text/x-asm
Size: 3688 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000425/89f3cd1c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3_68k.s
Type: text/x-asm
Size: 2106 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000425/89f3cd1c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test3_noif.s
Type: text/x-asm
Size: 3472 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000425/89f3cd1c/attachment-0004.bin>


More information about the Gcc-bugs mailing list