This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14401] [3.3/3.4/3.5 regression] Uninitialized reference error not reported.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]