This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] disable var-tracking for math/test-tgmath2.c
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: libc-alpha at sourceware dot org
- Date: Tue, 16 Oct 2012 20:22:19 +0200
- Subject: [PATCH] disable var-tracking for math/test-tgmath2.c
Hi,
var-tracking currently always fails for test-tgmath2.c:
test-tgmath2.c: In function âtestâ:
test-tgmath2.c:93:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
test-tgmath2.c:93:1: note: variable tracking size limit exceeded
With gcc-4.8 it takes 1:40 to compile (this is a gcc regression, see PR54402),
4.6 and 4.7 take 36 seconds.
The following patch just disables var-tracking for this test-case.
The compile time drops to 10 seconds for all gcc versions.
If this looks OK, please apply.
Thanks.
2012-10-16 Markus Trippelsdorf <markus@trippelsdorf.de>
* math/Makefile: Disable var-tracking for test-tgmath2.c
diff --git a/math/Makefile b/math/Makefile
index 7759873..157d07b 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -126,7 +126,7 @@ CFLAGS-test-float.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
CFLAGS-test-double.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
CFLAGS-test-ldouble.c = -fno-inline -ffloat-store -fno-builtin -frounding-math
CFLAGS-test-tgmath.c = -fno-builtin
-CFLAGS-test-tgmath2.c = -fno-builtin
+CFLAGS-test-tgmath2.c = -fno-builtin -fno-var-tracking
CFLAGS-test-tgmath-ret.c = -fno-builtin
CFLAGS-test-powl.c = -fno-builtin
CFLAGS-test-test-fenv.c = -frounding-math
--
Markus