i386: symbolic_operand args unused?

Robert Lipe robertlipe@usa.net
Sun Sep 26 14:45:00 GMT 1999


Richard Henderson wrote:
> On Sun, Sep 26, 1999 at 10:05:27AM -0500, Robert Lipe wrote:
> 
> > is there any preferred value for the callers in dgux.h and
> > sco5.h that should be added?
> 
> VOIDmode if you don't care, and it doesn't appear that you do.

I've applied the following under the "obvious and correct based
on an unambiguous clue given by a maintainer" rule.

Thanx,
RJL


Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)

	* config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
	for symbolic_operand().
	* config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.




Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)

	* config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
	for symbolic_operand().
	* config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.

Index: sco5.h
===================================================================
RCS file: /cvs/egcs/egcs/gcc/config/i386/sco5.h,v
retrieving revision 1.28
diff -u -p -r1.28 sco5.h
--- sco5.h	1999/09/15 21:41:14	1.28
+++ sco5.h	1999/09/26 21:37:22
@@ -381,7 +381,7 @@ do {									\
 #define SELECT_RTX_SECTION(MODE,RTX)					\
 {									\
   if (TARGET_ELF) {							\
-    if (flag_pic && symbolic_operand (RTX))				\
+    if (flag_pic && symbolic_operand (RTX, VOIDmode))			\
       data_section ();							\
     else								\
       const_section ();							\
Index: dgux.h
===================================================================
RCS file: /cvs/egcs/egcs/gcc/config/i386/dgux.h,v
retrieving revision 1.7
diff -u -p -r1.7 dgux.h
--- dgux.h	1999/05/30 13:33:11	1.7
+++ dgux.h	1999/09/26 21:37:23
@@ -228,7 +228,7 @@ Boston, MA 02111-1307, USA.  */
 #undef SELECT_RTX_SECTION
 #define SELECT_RTX_SECTION(MODE,RTX)            \
 {                                               \
-  if (flag_pic && symbolic_operand (RTX))       \
+  if (flag_pic && symbolic_operand (RTX, VOIDmode)) \
     data_section ();                            \
   else                                          \
     const_section ();                           \


More information about the Gcc-patches mailing list