Exclude __INTEL_COMPILER in the test for __GNUC__.

This commit is contained in:
Philip.Hazel 2016-06-17 11:45:16 +00:00
parent 0a29ecbe02
commit 4f238daf41
2 changed files with 5 additions and 1 deletions

View File

@ -143,6 +143,10 @@ show the texts for given error numbers (i.e. to call pcre2_get_error_message()
and display what it returns) and a few representative error codes are now
checked in RunTest.
37. Added "&& !defined(__INTEL_COMPILER)" to the test for __GNUC__ in
pcre2_match.c, in anticipation that this is needed for the same reason it was
recently added to pcrecpp.cc in PCRE1.
Version 10.21 12-January-2016
-----------------------------

View File

@ -465,7 +465,7 @@ Returns: a match() return code
*/
static int
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
__attribute__ ((noinline))
#endif
op_recurse_ovecsave(REGISTER PCRE2_SPTR eptr, PCRE2_SPTR callpat,