[patch] [committed] Add TAGS for timevar.def

Aldy Hernandez aldyh@redhat.com
Thu Sep 4 19:23:00 GMT 2014

Dunno, if I'm allowed to make calls on what an obvious patch is, 
considering I completely broke trunk with my last commit to the 
debug-early branch, but I'll take my chances...

Yet another *.def file that needs handling in the TAGS file.

Committed to trunk as obvious.

-------------- next part --------------
commit be2a57c0df761552944acacacf4c43b1e36f2f2c
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Thu Sep 4 10:35:20 2014 -0700

    	* Makefile.in (TAGS): Handle constructs in timevar.def.

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 63124f8..df879b1 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3806,6 +3806,7 @@ TAGS: lang.tags
 	etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c *.cc \
 	      --language=none --regex="/\(char\|unsigned int\|int\|bool\|void\|HOST_WIDE_INT\|enum [A-Za-z_0-9]+\) [*]?\([A-Za-z_0-9]+\)/\2/" common.opt	\
 	      --language=none --regex="/\(DEF_RTL_EXPR\|DEFTREECODE\|DEFGSCODE\).*(\([A-Za-z_0-9]+\)/\2/" rtl.def tree.def gimple.def \
+	      --language=none --regex="/DEFTIMEVAR (\([A-Za-z_0-9]+\)/\1/" timevar.def \
 		; \
 	etags --include TAGS.sub $$incs)

More information about the Gcc-patches mailing list