https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86064
--- Comment #12 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Author: aoliva Date: Sat Jun 30 04:16:16 2018 New Revision: 262268 URL: https://gcc.gnu.org/viewcvs?rev=262268&root=gcc&view=rev Log: [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. Added: branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr86064.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/dwarf2out.c branches/gcc-8-branch/gcc/testsuite/ChangeLog