[Bug c++/26671] [4.0/4.1/4.2 Regression] Missing "warning: reference to local variable returned"
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 14 00:10:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-14 00:10 -------
It is even worse in 4.0.0 and above where we don't warn at all, I will look
into this later this week.
I am going to mark this as a regression for 4.0 because I think my fix will
also fix both reference to local variable problem.
Oh and the C front-end is not affected.
Related to the old PR 14156.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Known to fail| |4.0.0 4.1.0 4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2006-03-14 00:10:44
date| |
Summary|Missing "warning: reference |[4.0/4.1/4.2 Regression]
|to local variable returned" |Missing "warning: reference
| |to local variable returned"
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26671
More information about the Gcc-bugs
mailing list