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

            Bug ID: 89272
           Summary: [9 Regression] r268728 caused FAIL: g++.dg/lto/pr65316
                    cp_lto_pr65316_0.o assemble
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

On x86-64, r268728 caused:

[hjl@gnu-skx-1 gcc-bisect]$
/export/project/git/gcc-bisect/master/268728/bld/gcc/testsuite/g++/../../xg++
-B/export/project/git/gcc-bisect/master/268728/bld/gcc/testsuite/g++/../../
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/export/project/git/gcc-bisect/master/268728/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/export/project/git/gcc-bisect/master/268728/bld/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/export/project/git/gcc-bisect/gcc/libstdc++-v3/libsupc++
-I/export/project/git/gcc-bisect/gcc/libstdc++-v3/include/backward
-I/export/project/git/gcc-bisect/gcc/libstdc++-v3/testsuite/util
-fmessage-length=0 -flto -std=c++11 -g2 -fno-lto-odr-type-merging -O2
-Wno-return-type -c -o cp_lto_pr65316_0.o
/export/project/git/gcc-bisect/gcc/gcc/testsuite/g++.dg/lto/pr65316_0.C
during IPA pass: visibility
/export/project/git/gcc-bisect/gcc/gcc/testsuite/g++.dg/lto/pr65316_0.C:144:1:
internal compiler error: in type_in_anonymous_namespace_p, at ipa-utils.h:221
0xd84e2a type_in_anonymous_namespace_p(tree_node const*)
        ../../../../gcc/gcc/ipa-utils.h:221
0x1098cbe type_all_ctors_visible_p
        ../../../../gcc/gcc/ipa-devirt.c:254
0x1098ce8 type_possibly_instantiated_p
        ../../../../gcc/gcc/ipa-devirt.c:266
0x10a51a5 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**, bool)
        ../../../../gcc/gcc/ipa-devirt.c:3344
0xd84b13 possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool)
        ../../../../gcc/gcc/ipa-utils.h:118
0x10fbedc walk_polymorphic_call_targets
        ../../../../gcc/gcc/ipa.c:183
0x10fca44 symbol_table::remove_unreachable_nodes(_IO_FILE*)
        ../../../../gcc/gcc/ipa.c:427
0x12a9ac5 execute_todo
        ../../../../gcc/gcc/passes.c:2045
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
[hjl@gnu-skx-1 gcc-bisect]$

Reply via email to