- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've reduced your code to this small example which shows the problem:
template
struct CBase
{
void trace(int);
};
template< class T >
struct C : public CBase
{
template< int codim >
void trace()
{
trace(4);
}
using CBase
};
int main() {
C
c.trace<1>();
return 0;
}
As a workaround I thinkyou can move the using declaration of traceto somewhere before the call.
That seems to prevent the internal error. In the meantime, we're working on a fix....
Judy
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In any case, an internal error on a current release is a reportable bug, so you could submit the file which provokes it in a problem report on https://premier.intel.com (open a support account at https://registrationcenter.intel.com, if you haven't done so already).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In any case, an internal error on a current release is a reportable bug, so you could submit the file which provokes it in a problem report on https://premier.intel.com (open a support account at https://registrationcenter.intel.com, if you haven't done so already).
Hello tim18,
thanks for your reply. I filed that bug report now, so I guess this topic may be considered closed. For the record, icpc -V gives:
Intel C++ Compiler Professional for applications running on IA-32, Version 11.1 Build 20090511 Package ID: l_cproc_p_11.1.038
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
30 DAY EVALUATION LICENSE
icpc: NOTE: The evaluation period for this product ends on 2-oct-2009 UTC.
Leonard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just noticed an issue filed in Premier, and I'll respond there on this, just FYI
-thanks,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've reproduced the issue generating a smaller test case that reproduces the internal error when compiling icpc.
Also, I"ve filed the issue with our developers and will update this post as soon as there's an update on this issue, just FYI.
BTW, the option -stdc++0x isvalid in icpc, and enables preliminary support for some C++0x features (like Lambda, auto etc). Once, this internal error issue is resolved, we can then attempt to build your application and see if there are any problems or issues encountered thereof.
-regards,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've reproduced the issue generating a smaller test case that reproduces the internal error when compiling icpc.
Also, I"ve filed the issue with our developers and will update this post as soon as there's an update on this issue, just FYI.
BTW, the option -stdc++0x isvalid in icpc, and enables preliminary support for some C++0x features (like Lambda, auto etc). Once, this internal error issue is resolved, we can then attempt to build your application and see if there are any problems or issues encountered thereof.
-regards,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've reduced your code to this small example which shows the problem:
template
struct CBase
{
void trace(int);
};
template< class T >
struct C : public CBase
{
template< int codim >
void trace()
{
trace(4);
}
using CBase
};
int main() {
C
c.trace<1>();
return 0;
}
As a workaround I thinkyou can move the using declaration of traceto somewhere before the call.
That seems to prevent the internal error. In the meantime, we're working on a fix....
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As a workaround I thinkyou can move the using declaration of traceto somewhere before the call.
That seems to prevent the internal error. In the meantime, we're working on a fix....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This issue is fixed in the latest version of the compiler that's released. You can download the Intel Composer XE update 1 release from the https://registrationcenter.intel.com/RegCenter/
-regards,
Kittur
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page