This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
New bootstrap failure on irix6 on reload1.c
- To: rth at redhat dot com
- Subject: New bootstrap failure on irix6 on reload1.c
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 18 Feb 2001 10:21:59 -0500 (EST)
- Cc: gcc-bugs at gcc dot gnu dot org
Recent CVS has the following bootstrap failure on irix6.2:
> "reload1.c", line 8246: error(1515): a value of type "struct rtx_def *"
> cannot be assigned to an entity of type "int"
> this_val = GEN_INT (this_val);
> ^
> 1 error detected in the compilation of "reload1.c".
> make-6.2[2]: *** [reload1.o] Error 2
Other compilers only issue a warning, but IMO its definitely a bug.
BTW, I think it affects both the trunk and the branch.
I believe the code in question came from this patch:
> 2001-02-17 Richard Henderson <rth@redhat.com>
>
> * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
> when replacing a memory load with a register.
namely:
> HOST_WIDE_INT this_val;
> [...]
> this_val = GEN_INT (this_val);
Did you mean to assign to `this_rtx' here?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions