[PR86064] split single cross-partition range with nonzero locviews
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 26 Jun 2018 05:44:26 +0000 (05:44 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 26 Jun 2018 05:44:26 +0000 (05:44 +0000)
commit27b1bf1ec4f6190dae78187a142353e52701570d
treeaca0f79cc7589e30339573600e8162724b4cd85f
parentd54ca450d2dd008171d93c8051c1f83de8469900
[PR86064] split single cross-partition range with nonzero locviews

We didn't split cross-partition ranges in loclists to output a
whole-function location expression, but with nonzero locviews, we
force loclists, and then we have to split to avoid cross-partition
list entries.

for  gcc/ChangeLog

PR debug/86064
* dwarf2out.c (loc_list_has_views): Adjust comments.
(dw_loc_list): Split single cross-partition range with
nonzero locview.

for  gcc/testsuite/ChangeLog

PR debug/86064
* gcc.dg/pr86064.c: New.

From-SVN: r262130
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86064.c [new file with mode: 0644]