[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-03-10 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-03-10 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #12 from Michael Meissner --- Author: meissner Date: Fri Mar 10 20:53:18 2017 New Revision: 246058 URL: https://gcc.gnu.org/viewcvs?rev=246058&root=gcc&view=rev Log: [gcc] 2017-03-10 Michael Meissner Back port from trunk

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-03-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #11 from Michael Meissner --- Author: meissner Date: Mon Mar 6 22:47:03 2017 New Revision: 245930 URL: https://gcc.gnu.org/viewcvs?rev=245930&root=gcc&view=rev Log: [gcc] 2017-03-06 Michael Meissner Back port from trunk

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-03-01 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #10 from Michael Meissner --- Author: meissner Date: Wed Mar 1 18:33:21 2017 New Revision: 245813 URL: https://gcc.gnu.org/viewcvs?rev=245813&root=gcc&view=rev Log: [gcc] 2017-03-01 Michael Meissner PR target/79439

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-28 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 Michael Meissner changed: What|Removed |Added Attachment #40851|0 |1 is obsolete|

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-28 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 Michael Meissner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-28 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 Michael Meissner changed: What|Removed |Added CC||meissner at gcc dot gnu.org --- Comme

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #6 from Jakub Jelinek --- (In reply to David Edelsohn from comment #5) > current_file_function_operand probably needs to add a test for > flag_semantic_interposition when the ABI mandates interpolation. Maybe better just call decl_re

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #5 from David Edelsohn --- current_file_function_operand probably needs to add a test for flag_semantic_interposition when the ABI mandates interpolation.

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #3 from Segher Boessenkool --- -fpic does the trick. Confirmed.

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #2 from Florian Weimer --- (In reply to Segher Boessenkool from comment #1) > What command line options does this need? Sorry, I used -O2 -fpic. Indeed, GCC seems to perform target-independent optimizations based on an assumption th

[Bug target/79439] Missing nop instruction after recursive call corrupts TOC register

2017-02-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439 --- Comment #1 from Segher Boessenkool --- What command line options does this need? I get different assembly (also with GCC 6), since GCC recognises that rec can never return: .globl rec .type rec, @function rec: .LCF1: 0: