This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Another place where Intel C++ pretending to be gcc is a really
authorSteve Peters <steve@fisharerojo.org>
Tue, 2 May 2006 18:03:57 +0000 (18:03 +0000)
committerSteve Peters <steve@fisharerojo.org>
Tue, 2 May 2006 18:03:57 +0000 (18:03 +0000)
bad thing.

p4raw-id: //depot/perl@28067

gv.h

diff --git a/gv.h b/gv.h
index 25961ef..6ef8ee6 100644 (file)
--- a/gv.h
+++ b/gv.h
@@ -25,7 +25,7 @@ struct gp {
 #define GvXPVGV(gv)    ((XPVGV*)SvANY(gv))
 
 
-#if defined (DEBUGGING) && defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
+#if defined (DEBUGGING) && defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) && !defined(__INTEL_COMPILER)
 #  define GvGP(gv)                                                     \
        (*({GV *const shplep = (GV *) (gv);                             \
            assert(SvTYPE(shplep) == SVt_PVGV || SvTYPE(shplep) == SVt_PVLV); \