c++/7858: g++ rejects legal code (regression from gcc 3.*)

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Mon Sep 9 13:12:00 GMT 2002



On Mon, 9 Sep 2002, Paolo Carlini wrote:

> Hi,
>
> I believe that the PR can be considered a duplicate of c++/7828. Do you
> agree?
>
> Thanks, Paolo.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7858
>
>

The problem reported is nearly identical to PR c++/7868. The difference is
that  PR c++/7848 is also a libstdc++-v3 related bugreport. If Andrew
Pinski's  analysis is true the casts included in the binder code in the
libstdc++ header file bits/stl_function.h have to be removed.

Hope this helps,

Peter Schmid



More information about the Gcc-bugs mailing list