Skip to content

Instantly share code, notes, and snippets.

@ivarne
Created January 25, 2014 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivarne/8616526 to your computer and use it in GitHub Desktop.
Save ivarne/8616526 to your computer and use it in GitHub Desktop.
src/e_j0.c:281:10: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0.c:283:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0.c:281:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:273:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j0.c:281:10: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0.c:284:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j0.c:281:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:273:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
src/e_j0.c:376:10: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0.c:378:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0.c:376:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:368:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j0.c:376:10: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0.c:379:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j0.c:376:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:368:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
4 warnings generated.
src/e_j0f.c:237:10: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:239:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0f.c:237:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:229:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j0f.c:237:10: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:240:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j0f.c:237:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:229:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
src/e_j0f.c:332:10: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:334:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0f.c:332:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:324:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j0f.c:332:10: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:335:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j0f.c:332:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:324:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
4 warnings generated.
src/e_j1.c:275:17: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1.c:277:13: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1.c:275:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:267:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j1.c:275:17: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1.c:278:20: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j1.c:275:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:267:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
src/e_j1.c:371:10: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1.c:373:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1.c:371:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:363:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j1.c:371:10: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1.c:374:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j1.c:371:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:363:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
4 warnings generated.
src/e_j1f.c:232:17: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1f.c:234:13: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1f.c:232:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:224:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j1f.c:232:17: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1f.c:235:20: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j1f.c:232:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:224:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
src/e_j1f.c:328:10: warning: variable 'p' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1f.c:330:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1f.c:328:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:320:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j1f.c:328:10: warning: variable 'q' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1f.c:331:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j1f.c:328:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:320:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
4 warnings generated.
amd64/fenv.c:51:15: warning: attribute declaration must precede definition [-Wignored-attributes]
extern inline DLLEXPORT int feclearexcept(int __excepts);
^
/Users/ivarne/dev/julia/deps/openlibm/src/math_private.h:452:35: note: expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ivarne/dev/julia/deps/openlibm/amd64/fenv.h:97:1: note: previous definition is here
feclearexcept(int __excepts)
^
amd64/fenv.c:52:15: warning: attribute declaration must precede definition [-Wignored-attributes]
extern inline DLLEXPORT int fegetexceptflag(fexcept_t *__flagp, int __excepts);
^
/Users/ivarne/dev/julia/deps/openlibm/src/math_private.h:452:35: note: expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ivarne/dev/julia/deps/openlibm/amd64/fenv.h:115:1: note: previous definition is here
fegetexceptflag(fexcept_t *__flagp, int __excepts)
^
amd64/fenv.c:82:15: warning: attribute declaration must precede definition [-Wignored-attributes]
extern inline DLLEXPORT int fetestexcept(int __excepts);
^
/Users/ivarne/dev/julia/deps/openlibm/src/math_private.h:452:35: note: expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ivarne/dev/julia/deps/openlibm/amd64/fenv.h:130:1: note: previous definition is here
fetestexcept(int __excepts)
^
amd64/fenv.c:83:15: warning: attribute declaration must precede definition [-Wignored-attributes]
extern inline DLLEXPORT int fegetround(void);
^
/Users/ivarne/dev/julia/deps/openlibm/src/math_private.h:452:35: note: expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ivarne/dev/julia/deps/openlibm/amd64/fenv.h:141:1: note: previous definition is here
fegetround(void)
^
amd64/fenv.c:84:15: warning: attribute declaration must precede definition [-Wignored-attributes]
extern inline DLLEXPORT int fesetround(int __round);
^
/Users/ivarne/dev/julia/deps/openlibm/src/math_private.h:452:35: note: expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ivarne/dev/julia/deps/openlibm/amd64/fenv.h:156:1: note: previous definition is here
fesetround(int __round)
^
amd64/fenv.c:115:15: warning: attribute declaration must precede definition [-Wignored-attributes]
extern inline DLLEXPORT int fesetenv(const fenv_t *__envp);
^
/Users/ivarne/dev/julia/deps/openlibm/src/math_private.h:452:35: note: expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ivarne/dev/julia/deps/openlibm/amd64/fenv.h:181:1: note: previous definition is here
fesetenv(const fenv_t *__envp)
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment