This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp
- From: "bangerth at math dot tamu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2006 03:18:06 -0000
- Subject: [Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp
- References: <bug-28088-12394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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