]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/genmultilib
Correct a function pre/postcondition [PR102403].
[thirdparty/gcc.git] / gcc / genmultilib
index 0767e68719ec4af099a50325f0e5ec606bef75d6..68013af63590bda7e512166c595ab5b540c943d5 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh 
 # Generates multilib.h.
-#   Copyright (C) 1994-2017 Free Software Foundation, Inc.
+#   Copyright (C) 1994-2021 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -462,7 +462,7 @@ echo "};"
 # Generate a regular expression to validate option combinations.
 options_re=
 for set in ${options}; do
-  for opt in `echo ${set} | sed -e 's_[/|]_ _g'`; do
+  for opt in `echo ${set} | sed -e 's_[/|]_ _g' -e 's/+/./g' `; do
     options_re="${options_re}${options_re:+|}${opt}"
   done
 done