This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: V3 patch causes EH failures in ILP32 mode
>When I worked on an error-checking tool that had a -Weffc++-like feature
>(and said tool was actually endorsed by Scott Meyers, no less), we tried
>to figure out whether or not dynamic memory really was involved using
>various heuristics. For example, "does the constructor call "new" and
>assign that to a data member?" The -Weffc++ implementation in G++ is
>not as sophisticated.
Well, since we're wishing..... yes, I really do wish -Weffc++ was more
sophisticated. One, for the issue under discussion: the heuristics you
mention sound pretty cool.
There are other reasons, which I pointed out when this work went in. See:
http://gcc.gnu.org/ml/libstdc++/2004-04/msg00067.html
This is all
-benjamin