https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65907
Bug ID: 65907 Summary: [6 Regression] ICE: in set_lattice_value, at tree-ssa-ccp.c:535 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Building LLVM fails with gcc-6: trippels@gcc2-power8 Support % /home/trippels/gcc_test/usr/local/bin/g++ -fPIC -std=c++11 -O2 -fno-exceptions -fno-rtti -c YAMLParser.ii /home/trippels/llvm/lib/Support/YAMLParser.cpp: In function ‘std::__cxx11::string llvm::yaml::escape(llvm::StringRef)’: /home/trippels/llvm/lib/Support/YAMLParser.cpp:642:13: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:535 std::string yaml::escape(StringRef Input) { ^ 0x10b6f98b set_lattice_value ../../gcc/gcc/tree-ssa-ccp.c:535 0x10b70bbf ccp_visit_phi_node ../../gcc/gcc/tree-ssa-ccp.c:1147 0x10c14337 simulate_stmt ../../gcc/gcc/tree-ssa-propagate.c:344 0x10c16507 simulate_block ../../gcc/gcc/tree-ssa-propagate.c:485 0x10c16507 ssa_propagate(ssa_prop_result (*)(gimple_statement_base*, edge_def**, tree_node**), ssa_prop_result (*)(gphi*)) ../../gcc/gcc/tree-ssa-propagate.c:928 0x10b6db3f do_ssa_ccp ../../gcc/gcc/tree-ssa-ccp.c:2411 0x10b6db3f execute ../../gcc/gcc/tree-ssa-ccp.c:2444 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Reducing...