From f5392df8b4e4f99e00efb501dba809a5353ad780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= Date: Sat, 2 Apr 2022 08:01:22 +0200 Subject: gentoo patch: fix-stack-size-detection https://bugs.exim.org/show_bug.cgi?id=2173#c4 diff --git a/pcre_exec.c b/pcre_exec.c index 5b96954..fa775bf 100644 --- a/pcre_exec.c +++ b/pcre_exec.c @@ -508,7 +508,12 @@ Returns: MATCH_MATCH if matched ) these values are >= 0 a negative PCRE_ERROR_xxx value if aborted by an error condition (e.g. stopped by repeated call or recursion limit) */ - +#ifdef __GNUC__ +static int +match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, + PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, + unsigned int rdepth) __attribute__((noinline,noclone)); +#endif static int match(REGISTER PCRE_PUCHAR eptr, REGISTER const pcre_uchar *ecode, PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, -- 2.30.2