This is the mail archive of the gcc-patches@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]

Re: [C++ PATCH for 3.3/3.4] Fix PR6440, a regression


Gabriel Dos Reis wrote:

Could you test is against 3_2 also?

Now I am not sure this is really a regression as marked in the
GNATS report.  All version I tested, going back as far as Red Hat's 2.96,
GCC always ICE's with the testcase in PR6440.  It also has a flaw.
It causes instantiations of the following illegal code to ICE on 3.3
(no ICE in 3.4 but no error message either):

 template <> template <class X> struct A<int>::B<X> { ... };

So I think I'll push my revised version for inclusion only in 3.4.

--Kriang



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