diff mbox series

preprocessor: Make quoting : [PR 95253]

Message ID c1f580c6-9308-8d9f-bab7-c3e4299ff6dd@acm.org
State New
Headers show
Series preprocessor: Make quoting : [PR 95253] | expand

Commit Message

Nathan Sidwell Jan. 15, 2021, 4:56 p.m. UTC
I changed the quoting of ':', this restores it.  Make doesn't need ':' 
quoting (in a filename).

             PR preprocessor/95253
             libcpp/
             * mkdeps.c (munge): Do not escape ':'.

Comments

Nathan Sidwell Jan. 15, 2021, 7:38 p.m. UTC | #1
I missed some testsuite	fall out with my patch to fix mkdeps file
mangling.

	PR preprocessor/95253
         gcc/testsuite/
         * g++.dg/modules/dep-1_a.C: Adjust expected output.
         * g++.dg/modules/dep-1_b.C: Likewise.
         * g++.dg/modules/dep-2.C:	Likewise.
diff mbox series

Patch

diff --git i/libcpp/mkdeps.c w/libcpp/mkdeps.c
index 471e449a19d..1867e0089d7 100644
--- i/libcpp/mkdeps.c
+++ w/libcpp/mkdeps.c
@@ -162,7 +162,6 @@  munge (const char *str, const char *trail = nullptr)
 	      /* FALLTHROUGH  */
 
 	    case '#':
-	    case ':':
 	      buf[dst++] = '\\';
 	      /* FALLTHROUGH  */