This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/66868] [5 Regression] wrong code generated with -O3 (dead code removal?)
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Nov 2015 12:15:32 +0000
- Subject: [Bug tree-optimization/66868] [5 Regression] wrong code generated with -O3 (dead code removal?)
- Auto-submitted: auto-generated
- References: <bug-66868-4 at http dot gcc dot gnu dot org/bugzilla/>
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.