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 target/81685] New: FAIL: g++.dg/debug/dwarf2/inline-ns-2.C -std=gnu++* (internal compiler error) on darwin


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

            Bug ID: 81685
           Summary: FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++*
                    (internal compiler error) on darwin
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: iains at gcc dot gnu.org, jakub at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-apple-darwin16
            Target: x86_64-apple-darwin16
             Build: x86_64-apple-darwin16

On darwin I see the following failures

FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++98 (internal compiler error)
FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++11 (internal compiler error)
FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++11 (test for excess errors)
FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++14 (internal compiler error)
FAIL: g++.dg/debug/dwarf2/inline-ns-2.C  -std=gnu++14 (test for excess errors)

While the test has been introduced at revision r250713, the ICE is present with
older revisions:

% g++ /opt/gcc/_clean/gcc/testsuite/g++.dg/debug/dwarf2/inline-ns-2.C -O2
-gdwarf-5 
/opt/gcc/_clean/gcc/testsuite/g++.dg/debug/dwarf2/inline-ns-2.C:23:10: internal
compiler error: in darwin_asm_output_dwarf_offset, at config/darwin.c:2872
 int o = n;
          ^
libbacktrace could not find executable to open

% g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/gcc/gcc8a/libexec/gcc/x86_64-apple-darwin16.5.0/8.0.0/lto-wrapper
Target: x86_64-apple-darwin16.5.0
Configured with: ../_clean/configure --prefix=/opt/gcc/gcc8a
--enable-languages=c,c++,fortran,ada,lto --with-gmp=/opt/mp-new
--with-system-zlib --enable-checking=release --with-isl=/opt/mp-new
--enable-lto --enable-plugin --with-stage1-ldflags=-static-libstdc++
--with-boot-ldflags=-static-libstdc++
Thread model: posix
gcc version 8.0.0 20170509 (experimental) [trunk revision 247792] (GCC)

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