New bootstrap failure on irix6 on reload1.c
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sun Feb 18 07:22:00 GMT 2001
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
More information about the Gcc-bugs
mailing list