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]

[PATCH] dgux.h SELECT_RTX_SECTION macro problem



Trivial problem with the dgux.h header file dealing with the
SELECT_RTX_SECTION macro. It wasn't passing on the proper number
of arguments to symbolic_operand.

BTW: Anyone else out there using dgux-m88k or dgux-intel? I may need
some others to help with testing some of this code. My intent with
dgux-intel is to *not* break that port if it is working properly. I
don't have a dgux-intel machine for testing. Any volunteers?

2001-09-09  Matthew Hudson  <mhudson@home.com>

        * dgux.h: SELECT_RTX_SECTION macro wasn't passing on the
        correct number of arguments to symbolic_operand function.

===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m88k/dgux.h,v
retrieving revision 1.9
diff -u -r1.9 dgux.h
--- dgux.h      2000/12/07 02:01:22     1.9
+++ dgux.h      2001/09/09 20:41:25
@@ -296,7 +296,7 @@
 #undef SELECT_RTX_SECTION
 #define SELECT_RTX_SECTION(MODE,RTX)            \
 {                                               \
-  if (flag_pic && symbolic_operand (RTX))       \
+  if (flag_pic && symbolic_operand (RTX,MODE))  \
     data_section ();                            \
   else                                          \
     const_section ();                           \


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