aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2022-09-29 11:32:52 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2022-09-29 11:32:52 +0100
commit0af214b447529453b356e8e480d7d35b3e642f0e (patch)
treed9ecb5b936a49942ad9bdc3c6287edb25bc4b428 /gcc/config.gcc
parent00c22ba69d8e738a4789b30165ff9c925c508fc1 (diff)
downloadgcc-0af214b447529453b356e8e480d7d35b3e642f0e.zip
gcc-0af214b447529453b356e8e480d7d35b3e642f0e.tar.gz
gcc-0af214b447529453b356e8e480d7d35b3e642f0e.tar.bz2
aarch64: Small config.gcc cleanups
The aarch64-option-extensions.def parsing in config.gcc had some code left over from when it tried to parse the whole macro definition. Also, config.gcc now only looks at the first fields of the aarch64-arches.def entries. gcc/ * config.gcc: Remove dead aarch64-option-extensions.def code. * config/aarch64/aarch64-arches.def: Update comment.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7eb0787..555f257 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -4100,14 +4100,6 @@ case "${target}" in
options_parsed="`$ac_cv_prog_CPP -D"$opt_macro" -x c \
${srcdir}/config/aarch64/aarch64-option-extensions.def`"
- # Match one element inside AARCH64_OPT_EXTENSION, we
- # consume anything that's not a ,.
- elem="[ ]*\([^,]\+\)[ ]*"
-
- # Repeat the pattern for the number of entries in the
- # AARCH64_OPT_EXTENSION, currently 6 times.
- sed_patt="^$elem,$elem,$elem,$elem,$elem,$elem"
-
while [ x"$ext_val" != x ]
do
ext_val=`echo $ext_val | sed -e 's/\+//'`