var-tracking.c (track_expr_p): Do not track variables which should be ignored for debugging purposes.

PR/14362
	* var-tracking.c (track_expr_p): Do not track variables which
	should be ignored for debugging purposes.

From-SVN: r78902
This commit is contained in:
Josef Zlomek 2004-03-04 11:44:05 +01:00 committed by Josef Zlomek
parent ddc6856430
commit af93139093
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-03-04 Josef Zlomek <zlomekj@suse.cz>
PR/14362
* var-tracking.c (track_expr_p): Do not track variables which
should be ignored for debugging purposes.
2004-03-04 Alan Modra <amodra@bigpond.net.au>
* real.c (encode_ibm_extended): Don't bother rounding low double.

View file

@ -1361,6 +1361,10 @@ track_expr_p (tree expr)
if (!decl_rtl)
return 0;
/* Do not track decl if is should be ignored for debugging purposes. */
if (DECL_IGNORED_P (expr))
return 0;
/* Do not track global variables until we are able to emit correct location
list for them. */
if (TREE_STATIC (expr))