> * reload1.c (replaced_subreg): New static function.
> (gen_reload): Use it when deciding whether to use secondary
> memory.
This causes the following on hppa*-*-* (32-bit):
../../gcc/gcc/reload1.c: In function 'rtx_def* gen_reload(rtx, rtx, int, reload_
type)':
../../gcc/gcc/reload1.c:8494:12: error: unused variable 'tem1' [-Werror=unused-v
ariable]
rtx tem, tem1, tem2;
^
../../gcc/gcc/reload1.c:8494:18: error: unused variable 'tem2'
[-Werror=unused-variable]
rtx tem, tem1, tem2;
^
../../gcc/gcc/reload1.c: At global scope:
../../gcc/gcc/reload1.c:8477:1: error:
'rtx_def* replaced_subreg(rtx)' defined but not used [-Werror=unused-function]
replaced_subreg (rtx x)
^
cc1plus: all warnings being treated as
errors
make[3]: *** [reload1.o] Error 1
Dave
--
J. David Anglin [email protected]
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)