summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/swprintf.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-01-06 19:04:59 +0000
committered <ed@FreeBSD.org>2012-01-06 19:04:59 +0000
commit888b946dd29027ca585859a2961df50f0259e0a0 (patch)
tree3198598ec6529267d8e4b1a467d8eedcf5019fed /lib/libc/stdio/swprintf.c
parent59483a638a02eff9fb03fa1887084910f65a95ee (diff)
downloadFreeBSD-src-888b946dd29027ca585859a2961df50f0259e0a0.zip
FreeBSD-src-888b946dd29027ca585859a2961df50f0259e0a0.tar.gz
Last attempt at <tgmath.h>: do enable the new code for C11 compilers.
I was thinking by myself, if the new code doesn't work with GCC 4.2, why not simply turn it into an efficient version for C11 compilers? By changing the code to use _Generic() directly in that case, I can build the tgmath regression test in a matter of milliseconds with Clang, instead of the 8 seconds it used to take. So by the time C11 becomes the default, it will pick up the new code automatically. And now I will refrain from making more changes to <tgmath.h>.
Diffstat (limited to 'lib/libc/stdio/swprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud