Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2012 05:36:40 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r234023 - stable/9/contrib/gcc
Message-ID:  <201204080536.q385aer2095511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Sun Apr  8 05:36:40 2012
New Revision: 234023
URL: http://svn.freebsd.org/changeset/base/234023

Log:
  MFC: r233923
  
  Fix a typo in GCC affecting calculations with -ffast-math.
  
  The fix is similar to the one applied in GCC-4.3 in
  GCCSVN-r117929 under the GPLv2.
  
  Submitted by:	Andrey Simonenko
  Reviewed by:	mm
  Approved by:	jhb (mentor)

Modified:
  stable/9/contrib/gcc/ChangeLog.gcc43
  stable/9/contrib/gcc/builtins.c
Directory Properties:
  stable/9/contrib/gcc/   (props changed)

Modified: stable/9/contrib/gcc/ChangeLog.gcc43
==============================================================================
--- stable/9/contrib/gcc/ChangeLog.gcc43	Sun Apr  8 05:09:40 2012	(r234022)
+++ stable/9/contrib/gcc/ChangeLog.gcc43	Sun Apr  8 05:36:40 2012	(r234023)
@@ -169,3 +169,8 @@
 	* doc/extend.texi: Document SSSE3 built-in functions.
 
 	* doc/invoke.texi: Document -mssse3/-mno-ssse3 switches.
+
+2006-10-21  Richard Guenther  <rguenther@suse.de>
+
+	* builtins.c (fold_builtin_classify): Fix typo.
+

Modified: stable/9/contrib/gcc/builtins.c
==============================================================================
--- stable/9/contrib/gcc/builtins.c	Sun Apr  8 05:09:40 2012	(r234022)
+++ stable/9/contrib/gcc/builtins.c	Sun Apr  8 05:36:40 2012	(r234023)
@@ -8738,7 +8738,7 @@ fold_builtin_classify (tree fndecl, tree
     case BUILT_IN_FINITE:
       if (!HONOR_NANS (TYPE_MODE (TREE_TYPE (arg)))
 	  && !HONOR_INFINITIES (TYPE_MODE (TREE_TYPE (arg))))
-	return omit_one_operand (type, integer_zero_node, arg);
+	return omit_one_operand (type, integer_one_node, arg);
 
       if (TREE_CODE (arg) == REAL_CST)
 	{



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204080536.q385aer2095511>