This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16315] [3.5 regression] Strange variable names for temporaries in warnings
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jul 2004 14:58:34 -0000
- Subject: [Bug c++/16315] [3.5 regression] Strange variable names for temporaries in warnings
- References: <20040701144551.16315.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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