This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp



------- 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:            bangerth@math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]