[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-06-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-04-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|8.0

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-04-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|8.0

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #6 from rguenther at suse dot de --- On Thu, 16 Feb 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 > > --- Comment #5 from Jakub Jelinek --- > Actually the last 4 not, they return address

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #5 from Jakub Jelinek --- Actually the last 4 not, they return addresses into it. But also strspn and strcspn?

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #4 from Jakub Jelinek --- (In reply to Richard Biener from comment #3) > + /* Pure functions that return something not based on any object. */ > + case BUILT_IN_STRLEN: > + /* We don't need to do anything here. No co

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/79547] duplicate strlen calls with same argument not folded

2017-02-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79547 --- Comment #1 from Andrew Pinski --- Most likely the alias analysis thinks s escapes such that f touches it. Look at the alias dump and also add -vops to the dump option.