public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [C++ PATCH] config-lang.in
@ 2017-05-22 12:27 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2017-05-22 12:27 UTC (permalink / raw)
  To: GCC Patches; +Cc: Bernd Edlinger

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

gtfiles in config-lang.in is a massive line of confusion.  While very 
rarely modified, it's completely impossible^W^Wreally hard to tell 
what's changed.

Committed this patch to break the line and sort it.  Although sh can 
cope with newlines in the middle of a string, the value gets fed to 
make, which doesn't understand.  Hence the escaped newlines.

nathan
-- 
Nathan Sidwell

[-- Attachment #2: cfgin.diff --]
[-- Type: text/x-patch, Size: 2247 bytes --]

2017-05-22  Nathan Sidwell  <nathan@acm.org>

	* config-lang.in (gtfiles): Sort list, break lines.

Index: config-lang.in
===================================================================
--- config-lang.in	(revision 248326)
+++ config-lang.in	(working copy)
@@ -29,4 +29,28 @@ compilers="cc1plus\$(exeext)"
 
 target_libs="target-libstdc++-v3"
 
-gtfiles="\$(srcdir)/cp/rtti.c \$(srcdir)/cp/mangle.c \$(srcdir)/cp/name-lookup.h \$(srcdir)/cp/name-lookup.c \$(srcdir)/cp/cp-tree.h \$(srcdir)/cp/decl.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \$(srcdir)/cp/pt.c \$(srcdir)/cp/repo.c \$(srcdir)/cp/semantics.c \$(srcdir)/cp/tree.c \$(srcdir)/cp/parser.h \$(srcdir)/cp/parser.c \$(srcdir)/cp/method.c \$(srcdir)/cp/typeck2.c \$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/c-family/c-lex.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.c \$(srcdir)/c-family/c-format.c \$(srcdir)/cp/class.c \$(srcdir)/cp/cp-objcp-common.c \$(srcdir)/cp/cp-lang.c \$(srcdir)/cp/except.c \$(srcdir)/cp/vtable-class-hierarchy.c \$(srcdir)/cp/constexpr.c \$(srcdir)/cp/cp-gimplify.c \$(srcdir)/cp/init.c \$(srcdir)/cp/friend.c \$(srcdir)/cp/lambda.c"
+# The header files must come first, but otherwise please keep this
+# list sorted.
+gtfiles="\
+\$(srcdir)/cp/name-lookup.h \$(srcdir)/cp/cp-tree.h \
+\$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-objc.h \
+\$(srcdir)/c-family/c-pragma.h \$(srcdir)/cp/decl.h \
+\$(srcdir)/cp/parser.h \
+\$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-format.c \
+\$(srcdir)/c-family/c-lex.c \$(srcdir)/c-family/c-pragma.c \
+\$(srcdir)/cp/call.c \$(srcdir)/cp/class.c \$(srcdir)/cp/constexpr.c \
+\$(srcdir)/cp/cp-gimplify.c \
+\$(srcdir)/cp/cp-lang.c \$(srcdir)/cp/cp-objcp-common.c \
+\$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \
+\$(srcdir)/cp/except.c \
+\$(srcdir)/cp/friend.c \
+\$(srcdir)/cp/init.c \
+\$(srcdir)/cp/lambda.c \
+\$(srcdir)/cp/mangle.c \$(srcdir)/cp/method.c \
+\$(srcdir)/cp/name-lookup.c \
+\$(srcdir)/cp/parser.c \$(srcdir)/cp/pt.c \
+\$(srcdir)/cp/repo.c \$(srcdir)/cp/rtti.c \
+\$(srcdir)/cp/semantics.c \
+\$(srcdir)/cp/tree.c \$(srcdir)/cp/typeck2.c \
+\$(srcdir)/cp/vtable-class-hierarchy.c \
+" 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-22 12:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22 12:27 [C++ PATCH] config-lang.in Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).