]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/rs6000/rs6000.h
*** empty log message ***
[gcc.git] / gcc / config / rs6000 / rs6000.h
index d639807f34d32d28f8783e1d6ee357e2b67ccdd9..624adf6d8f6883cfd458157f21ad4f191c544284 100644 (file)
@@ -714,7 +714,8 @@ struct rs6000_args {int words, fregno, nargs_prototype; };
 
 #define FUNCTION_ARG(CUM, MODE, TYPE, NAMED)                           \
   (! (NAMED) ? 0                                                       \
-  : USE_FP_FOR_ARG_P (CUM, MODE, TYPE)                                 \
+   : ((TYPE) != 0 && TREE_CODE (TYPE_SIZE (TYPE)) != INTEGER_CST)      \
+   : USE_FP_FOR_ARG_P (CUM, MODE, TYPE)                                        \
    ? ((CUM).nargs_prototype > 0                                                \
       ? gen_rtx (REG, MODE, (CUM).fregno)                              \
       : ((CUM).words < 8                                               \
@@ -1437,18 +1438,7 @@ toc_section ()                                           \
   RS6000_OUTPUT_BASENAME (FILE, NAME);                         \
   fprintf (FILE, ":\n");                                       \
   if (write_symbols == XCOFF_DEBUG)                            \
-    {                                                          \
-      dbxout_symbol (DECL, 0);                                 \
-      fprintf (FILE, "\t.function .");                         \
-      RS6000_OUTPUT_BASENAME (FILE, NAME);                     \
-      fprintf (FILE, ",.");                                    \
-      RS6000_OUTPUT_BASENAME (FILE, NAME);                     \
-      fprintf (FILE, ",16,044,L..end_");                       \
-      RS6000_OUTPUT_BASENAME (FILE, NAME);                     \
-      fprintf (FILE, "-.");                                    \
-      RS6000_OUTPUT_BASENAME (FILE, NAME);                     \
-      fprintf (FILE, "\n");                                    \
-    }                                                          \
+    xcoffout_declare_function (FILE, DECL, NAME);              \
 }
 
 /* Return non-zero if this entry is to be written into the constant pool
@@ -1806,7 +1796,7 @@ toc_section ()                                            \
   {"short_cint_operand", {CONST_INT}},                         \
   {"u_short_cint_operand", {CONST_INT}},                       \
   {"non_short_cint_operand", {CONST_INT}},                     \
-  {"gen_reg_operand", {SUBREG, REG}},                          \
+  {"gpc_reg_operand", {SUBREG, REG}},                          \
   {"cc_reg_operand", {SUBREG, REG}},                           \
   {"reg_or_short_operand", {SUBREG, REG, CONST_INT}},          \
   {"reg_or_neg_short_operand", {SUBREG, REG, CONST_INT}},      \
This page took 0.028495 seconds and 5 git commands to generate.