From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13705 invoked by alias); 23 Sep 2007 17:07:14 -0000 Received: (qmail 8780 invoked by uid 48); 23 Sep 2007 17:07:02 -0000 Date: Sun, 23 Sep 2007 17:07:00 -0000 Message-ID: <20070923170702.8777.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/33537] [4.0/4.1/4.2/4.3 regression] C++ arguments passed by invisible reference have wrong type In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bangerth at dealii dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg01938.txt.bz2 ------- 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