This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can PR c++/3905 (sizeof on function call in template) be done on 3.2.x?
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: "Michael Matz" <matz at suse dot de>,<gcc at gcc dot gnu dot org>
- Date: Mon, 9 Feb 2004 15:44:11 +0100
- Subject: Re: Can PR c++/3905 (sizeof on function call in template) be done on 3.2.x?
- References: <Pine.LNX.4.58.0402091125000.20969@wotan.suse.de>
Michael Matz wrote:
> I know that 3.2.x is unmaintained. Still: is there any remote
> possibility to backport the relevant parts of the 3.3 C++ frontend
> changes which made for instance the below short testcase work there
> to the 3.2 codebase.
I fixed the same bug on 3.4 (PR9259). The problem there was that unqualified
lookup was failing to get into the current class (you can see my patch here:
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01317.html). But the problem in
your case might be totally unrelated, I don't know.
> Not knowing the C++ frontend I now looked into this for a day, trying
> to understand the basic problem by running cc1plus of 3.2 and 3.3 in
> two gdb's and stepping through ;-)
I think your best bet would be to isolate the patch that fixed this bug on the
3.3 branch, and then try to backport it.
Giovanni Bajo