------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-29 16:40 -------
Confirmed, all an integer types give the wrong error (well except for int).
3.3 gave:
t.c: In function `bool func()':
t.c:3: error: return-statement with no value, in function declared with a
non-void return type
So this is a regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Known to fail| |3.4.0 4.0.0 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-11-29 16:40:35
date| |
Summary|wrong error message (int |[3.4/4.0/4.1 Regression]
|instead of bool) |wrong error message (int
| |instead of bool)
Target Milestone|--- |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25156