From 0619092a95b920950947a3da1718d91249f7b1d1 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sun, 3 Jul 2016 03:09:11 +0300 Subject: [PATCH] command: workaround hang on autocompletion Not sure what's going on exactly, some complete_cmdv() miscompilation? Not worth spending time to find out. --- common/command.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/command.c b/common/command.c index 50c84292c16..a372632a756 100644 --- a/common/command.c +++ b/common/command.c @@ -21,6 +21,10 @@ * MA 02111-1307 USA */ +#if defined(__GNUC__) && defined(__OPTIMIZE__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 4) +#pragma GCC optimize ("O2") +#endif + /* * Command Processor Table */ -- 2.39.5