https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78112

            Bug ID: 78112
           Summary: [7 regression] invalid DWARF generated by the
                    compiler: DIE has multiple  AT_inline attributes
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---
              Host: *-*-apple-darwin*
            Target: *-*-apple-darwin*
             Build: *-*-apple-darwin*

Between 20161007 and 20161014, many libstdc++ tests started FAILing on (at
least
Mac OS X 10.7 and macOS 10.12.1, x86_64-apple-darwin11.4.2 and
x86_64-apple-darwin16.1.0):

FAIL: 23_containers/unordered_map/allocator/copy.cc (test for excess errors)
FAIL: 23_containers/unordered_map/allocator/minimal.cc (test for excess errors)
FAIL: 23_containers/unordered_map/allocator/move.cc (test for excess errors)
FAIL: 23_containers/unordered_map/debug/construct5_neg.cc (test for excess
errors)
FAIL: 23_containers/unordered_map/debug/move_neg.cc (test for excess errors)

and many more.

FAIL: 23_containers/unordered_map/allocator/copy.cc (test for excess errors)
Excess errors:
warning: invalid DWARF generated by the compiler: DIE 0x000412a9 has multiple 
AT_inline attributes in
'/var/folders/zz/zyxvpxvq6csfxvn_n000087r00021y/T//ccj0diNw.o'.
warning: invalid DWARF generated by the compiler: DIE 0x00044900 has multiple 
AT_inline attributes in
'/var/folders/zz/zyxvpxvq6csfxvn_n000087r00021y/T//ccj0diNw.o'.
warning: invalid DWARF generated by the compiler: DIE 0x00045751 has multiple 
AT_inline attributes in
'/var/folders/zz/zyxvpxvq6csfxvn_n000087r00021y/T//ccj0diNw.o'.

Maybe this is due to

2016-10-13  Jakub Jelinek  <ja...@redhat.com>

        * dwarf2out.c (gen_member_die): Handle inline static data member
        definitions.

but I haven't started reghunting yet.

I meant to attach the assembler output (with -dA -fverbose-asm), but the
machine
where I ran the bootstrap is down currently.

  Rainer

Reply via email to