diff options
author | Sofiane Naci <sofiane.naci@arm.com> | 2012-10-22 12:28:14 +0000 |
---|---|---|
committer | Sofiane Naci <sofiane.naci@arm.com> | 2012-10-22 12:28:14 +0000 |
commit | 369b71ecad513571a31ed3989a33629404847832 (patch) | |
tree | 77fa03ebcefe174abeaef371e7fb332b2d928284 /gcc/dwarf2out.c | |
parent | 2b86be5b85981f0186dc90c8726e5a86abd99b4b (diff) | |
parent | fe41acb87a4145f35518841c7d83cb8f88dc5d9e (diff) |
Merge from trunk 192445:192598.ARM/aarch64-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ARM/aarch64-branch@192688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 95fc130c3db..fcdb1b11951 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -20100,12 +20100,8 @@ dwarf2out_var_location (rtx loc_note) if (!CALL_P (prev)) prev = XVECEXP (PATTERN (prev), 0, 0); ca_loc->tail_call_p = SIBLING_CALL_P (prev); - x = PATTERN (prev); - if (GET_CODE (x) == PARALLEL) - x = XVECEXP (x, 0, 0); - if (GET_CODE (x) == SET) - x = SET_SRC (x); - if (GET_CODE (x) == CALL && MEM_P (XEXP (x, 0))) + x = get_call_rtx_from (PATTERN (prev)); + if (x) { x = XEXP (XEXP (x, 0), 0); if (GET_CODE (x) == SYMBOL_REF |