This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24790] arguments are displayed as reference or pointer to normal type in GDB
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2005 03:17:17 -0000
- Subject: [Bug fortran/24790] arguments are displayed as reference or pointer to normal type in GDB
- References: <bug-24790-10906@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-15 03:17 -------
Subject: Re: arguments are displayed as reference or pointer to normal type in
GDB
>
>
>
> ------- Comment #2 from woodzltc at sources dot redhat dot com 2005-11-15 02:26 -------
> Hi Andrew,
>
> (In reply to comment #1)
> > Confirmed,
> > DECL_ARG_TYPE should be the reference type and the DECL_TYPE should be the
> > normal type.
> >
> > This might also fix the implicate bug too (I forgot the number).
>
> Do you means that you already had a fix for this? If so, would you please
> point me to a link of that patch? I am very keen to see how this is fixed. I
> believe that I can learn something from your patch. Thanks.
No, just an idea on how to fix it and how the C++ represents some of its
arguments
which are passed via a reference.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24790