From: Richard Earnshaw Date: Mon, 10 Jul 2017 09:39:12 +0000 (+0000) Subject: [arm] Fix warning in parsecpu.awk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ff62510e0d3d35889cc4744340923d58297eab9;p=gcc.git [arm] Fix warning in parsecpu.awk 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. (really commit it this time)... From-SVN: r250092 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e71bc79359..2e9afed564a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-10 Richard Earnshaw + + * config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes + in quoted strings. + 2017-07-10 Georg-Johann Lay Move jump-tables out of .text again. @@ -565,11 +570,6 @@ * gcc/config/i386/i386.c (ix86_erase_embedded_rounding): Remove code for old rounding pattern. -2017-07-06 Richard Earnshaw - - * config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes - in quoted strings. - 2017-07-06 Richard Earnshaw * config/arm/t-arm (GTM_H): Add arm-cpu.h. diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk index d096bca33b3..9d01e2cf992 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," }