[Pcre-svn] [527] code/trunk: Exclude __INTEL_COMPILER in the…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [527] code/trunk: Exclude __INTEL_COMPILER in the test for __GNUC__.
Revision: 527
          http://www.exim.org/viewvc/pcre2?view=rev&revision=527
Author:   ph10
Date:     2016-06-17 12:45:16 +0100 (Fri, 17 Jun 2016)
Log Message:
-----------
Exclude __INTEL_COMPILER in the test for __GNUC__.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/pcre2_match.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2016-06-17 11:30:27 UTC (rev 526)
+++ code/trunk/ChangeLog    2016-06-17 11:45:16 UTC (rev 527)
@@ -143,7 +143,11 @@
 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
-----------------------------


Modified: code/trunk/src/pcre2_match.c
===================================================================
--- code/trunk/src/pcre2_match.c    2016-06-17 11:30:27 UTC (rev 526)
+++ code/trunk/src/pcre2_match.c    2016-06-17 11:45:16 UTC (rev 527)
@@ -465,7 +465,7 @@
 */


static int
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
__attribute__ ((noinline))
#endif
op_recurse_ovecsave(REGISTER PCRE2_SPTR eptr, PCRE2_SPTR callpat,