This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
debug/5770
- From: jakub at gcc dot gnu dot org
- To: jakub at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 26 Feb 2002 21:16:04 -0000
- Subject: debug/5770
- Reply-to: jakub at gcc dot gnu dot org
The following reply was made to PR debug/5770; it has been noted by GNATS.
From: jakub@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: debug/5770
Date: 26 Feb 2002 21:13:20 -0000
CVSROOT: /cvs/gcc
Module name: egcs
Branch: gcc-3_1-branch
Changes by: jakub@gcc.gnu.org 2002-02-26 13:13:19
Modified files:
gcc : ChangeLog dwarf2out.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/debug: debug4.C
Log message:
PR debug/5770
* dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
STRING_CST initializer spanning the whole variable without
embedded zeros.
If expand_expr returned MEM, don't use it.
* g++.dg/debug/debug4.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.13152&r2=1.13152.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/dwarf2out.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.356&r2=1.356.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.1672&r2=1.1672.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/g++.dg/debug/debug4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1