[Bug tree-optimization/66868] [5 Regression] wrong code generated with -O3 (dead code removal?)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 18 12:15:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see significant difference when adding the CD = CD; on the gcc 5 branch
either. So, IMNSHO, if you want anything to move forward on this issue, you
need to create a (small) self-contained testcase out of it. Add noinline
attributes to the functions/methods that are called in FindPackages and do not
need to be inlined to reproduce it, add noinline to FindPackages itself, if it
still reproduces, stub the noinline functions/methods it calls and stub a
caller (new main) that calls FindPackages that just sets up everything that is
needed to reproduce.
More information about the Gcc-bugs
mailing list