This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3, GCC 3.4
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: Mike Stump <mstump at apple dot com>
- Cc: gcc at gcc dot gnu dot org, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 31 Jan 2003 10:40:13 -0600 (CST)
- Subject: Re: GCC 3.3, GCC 3.4
On Thu, 30 Jan 2003, Mike Stump wrote:
> On Thursday, January 30, 2003, at 06:04 PM, Wolfgang Bangerth wrote:
> > - I can't get mainline to compile the lib since about mid-December,
> > due to a changing set of regressions.
>
> :-( Hate email to the gcc list everyday complaining about the
> unresolved regression?
Sorry if that sounded like whining. It's just the way it is. (Compilation
regressions are for package regression testers like me, what bootstrap
failures are for gcc developers.)
> The big problem is, if they one regression is fixed, and there is
> another behind it, it now is much harder for you to identify it for us.
Right.
If anyone really feels compelled to do something about it, below is info
about the two PRs that broke compiling the lib. I don't know what more is
broken behind them.
Wolfgang
======================================================================
PR 9457: introduced between 2003-1-12 and 2003-1-30. Testcase:
------------------------
template <typename> void foo (int count) {
int i = {count};
}
template void foo<int> (int);
------------------------
ICE:
PR9457+.cc: In function `void foo(int) [with {template default argument error} = int]':
PR9457+.cc:4: instantiated from here
PR9457+.cc:2: internal compiler error: in tsubst_copy, at cp/pt.c:7124
PR 9453: ICE introduced between 2003-01-05 and 2003-01-12 (was an error on
01-05, which also was wrong, but I think Kriang fixed that; it's the ICE
that's bothering me in the first place). Testcase:
------------------------
template <typename> class X {
private:
struct Inner;
template <typename R>
friend typename X<R>::Inner * foo () { return 0; };
};
template class X<void>;
struct U {
void bar () { foo<void> (); };
};
---------------------------
ICE:
9453+.cc: In function `typename X<R>::Inner* foo()':
9453+.cc:6: internal compiler error: in is_specialization_of, at cp/pt.c:863
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth/