[Bug tree-optimization/93079] New: ICE in mark_operand_necessary
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 27 11:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93079
Bug ID: 93079
Summary: ICE in mark_operand_necessary
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: hubicka at gcc dot gnu.org
Target Milestone: ---
Created attachment 47553
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47553&action=edit
unreduced testcase
$ ./xgcc -B ./ -O2 ~/aa.ii
In file included from ../../include/llvm/Option/ArgList.h:12,
from ../../tools/clang/include/clang/Driver/Types.h:14,
from ../../tools/clang/include/clang/Driver/Action.h:13,
from
/aux/hubicka/llvm/tools/clang/lib/Driver/ToolChains/Cuda.h:13,
from
/aux/hubicka/llvm/tools/clang/lib/Driver/ToolChains/Gnu.h:12,
from
/aux/hubicka/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp:9:
../../include/llvm/ADT/ArrayRef.h: In instantiation of
‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T =
clang::driver::Multilib]’:
/aux/hubicka/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp:1258:64: required
from here
../../include/llvm/ADT/ArrayRef.h:101:37: warning: initializing
‘llvm::ArrayRef<clang::driver::Multilib>::Data’ from
‘std::initializer_list<clang::driver::Multilib>::begin’ does not extend the
lifetime of the underlying array [-Winit-list-lifetime]
during GIMPLE pass: cddce
/aux/hubicka/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp: In member function
‘void
clang::driver::toolchains::Generic_GCC::GCCInstallationDetector::ScanLibDirForGCCTriple(const
llvm::Triple&, const llvm::opt::ArgList&, const string&, llvm::StringRef,
bool)’:
/aux/hubicka/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp:2734:1: internal
compiler error: Segmentation fault
2734 | }
| ^
0x12c9ff8 crash_signal
../../gcc/toplev.c:328
0x7ffff756505f ???
/build/glibc-77giwP/glibc-2.24/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x143fab6 mark_operand_necessary
../../gcc/tree-ssa-dce.c:188
0x1440f93 propagate_necessity
../../gcc/tree-ssa-dce.c:843
0x14430c9 perform_tree_ssa_dce
../../gcc/tree-ssa-dce.c:1663
0x144320a tree_ssa_cd_dce
../../gcc/tree-ssa-dce.c:1707
0x1443374 execute
../../gcc/tree-ssa-dce.c:1772
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.
More information about the Gcc-bugs
mailing list