Patchwork [3/3] Indentation change to fix build with latest GCC

login
register
mail settings
Submitter Steve Ellcey
Date Dec. 11, 2015, 5:18 p.m.
Message ID <7408d9f3-7593-4dab-8128-656f9141830e@BAMAIL02.ba.imgtec.org>
Download mbox | patch
Permalink /patch/9985/
State New
Headers show

Comments

Steve Ellcey - Dec. 11, 2015, 5:18 p.m.
Here is the third indentation issue I ran into.  I was able to do a basic
MIPS glibc build to completion after applying this patch (and the earlier
two).

Checking it in as obvious.

Steve Ellcey
sellcey@imgtec.com


2015-12-11  Steve Ellcey  <sellcey@imgtec.com>

	* sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
	Fix indentation.

Patch

diff --git a/sysdeps/ieee754/flt-32/k_rem_pio2f.c b/sysdeps/ieee754/flt-32/k_rem_pio2f.c
index 0c7685c..392afdb 100644
--- a/sysdeps/ieee754/flt-32/k_rem_pio2f.c
+++ b/sysdeps/ieee754/flt-32/k_rem_pio2f.c
@@ -65,7 +65,9 @@  int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32
 
     /* compute q[0],q[1],...q[jk] */
 	for (i=0;i<=jk;i++) {
-	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
+	    for(j=0,fw=0.0;j<=jx;j++)
+		fw += x[j]*f[jx+i-j];
+	    q[i] = fw;
 	}
 
 	jz = jk;