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]
Other format: [Raw text]

[committed] Fix PR target/33948


This patch fixes a stupid typo I introduced.

Richard


gcc/
	PR target/33948
	* config/mips/mips.c (mips_fpr_return_fields): Fix SCALAR_TYPE_P
	check.

Index: gcc/config/mips/mips.c
===================================================================
--- gcc/config/mips/mips.c	(revision 129738)
+++ gcc/config/mips/mips.c	(working copy)
@@ -4407,7 +4407,7 @@ mips_fpr_return_fields (const_tree valty
       if (TREE_CODE (field) != FIELD_DECL)
 	continue;
 
-      if (SCALAR_FLOAT_TYPE_P (TREE_TYPE (field)))
+      if (!SCALAR_FLOAT_TYPE_P (TREE_TYPE (field)))
 	return 0;
 
       if (i == 2)


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