[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-12-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 --- Comment #5 from Martin Sebor --- Author: msebor Date: Mon Dec 11 23:21:55 2017 New Revision: 27 URL: https://gcc.gnu.org/viewcvs?rev=27=gcc=rev Log: PR c/81544 - attribute noreturn and warn_unused_result on the same function

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-12-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-12-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 --- Comment #3 from Martin Sebor --- Author: msebor Date: Thu Dec 7 16:32:03 2017 New Revision: 255469 URL: https://gcc.gnu.org/viewcvs?rev=255469=gcc=rev Log: PR c/81544 - attribute noreturn and warn_unused_result on the same function

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-07-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-07-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 --- Comment #1 from Martin Sebor --- An example of how conflicting attributes could be handled is the mutually exclusive pair of attributes always_inline and noinline: $ cat b.c && gcc -O2 -S -Wall -Wextra -Wpedantic b.c void __attribute__