[Bug c/90293] New function attribute: expect_return

2023-09-19 Thread zev+gccbug at bewilderbeest dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293 --- Comment #4 from Zev Weiss --- I have no idea about the relative ease of implementation, but might it at least partially suffice for the compiler to propagate the information provided by __builtin_expect() beyond the expression it appears in?

[Bug c/90293] New function attribute: expect_return

2019-05-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug c/90293] New function attribute: expect_return

2019-04-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Sever

[Bug c/90293] New function attribute: expect_return

2019-04-30 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293 --- Comment #1 from Daniel Fruzynski --- One more case: sometimes it may be more handy to specify what will *not* be usually returned, e.g. special invalid value. For such cases another attribute would be needed: __attribute__((expect_not_return