[Bug middle-end/88518] Function call defeats -Wuninitialized

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Last reconfirmed|

[Bug middle-end/88518] Function call defeats -Wuninitialized

2019-12-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 --- Comment #5 from Eric Gallager --- (In reply to Matthew Wilcox from comment #2) > Thanks! What I actually want to do is annotate g() to the effect that it > reads the pointed-to variable before it writes it. IOW, I want to write > something

[Bug middle-end/88518] Function call defeats -Wuninitialized

2019-06-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 --- Comment #4 from Eric Gallager --- Note that if h() has __attribute__((pure)) or __attribute__((const)) on it, you then get the -Wuninitialized warning as expected. Of course, then you also get a warning from -Wattributes about pure or const b

[Bug middle-end/88518] Function call defeats -Wuninitialized

2018-12-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 Richard Biener changed: What|Removed |Added Severity|normal |enhancement --- Comment #3 from Richard

[Bug middle-end/88518] Function call defeats -Wuninitialized

2018-12-16 Thread matthew at wil dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 --- Comment #2 from Matthew Wilcox --- Thanks! What I actually want to do is annotate g() to the effect that it reads the pointed-to variable before it writes it. IOW, I want to write something like: void g(unsigned long __attribute__((read_be

[Bug middle-end/88518] Function call defeats -Wuninitialized

2018-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Andrew Pi