arc.c: Delete pasto.
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 16 Nov 2010 15:48:28 +0000 (15:48 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 16 Nov 2010 15:48:28 +0000 (15:48 +0000)
* config/arc/arc.c: Delete pasto.
* config/pa/pa.c (pa_function_arg_boundary): Add missing comparison.

From-SVN: r166806

gcc/ChangeLog
gcc/config/arc/arc.c
gcc/config/pa/pa.c

index 03c109a..1ba5586 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-16  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/arc/arc.c: Delete pasto.
+       * config/pa/pa.c (pa_function_arg_boundary): Add missing comparison.
+
 2010-11-16  Anatoly Sokolov  <aesok@post.ru>
 
        * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS,
index 2b1c704..d822f59 100644 (file)
@@ -2426,10 +2426,6 @@ arc_function_arg_advance (CUMULATIVE_ARGS *cum, enum machine_mode mode,
          + ROUND_ADVANCE_ARG (mode, type));
 }
 
-/* If defined, a C expression that gives the alignment boundary, in bits,
-   of an argument with the specified mode and type.  If it is not defined, 
-   PARM_BOUNDARY is used for all arguments.  */
-#define FUNCTION_ARG_BOUNDARY(MODE, TYPE) \
 /* Worker function for TARGET_FUNCTION_ARG_BOUNDARY.  */
 
 static unsigned int
index 988d80f..366ce01 100644 (file)
@@ -9613,7 +9613,7 @@ pa_function_arg_boundary (enum machine_mode mode, const_tree type)
                     ? (integer_zerop (size)
                        || !TREE_CONSTANT (size)
                        || int_size_in_bytes (type) <= UNITS_PER_WORD)
-                    : GET_MODE_SIZE (mode));
+                    : GET_MODE_SIZE (mode) <= UNITS_PER_WORD);
 
   return singleword ? PARM_BOUNDARY : MAX_PARM_BOUNDARY;
 }