This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reload/i386 patch for secondary memory vs subregs
- From: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 11 Aug 2012 10:20:12 -0400
- Subject: Re: Reload/i386 patch for secondary memory vs subregs
- References: <501BE12F.2000205@codesourcery.com>
- Reply-to: John David Anglin <dave dot anglin at nrc-cnrc dot gc dot ca>
> * 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 dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)