re PR debug/39387 (Wrong DW_AT_decl_line on DW_TAG_imported* for using directives...
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Mar 2009 09:48:25 +0000 (10:48 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Mar 2009 09:48:25 +0000 (10:48 +0100)
commit6c3d550c4a934d9669455aa81836772b4520e39f
tree62e57c43c934bf6fc62a2d1c907d67e74a7f07db
parent2dc6d6660ad8b5d3f881ff4a13c3ee65215fcea7
re PR debug/39387 (Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions)

PR debug/39387
* dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
take locus from its DECL_SOURCE_LOCATION instead of input_location.

From-SVN: r144666
gcc/ChangeLog
gcc/dwarf2out.c