------- Comment #11 from bangerth at math dot tamu dot edu  2006-10-23 03:18 
-------
Subject: Re:  [4.1 Regression] Internal compiler error on
 boost mpl test/apply.cpp


> Technically, I think it would be feasible to backport the patch.  However,
> because that patch eliminates a GNU extension we would change the set of
> programs accepted on the 4.1 branch.  I'm not sure that's a good idea, even to
> fix a failure to accept conforming code.  I can see arguments both ways, so 
> I'd
> like to see if there's a consensus in the community and among Nathan and 
> Jason.

There were PRs that showed that this extension (for those who don't
remember: we allowed to match templates with trailing default arguments to
match template template parameters with fewer template arguments) leads to
wrong code in some circumstances. It's also one of the more obscure and
less well thought out extensions, in my opinion.

So my view of things is that the patch should be backported. But then I'm
not in charge of this, of course :-)

W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [EMAIL PROTECTED]
                                 www: http://www.math.tamu.edu/~bangerth/


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28088

Reply via email to