[PATCH] disable var-tracking for math/test-tgmath2.c

Markus Trippelsdorf markus@trippelsdorf.de
Tue Oct 16 18:22:00 GMT 2012


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



More information about the Libc-alpha mailing list