From b94da94adfc8dd506bd2abdf69c20420959f14ea Mon Sep 17 00:00:00 2001 From: Ehsan Totoni Date: Tue, 23 Aug 2016 04:58:36 -0700 Subject: [PATCH] ccalltest.c: ifndef Intel compiler for complex int (#18193) Complex int is GNU extension that Intel compiler does not support currently. #17145 --- src/ccalltest.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ccalltest.c b/src/ccalltest.c index ccd7e1cd57fde..02e40f4fb9c1a 100644 --- a/src/ccalltest.c +++ b/src/ccalltest.c @@ -292,6 +292,8 @@ typedef struct { complex double r89; } struct_huge4b; +// Intel compiler does not currently support complex int (which is GNU extension) +#ifndef _COMPILER_INTEL_ typedef struct { complex int r1; complex int r2; @@ -314,6 +316,7 @@ typedef struct { complex int r8; complex int r9; } struct_huge5b; +#endif // _COMPILER_INTEL_ JL_DLLEXPORT struct1 test_1(struct1 a, float b) { @@ -503,8 +506,11 @@ test_huge(3b, r1); test_huge(3c, r1); test_huge(4a, r12); test_huge(4b, r12); +// Intel compiler does not currently support complex int (which is GNU extension) +#ifndef _COMPILER_INTEL_ test_huge(5a, r1); test_huge(5b, r1); +#endif // _COMPILER_INTEL_ JL_DLLEXPORT int get_c_int(void) {