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]

[v3] Very minor change to complex


Hi,

tested x86_64-linux, committed to mainline.

Paolo.

////////////////
2007-12-24  Paolo Carlini  <pcarlini@suse.de>

	* include/std/complex (complex<float>::complex(float, float)):
	Uglify parameters.
Index: include/std/complex
===================================================================
--- include/std/complex	(revision 131155)
+++ include/std/complex	(working copy)
@@ -1061,10 +1061,10 @@
   { return __imag__ _M_value; }
 
   inline
-  complex<float>::complex(float r, float i)
+  complex<float>::complex(float __r, float __i)
   {
-    __real__ _M_value = r;
-    __imag__ _M_value = i;
+    __real__ _M_value = __r;
+    __imag__ _M_value = __i;
   }
 
   inline complex<float>&
@@ -1476,7 +1476,7 @@
 
   inline
   complex<double>::complex(const complex<long double>& __z)
-    : _M_value(__z.__rep()) { }
+  : _M_value(__z.__rep()) { }
 
   inline
   complex<long double>::complex(const complex<float>& __z)

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