[PATCH COMMITTED] tzset: Remove __attribute_noinline__ from compute_offset
Florian Weimer
fweimer@redhat.com
Fri Mar 3 08:22:00 GMT 2017
After commit 42261ad731991df345880b0b509d83b0b9a9b9d8,
compute_offset is only called once, so not inlining it
increases executable size.
2017-03-03 Florian Weimer <fweimer@redhat.com>
* time/tzset.c (compute_offset): Remove __attribute_noinline__.
diff --git a/time/tzset.c b/time/tzset.c
index eb42069..404f1db 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -168,7 +168,6 @@ update_vars (void)
static unsigned int
-__attribute_noinline__
compute_offset (unsigned int ss, unsigned int mm, unsigned int hh)
{
return min (ss, 59) + min (mm, 59) * 60 + min (hh, 24) * 60 * 60;
More information about the Libc-alpha
mailing list