glibc/sysdeps
Joseph Myers 1dbe6f64ab Don't make local variables static in ldbl-96 j1l.
The ldbl-96 implementation of j1l has some function-local variables
that are declared static for no apparent reason (this dates back to
the first addition of that file).

Any vaguely recent compiler, probably including any that are supported
for building glibc, optimizes away the "static" here, as the values of
the variables on entry to the function are dead.  So there is not
actually a user-visible bug here at present (but with any compilers
that didn't optimize away the static at all, possibly building with
less or no optimization, so that the function stored intermediate
values to and then loaded them from the variables, there would have
been a thread-safety issue).  But the "static" clearly doesn't belong
there and might potentially make things unsafe were compilation
without optimization to be supported in future, so this patch removes
it.

Tested for x86_64.

	* sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
	variables static.
2017-12-06 15:19:06 +00:00
..
aarch64 aarch64: Avoid hidden symbols for memcpy/memmove into static binaries 2017-12-04 21:17:17 +05:30
alpha Use libm_alias_float for alpha. 2017-11-28 01:19:03 +00:00
arm Prefer https for Sourceware links 2017-11-16 11:49:26 +05:30
generic Support _Float64, _Float32x in libm_alias_double. 2017-12-05 17:00:57 +00:00
gnu The -Wstringop-truncation option new in GCC 8 detects common misuses 2017-11-15 17:39:59 -07:00
hppa Handle __gmon_start__ as undefined weak on hppa. 2017-12-02 14:43:28 -05:00
i386 Add _Float64, _Float32x function aliases. 2017-12-06 00:58:03 +00:00
ia64 Use libm_alias_float for ia64. 2017-11-29 17:38:35 +00:00
ieee754 Don't make local variables static in ldbl-96 j1l. 2017-12-06 15:19:06 +00:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k Use libm_alias_float for coldfire. 2017-11-30 23:52:35 +00:00
mach Introduce NO_RTLD_HIDDEN, make hurd use it instead of NO_HIDDEN 2017-10-03 01:33:38 +02:00
microblaze nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
mips mips: Don't use MIN in dl-machine.h 2017-11-30 16:34:09 -08:00
nios2 nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
nptl nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
posix posix: Fix generic p{read,write}v buffer allocation (BZ#22457) 2017-11-24 12:16:15 -02:00
powerpc Add elision tunables 2017-12-05 17:48:48 -02:00
pthread aio: Remove internal_function function attribute 2017-08-31 15:59:06 +02:00
s390 Add elision tunables 2017-12-05 17:48:48 -02:00
sh nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
sparc sparc: Remove ununsed ifunc assembly macros 2017-12-01 15:48:40 -02:00
tile tilegx: tag __insn_OP builtin issue with gcc bugzilla # 2017-12-05 11:36:26 -05:00
unix Add _Float64, _Float32x function aliases. 2017-12-06 00:58:03 +00:00
wordsize-32 Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
wordsize-64 posix: Consolidate Linux glob implementation 2017-09-08 16:34:02 +02:00
x86 Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
x86_64 Use libm_alias_float for x86_64. 2017-11-29 21:25:41 +00:00