This is the mail archive of the gcc-bugs@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]

[Bug debug/86064] [8/9 Regression] compiling Linux kernel: Error: can't resolve `.text.unlikely' {.text.unlikely section} - `.LVL43x' {.text section}


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]