* [PATCH 0/3] bugs exposed by higher levels of compiler optimization
@ 2013-02-10 22:31 Jens Gustedt
0 siblings, 0 replies; only message in thread
From: Jens Gustedt @ 2013-02-10 22:31 UTC (permalink / raw)
To: musl
When switching optimization to higher levels (-O3) and enable link
time optimization (-flto) gcc found some things to complain, but which
are easily repaired with the following three patches.
The first two, concern minor bugs in musl that are exposed by
optimization; potentially optimized variables across longjmp or
similar.
The third, concerns a bug in ld, but which is easily circumvented.
Jens Gustedt (3):
protect some clobbered variables with volatile
Have different definitions of __pthread_tsd_main agree in size
use the real symbol name for environ in execvp
src/ldso/dynlink.c | 2 +-
src/process/execvp.c | 4 ++--
src/stdio/popen.c | 2 +-
src/thread/pthread_self.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-10 22:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-10 22:31 [PATCH 0/3] bugs exposed by higher levels of compiler optimization Jens Gustedt
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).