[Bug tree-optimization/80625] gcc fails to notice strdup does not modify it's argument

2017-05-04 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80625

--- Comment #3 from prathamesh3492 at gcc dot gnu.org ---
Ah indeed, sorry for the noise.

[Bug tree-optimization/80625] gcc fails to notice strdup does not modify it's argument

2017-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80625

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Richard Biener  ---
Is handled fine.

[Bug tree-optimization/80625] gcc fails to notice strdup does not modify it's argument

2017-05-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80625

--- Comment #1 from Marc Glisse  ---
s might be a global variable, that foo modifies.