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++/16315] [3.5 regression] Strange variable names for temporaries in warnings


------- Additional Comments From bangerth at dealii dot org  2004-07-01 14:58 -------
a) a$i is really B::a.i. I reported the same bug a couple of weeks ago, 
   and Andrew closed the PR as a duplicate of another one in which someone 
   said that they want a$i instead of a.i for some reason I didn't understand. 
 
   As for SR.5, I have no clue. 
 
b) Yes 
 
c) Of course the warning makes sense: A::A() doesn't initialize its member 
   'i', so in all your calls you return a 'B' with a member variable a.i 
   that isn't initialized. 
 
W. 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16315


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