This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/33537] [4.1/4.2/4.3 regression] C++ arguments passed by invisible reference have wrong type



------- Comment #6 from jakub at gcc dot gnu dot org  2007-11-01 10:17 -------
Subject: Bug 33537

Author: jakub
Date: Thu Nov  1 10:17:42 2007
New Revision: 129820

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129820
Log:
        PR debug/33537
        * dwarf2out.c (gen_formal_parameter_die, gen_variable_die,
        gen_decl_die): Use TREE_TYPE (TREE_TYPE (decl)) as type
        rather than TREE_TYPE (decl) if DECL_BY_REFERENCE (decl).

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]