http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940
--- Comment #2 from mlg 2011-03-01 11:34:30 UTC ---
Yes it _is_ hard to detect. My colleague was suspecting
a build system bug/feature at first (hours for a full rebuild).
If it was a direct call, there would be a linker error.
>If the call was d
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940
--- Comment #1 from Andrew Pinski 2011-03-01
10:13:57 UTC ---
This is hard to detect really. Basically what the function usefunc needs to
marked as calling a virtual function. If the call was direct to func instead,
it would be better.