]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2015-07-14 Michael Meissner <meissner@linux.vnet.ibm.com>
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Jul 2015 17:15:37 +0000 (17:15 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Jul 2015 17:15:37 +0000 (17:15 +0000)
PR target/66854
* config/rs6000/rs6000.c (rs6000_pass_by_reference): Move test for
null before IEEE 128-bit floating point support patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225843 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index babf07f4901858c42c3ea7d07cecd9dc6e8ee6e7..beea890e672d58da4fe5f96d87efe292ac2a9f94 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/66854
+       * config/rs6000/rs6000.c (rs6000_pass_by_reference): Move test for
+       null before IEEE 128-bit floating point support patch.
+
 2015-07-15  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        * simplify-rtx.c (simplify_ternary_operation): Add simplification
index ed2dd84e81eb6c8b0039adb5545194cb4dd24f03..e4d3959596e38a4950ffadff60d7126cc63f6075 100644 (file)
@@ -10832,6 +10832,9 @@ rs6000_pass_by_reference (cumulative_args_t cum ATTRIBUTE_UNUSED,
                          machine_mode mode, const_tree type,
                          bool named ATTRIBUTE_UNUSED)
 {
+  if (!type)
+    return 0;
+
   if (DEFAULT_ABI == ABI_V4 && TARGET_IEEEQUAD
       && FLOAT128_IEEE_P (TYPE_MODE (type)))
     {
@@ -10840,9 +10843,6 @@ rs6000_pass_by_reference (cumulative_args_t cum ATTRIBUTE_UNUSED,
       return 1;
     }
 
-  if (!type)
-    return 0;
-
   if (DEFAULT_ABI == ABI_V4 && AGGREGATE_TYPE_P (type))
     {
       if (TARGET_DEBUG_ARG)