This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
irix6.5 bootstrap failure in cse.c
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- To: <gcc-bugs at gcc dot gnu dot org>
- Cc: <stuart at apple dot com>
- Date: Fri, 11 Oct 2002 09:57:00 +1000
- Subject: irix6.5 bootstrap failure in cse.c
Current CVS bootstrap fails on irix6.5
cc -c -g -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I/exd4/billingd/src/gcc/gcc -I/exd4/billingd/src/gcc/gcc/. -I/exd4/billingd/src/gcc/gcc/config -I/exd4/billingd/src/gcc/gcc/../include /exd4/billingd/src/gcc/gcc/cse.c -o cse.o
"/exd4/billingd/src/gcc/gcc/cse.c", line 1226: error(1042): operand types are
incompatible ("int" and "rtx")
|| SUBREG_TICKED (i) != SUBREG_REG (x))
^
"/exd4/billingd/src/gcc/gcc/cse.c", line 1233: error(1515): a value of type
"rtx" cannot be assigned to an entity of type "int"
SUBREG_TICKED (i) = SUBREG_REG (x);
^
Strongly suspect the problem is
2002-10-10 Stuart Hastings <stuart@apple.com>
* cse.c (struct cse_reg_info): Add subreg_ticked.
(SUBREG_TICKED): New.
(get_cse_reg_info): Initialize SUBREG_TICKED.
(mention_regs): Use it.
(invalidate): Set SUBREG_TICKED.
(invalidate_for_call): Likewise.
(addr_affects_sp_p): Likewise.