[Bug debug/13956] [3.4/3.5 regression] incorrect stabs for nested local variables

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 4 07:32:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-04 07:32 -------
Subject: Bug 13956

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	zack@gcc.gnu.org	2004-08-04 07:32:20

Modified files:
	gcc            : ChangeLog dbxout.c 

Log message:
	PR 13956
	* dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New
	functions, broken out of dbxout_block.
	(dbxout_block): The block at depth 0 should get LBRAC/RBRAC
	stabs too, if it contains symbols.  Use the begin_label and
	the Lscope label (emitted by dbxout_function_end) for the
	range of this block.
	(dbxout_function_decl): Always call dbxout_function_end.
	(dbxout_function_end): Return after emitting the "Lscope" symbol
	under the same conditions that this function formerly wasn't called.
	Add explanatory comments.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.573&r2=2.2326.2.574
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dbxout.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.172.2.1&r2=1.172.2.2



-- 


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



More information about the Gcc-bugs mailing list