This is the mail archive of the 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]

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

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

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