This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: rtl.h warning removal
- From: rbrown64 at csc dot com dot au
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 May 2003 14:21:59 +1000
- Subject: Patch: rtl.h warning removal
Warning removal, from the 20030428 3.3 pre snapshot.
Copyright assigned, no CVS write access, no testsuite regressions on
i686-unknown-sysv5UnixWare7.1.0 .
2003-05-01 Rodney Brown <rbrown64@csc.com.au>
* rtl.h: Prototype subreg_offset_representable_p.
--- rtl.h.orig Tue Apr 29 12:52:52 2003
+++ rtl.h Wed Apr 30 15:30:10 2003
@@ -1035,6 +1035,10 @@
unsigned int,
enum machine_mode));
extern unsigned int subreg_regno PARAMS ((rtx));
+extern bool subreg_offset_representable_p PARAMS ((unsigned int,
+ enum machine_mode,
+ unsigned int,
+ enum machine_mode));
/* 1 if RTX is a subreg containing a reg that is already known to be
sign- or zero-extended from the mode of the subreg to the mode of
0428/gcc/emit-rtl.c: In function `subreg_hard_regno':
0428/gcc/emit-rtl.c:929: warning: implicit declaration of function `subreg_offset_representable_p'
0428/gcc/emit-rtl.c: In function `set_mem_attributes_minus_bitpos':
0428/gcc/emit-rtl.c:1854: warning: comparison between signed and unsigned
0428/gcc/reload.c: In function `reload_inner_reg_of_subreg':
0428/gcc/reload.c:823: warning: implicit declaration of function `subreg_offset_representable_p'
0428/gcc/reload.c: In function `find_reloads':
0428/gcc/reload.c:2880: warning: function `subreg_offset_representable_p' was previously declared within a block
0428/gcc/rtlanal.c:3173: warning: function declaration isn't a prototype
3171 bool
3172 subreg_offset_representable_p (xregno, xmode, offset, ymode)
3173 unsigned int xregno;
3174 enum machine_mode xmode;
3175 unsigned int offset;
3176 enum machine_mode ymode;
3177 {