This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reload/i386 patch for secondary memory vs subregs


> 	* 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]