This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/33537] [4.0/4.1/4.2/4.3 regression] C++ arguments passed by invisible reference have wrong type
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2007 17:07:02 -0000
- Subject: [Bug debug/33537] [4.0/4.1/4.2/4.3 regression] C++ arguments passed by invisible reference have wrong type
- References: <bug-33537-3264@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bangerth at dealii dot org 2007-09-23 17:07 -------
I get the same output
(gdb) ptype foo
type = int (Obj &)
for all compilers I tried here, i.e. gcc versions 2.95, 3.2.3, 3.3.6, 3.4.6
and 4.1.2. This is with gdb 6.5.
On the other hand, when using icc10 and Sun Studio, I get this:
(gdb) ptype foo
type = int (Obj)
which appears correct. So I can confirm that this appears to be a bug.
I'm not sure yet about the regression status: Can you re-check whether you
indeed got the correct results with pre-4.0 versions of gcc?
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-09-23 17:07:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33537