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)

parameter_test.cpp (9.1 KB ) - added by John Maddock 15 years ago.
test case.

Download all attachments as: .zip

Change History (5)

by John Maddock, 15 years ago

Attachment: parameter_test.cpp added

test case.

comment:1 by John Maddock, 15 years ago

I forgot to mention: I've reported this to Intel as issue 437855.

John.

in reply to:  description comment:2 by anonymous, 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 Dave Abrahams, 15 years ago

Owner: changed from Dave Abrahams to Daniel Wallin

comment:4 by Marshall Clow, 13 years ago

Resolution: fixed
Status: newclosed

John Maddock reports that this was fixed in the 9.1.037 compiler release.

Note: See TracTickets for help on using tickets.