This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hello!
We can exit early from var_lowpart for matched modes. This avoids
situation, where var_lowpart tries to change
(gdb) p debug_rtx (incoming)
(concat:SC (reg:SF 48 $f16 [ x ])
(reg:SF 49 $f17 [ x+4 ]))
$1 = void
to SCmode, and returning NULL_RTX, since the RTX is neither REG, neither MEM.
2012-08-07 Uros Bizjak <ubizjak@gmail.com>
PR debug/54177
* var-tracking.c (var_lowpart): Exit early for matched modes.
Tested on x86_64-pc-linux-gnu {,-m32} and alphaev68-unknown-linux-gnu,
where the patch also fixes testsuite failure.
Patch was approved in the PR by Alexandre, and is committed to mainline SVN.
Uros.
Attachment:
v.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |