diff options
author | Paul Brook <paul@codesourcery.com> | 2004-02-18 11:02:23 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-02-18 11:02:23 +0000 |
commit | cdbafce1363a1dbda16e23accbd5af588c498b64 (patch) | |
tree | 0d3d7cef922fa5bd81d1f7ee5d378e3e85ef851d /gcc/dwarf2out.c | |
parent | 5a0855a09136c8e2deef37cf06e61849a7286286 (diff) | |
download | gcc-cdbafce1363a1dbda16e23accbd5af588c498b64.zip gcc-cdbafce1363a1dbda16e23accbd5af588c498b64.tar.gz gcc-cdbafce1363a1dbda16e23accbd5af588c498b64.tar.bz2 |
dwarf2out.c (loc_descriptor_from_tree): Handle EXPR_WITH_FILE_LOCATION.
* dwarf2out.c (loc_descriptor_from_tree): Handle
EXPR_WITH_FILE_LOCATION.
testsuite/
* gcc.dg/debug/debug-7.c: New test.
From-SVN: r78017
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 91a4705..87f1be7 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9001,6 +9001,9 @@ loc_descriptor_from_tree (tree loc, int addressp) } break; + case EXPR_WITH_FILE_LOCATION: + return loc_descriptor_from_tree (EXPR_WFL_NODE (loc), addressp); + default: /* Leave front-end specific codes as simply unknown. This comes up, for instance, with the C STMT_EXPR. */ |