[Bug middle-end/85652] -Wformat-overflow warning silenced by -fpic/-fPIC

2018-05-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85652 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/85652] -Wformat-overflow warning silenced by -fpic/-fPIC

2018-05-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85652 --- Comment #1 from Andrew Pinski --- I suspect this is due to inlining decision of b::h into f. In PIC mode, b::h is consider overwritable so it is not inclined while in non pic mode it is inlined.