From: Tom Lane Date: Tue, 24 Jan 2012 18:44:07 +0000 (-0500) Subject: Suppress variable-clobbered-by-longjmp warning seen with older gcc versions. X-Git-Tag: REL9_2_BETA1~553 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f26c9896b3da1b6aa5c560c4743f22a2a6c84919;p=postgresql Suppress variable-clobbered-by-longjmp warning seen with older gcc versions. --- diff --git a/src/backend/utils/misc/guc-file.l b/src/backend/utils/misc/guc-file.l index c6c1558475..1a5e383b15 100644 --- a/src/backend/utils/misc/guc-file.l +++ b/src/backend/utils/misc/guc-file.l @@ -487,7 +487,7 @@ bool ParseConfigFp(FILE *fp, const char *config_file, int depth, int elevel, ConfigVariable **head_p, ConfigVariable **tail_p) { - bool OK = true; + volatile bool OK = true; unsigned int save_ConfigFileLineno = ConfigFileLineno; sigjmp_buf *save_GUC_flex_fatal_jmp = GUC_flex_fatal_jmp; sigjmp_buf flex_fatal_jmp;