aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2018-02-04 23:16:08 -0800
committerEthan Chen <intervigil@gmail.com>2018-02-04 23:17:06 -0800
commit5cab584e8b93bd71022776043c686d92463a6483 (patch)
tree898e6c883bb2990443ac362ddc2107c80c88ab54
parent107d925228542cab4a98b54598d15665375f7dea (diff)
downloadandroid_external_bash-staging/lineage-15.1.tar.gz
android_external_bash-staging/lineage-15.1.tar.bz2
android_external_bash-staging/lineage-15.1.zip
readline: Don't attempt to optimize strange functionstaging/lineage-15.1
* clang explodes trying to optimize this function, so don't let it. Change-Id: I661c0c761366e6a080cd33f92db5d7dad5907dfa
-rw-r--r--lib/readline/histexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readline/histexpand.c b/lib/readline/histexpand.c
index 4899b9d..d0a2fb0 100644
--- a/lib/readline/histexpand.c
+++ b/lib/readline/histexpand.c
@@ -310,7 +310,7 @@ get_history_event (string, caller_index, delimiting_quote)
to the closing single quote. FLAGS currently used to allow backslash
to escape a single quote (e.g., for bash $'...'). */
static void
-hist_string_extract_single_quoted (string, sindex, flags)
+hist_string_extract_single_quoted (string, sindex, flags) __attribute__((optnone))
char *string;
int *sindex, flags;
{