[Bug ipa/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #10 from Martin Jambor --- OK, so I did not realize that duplicate_thunk_for_node does not set clone_of but former_clone of, which is of course what it must do. I have checked and this is the only place where we currently set

[Bug ipa/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #9 from Martin Jambor --- We create an "artificial_thunk" for an IPA-CP clone, which is really nothing but a thunk with skipped arguments but we do not stream its args_to_skip because output_cgraph_opt_summary_p returns false because

[Bug ipa/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-06 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #8 from Martin Jambor --- (In reply to Jakub Jelinek from comment #7) > Martin J., any progress on this? Unfortunately not yet, seems to always be number four on my todo-list. At the moment I hope to get to it just before Christmas

[Bug ipa/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7