- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, I also tried compiling this with composerxe-2011 update 7 and got the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue has been fixed in the update9 or newer. You can download it from the registration center.
thanks,
Jennifer
thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Jennifer Jiang (Intel)
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page