diff options
author | zlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-04 10:44:05 +0000 |
---|---|---|
committer | zlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-04 10:44:05 +0000 |
commit | b77c03bd44acfa0ff8f2194869166f7a23530cc4 (patch) | |
tree | aee99d7792107afecb1f2ea0cdb001ae0d6c8171 /gcc/var-tracking.c | |
parent | 773d69917577e5c6708f7005e2055bf7347a2ec1 (diff) | |
download | gcc-b77c03bd44acfa0ff8f2194869166f7a23530cc4.tar.gz |
PR/14362
* var-tracking.c (track_expr_p): Do not track variables which
should be ignored for debugging purposes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r-- | gcc/var-tracking.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 38983ec0524..268d44badc1 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -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)) |