------- Comment #4 from drow at gcc dot gnu dot org  2007-09-23 18:40 -------
Subject: Re:  [4.0/4.1/4.2/4.3 regression] C++ arguments
        passed by invisible reference have wrong type

On Sun, Sep 23, 2007 at 06:31:42PM -0000, pluto at agmk dot net wrote:
> > If this function is called from GDB, and the called function modifies
> > its argument, it will end up modifying the original copy.
> > It's supposed to get a temporary copy.
> 
> compiler does the temporary copy. please look at this example:

That's why the bug report said "from GDB".  It's a debug info bug, not
a C++ wrong-code bug.


-- 


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

Reply via email to