[Bug tree-optimization/86085] I/O built-ins considered argument clobbers

2018-06-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86085

--- Comment #2 from Martin Sebor  ---
To make use of the Glibc printf hooks users have to disable the GCC built-ins. 
Otherwise the hooks might interfere with the sprintf optimization.

[Bug tree-optimization/86085] I/O built-ins considered argument clobbers

2018-06-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86085

Richard Biener  changed:

   What|Removed |Added

   Keywords||alias, missed-optimization
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-06-13
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.

Note that some conservatism is because of glibc allowing hooks into printf
formatting.