[Bug c++/30988] [4.1/4.2/4.3 Regression] Incorrect "no return statement" warning with __attribute__ ((noreturn)) and __FUNCTION__
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 3 21:50:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-03 21:50 -------
Confirmed, a regression from 3.3.3. I made sure in 3.3.3, we would warn about
the function if we removed the attribute noreturn so I know the warning works
for that case.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |3.4.0 4.0.0 4.1.0 4.2.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2007-03-03 21:50:09
date| |
Summary|Incorrect "no return |[4.1/4.2/4.3 Regression]
|statement" warning with |Incorrect "no return
|__attribute__ ((noreturn)) |statement" warning with
|and __FUNCTION__ |__attribute__ ((noreturn))
| |and __FUNCTION__
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30988
More information about the Gcc-bugs
mailing list