Opened 15 years ago
Closed 13 years ago
#1054 closed Bugs (fixed)
Parameter takes an "infinite" amount of time to compile with the Intel compiler.
Reported by: | John Maddock | Owned by: | Daniel Wallin |
---|---|---|---|
Milestone: | To Be Determined | Component: | parameter |
Version: | Boost 1.34.0 | Severity: | Showstopper |
Keywords: | Parameter Intel | Cc: |
Description
The attached reduced test case illustrates the issue: it should compiler cleanly with gcc and msvc, but with Intel 8.1 and 9.1 it takes effectively forever (OK I actually gave up after 10 minutes, but that's still too long to be of any use). The problem has been tracked down to the line:
typedef typename boost::parameter::binding<
args, tag::domain_error_name, domain_error<BOOST_MATH_DOMAIN_ERROR_POLICY> >::type domain_error_type;
which apparently causes problems when there are a large number of deduced parameters.
Thanks, John Maddock.
Attachments (1)
Change History (5)
by , 15 years ago
Attachment: | parameter_test.cpp added |
---|
comment:2 by , 15 years ago
Replying to johnmaddock:
The attached reduced test case illustrates the issue: it should compiler cleanly with gcc and msvc, but with Intel 8.1 and 9.1 it takes effectively forever
Doesn't surprise me too much. EDG's template instantiation has historically been slow, but they've been improving things. Have you tried with a newer Intel compiler?
comment:3 by , 15 years ago
Owner: | changed from | to
---|
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
John Maddock reports that this was fixed in the 9.1.037 compiler release.
test case.