This is the mail archive of the gcc@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: Can PR c++/3905 (sizeof on function call in template) be done on 3.2.x?


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



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