This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14401] [3.3/3.4/3.5 regression] Uninitialized reference error not reported.
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2004 15:41:02 -0000
- Subject: [Bug c++/14401] [3.3/3.4/3.5 regression] Uninitialized reference error not reported.
- References: <20040303083729.14401.gwesp@flyelite.ch>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-03 15:41 -------
Confirmed. Not even a warning is given with -W -Wall.
This is a regression in 3.3, 3.4 and mainline, because up to 3.2
we get this:
g/x> /home/bangerth/bin/gcc-3.2*/bin/c++ -c x.cc -W -Wall -Wunused
x.cc:1: warning: non-static reference `int&<anonymous struct>::<anonymous
struct>::i' in class without a constructor
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.3.4 3.4.0 3.5.0
Known to work| |2.95.3 3.2.3
Last reconfirmed|0000-00-00 00:00:00 |2004-03-03 15:41:01
date| |
Summary|Uninitialized reference |[3.3/3.4/3.5 regression]
|error not reported. |Uninitialized reference
| |error not reported.
Target Milestone|--- |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14401