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]

two possible bad asm generation bugs on cc1plus 2.96 20000731 (+some patches)


Sorry, don't have time to track this one down further at the moment.
Looks like cstree.ii may actually be a binutils bug, I'm not sure.

Breaks on our 20000731 build, also verified from CVS head:

[root@gcc3 gcc]# ./cc1plus -version 
GNU C++ version 2.96 20000822 (experimental) (i386-redhat-linux) compiled by GNU C version 2.96 20000731 (experimental).

Running our binutils-2.10.0.18-1 package.

http://people.redhat.com/msw/cstree.ii
http://people.redhat.com/msw/scan16.ii

Attached as badfiles.tar.gz

[root@gcc3 CS]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (experimental)
[root@gcc3 CS]# gcc -c scan16.ii
/tmp/ccWQ4bAa.s: Assembler messages:
/tmp/ccWQ4bAa.s:11430: Error: local label "6" (instance number 1 of a fb label) is not defined
[root@gcc3 CS]# gcc -O2 -c cstree.ii 
/tmp/ccOswppb.s: Assembler messages:
/tmp/ccOswppb.s:4039: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:4799: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:4946: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:5099: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:5157: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:5301: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:5454: Error: immediate operand illegal with absolute jump
/tmp/ccOswppb.s:5512: Error: immediate operand illegal with absolute jump

"gcc -c cstree.ii" works.

Matt

badfiles.tar.gz


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