[Bug tree-optimization/98467] gcc optimizes tapping code away

2020-12-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98467 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/98467] gcc optimizes tapping code away

2020-12-29 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98467 --- Comment #2 from Bernd Edlinger --- I debugged a bit in when we decide this function is const. That appears to be in gcc/ipa-fnsummary.c: /* Return true if T is a pointer pointing to memory location that is local for the function (that mea

[Bug tree-optimization/98467] gcc optimizes tapping code away

2020-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98467 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED