Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

composerxe-2011 update 6 internal error

Mike_Glass
Beginner
354 Views
Using the composer_xe_2011_sp1.6.233 C++ compiler on the following code snippet gives an internal error

const double** GetGaussPnts() {
static const double xi = 0.5;
static const double *pxi = ξ
return &pxi;
}

$ icpc -c -o zsal.o zsal.C
(0): internal error: backend signals

compilation aborted for zsal.C (code 4)

We have been able to compile this code that this snippet came from with Intel 11.1 and 12.0 compilers along with gnu, pgi, pathscale, and xlc compilers.

0 Kudos
5 Replies
JenniferJ
Moderator
353 Views

This is a compiler bug as well. I'll report it right now.

One workaround is to move the "xi" static const to the global space.
Another workaround is to use "-O0" for this one file.

Thanks.
Jennifer

0 Kudos
Mike_Glass
Beginner
353 Views
FYI, I also tried compiling this with composerxe-2011 update 7 and got the same error.
0 Kudos
SergeyKostrov
Valued Contributor II
354 Views
Verified compilation for all C/C++ compilers integrated into our Build Environment for Desktop & Embedded Platforms:

- MS C/C++ compiler ( VS 2005 \ VS 2008 \ VS 2010 )- Pass
- MinGW v3.4.2 compiler- Pass
- Borland C/C++ v5.5 compiler- Pass
- Turbo C/C++ v3.1compiler - Pass
- Turbo C v1.01 compiler - Pass
0 Kudos
JenniferJ
Moderator
354 Views
This issue has been fixed in the update9 or newer. You can download it from the registration center.

thanks,
Jennifer
0 Kudos
SergeyKostrov
Valued Contributor II
354 Views
This issue has been fixed in the update9 or newer...

I would like to confirm that the problem is resolved and my old Test-Case is working properly. A screenshot is ensclosed:



Best regards,
Sergey
0 Kudos
Reply