This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/66868] [5 Regression] wrong code generated with -O3 (dead code removal?)


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]