In awk, single quotes within a quoted string do not need escaping.  The
existing code causes awk to grumble in the build logs.

        * config/arm/parsecpu.awk (gen_comm_data): Do not escape single
        quotes in quoted strings.

Committed.

R.
diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk
index d096bca..9d01e2c 100644
--- a/gcc/config/arm/parsecpu.awk
+++ b/gcc/config/arm/parsecpu.awk
@@ -301,7 +301,7 @@ function gen_comm_data () {
 	    arch_base[archs[n]] ","
 	# profile letter code, or zero if none.
 	if (archs[n] in arch_prof) {
-	    print "    \'" arch_prof[archs[n]] "\',"
+	    print "    '" arch_prof[archs[n]] "',"
 	} else {
 	    print "    0,"
 	}

Reply via email to