re PR target/31070 (ICE in function_arg_slotno)
authorJoseph Myers <joseph@codesourcery.com>
Thu, 21 Aug 2008 00:17:45 +0000 (01:17 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 21 Aug 2008 00:17:45 +0000 (01:17 +0100)
PR target/31070
* config/sparc/sparc.c (function_arg_slotno): Handle structure
with MODE_VECTOR_INT mode.

From-SVN: r139363

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 3621422..9d499f2 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-20  Joseph Myers  <joseph@codesourcery.com>
+
+       PR target/31070
+       * config/sparc/sparc.c (function_arg_slotno): Handle structure
+       with MODE_VECTOR_INT mode.
+
 2008-08-21  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
 
        PR middle-end/179
index 58667a2..b74e81e 100644 (file)
@@ -4627,6 +4627,7 @@ function_arg_slotno (const struct sparc_args *cum, enum machine_mode mode,
     {
     case MODE_FLOAT:
     case MODE_COMPLEX_FLOAT:
+    case MODE_VECTOR_INT:
       if (TARGET_ARCH64 && TARGET_FPU && named)
        {
          if (slotno >= SPARC_FP_ARG_MAX)