https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64550
Bug ID: 64550 Summary: IPA fixes cause ICE in tree-ssa.c:939 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: anton at samba dot org I just hit the following ICE on our autobuilder: /var/lib/jenkins/workspace/gcc_kernel_build/linux/net/core/dev.c: In function ‘dev_change_net_namespace.part.23’: /var/lib/jenkins/workspace/gcc_kernel_build/linux/net/core/dev.c:7435:1: internal compiler error: in verify_ssa, at tree-ssa.c:939 subsys_initcall(net_dev_init); ^ 0x10a5c9c7 verify_ssa(bool, bool) ../../gcc/gcc/tree-ssa.c:939 0x1070531b execute_function_todo ../../gcc/gcc/passes.c:1947 0x10705f63 do_per_function ../../gcc/gcc/passes.c:1639 0x10706127 execute_todo ../../gcc/gcc/passes.c:1997 Please submit a full bug report, The two changes are: Commit 04478c40f34f1b104f0281393b950020ddafdf82 by marxin Fix for ipa/PR64503 PR ipa/64503 * sreal.c (sreal::dump): Change unsigned format to signed for m_exp value. (sreal::to_double): Replace exp2 with scalbln. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219378 138bc75d-0d04-0410-961f-82ee72b054a4 and: Commit 05e3f0539fbe21709229cd34e1fa0d6ead1b0d2f by marxin IPA ICF: compare_operand is split to multiple functions. * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA name comparison. (func_checker::compare_memory_operand): New function. (func_checker::compare_operand): Split case to newly added functions. (func_checker::compare_cst_or_decl): New function. (func_checker::compare_gimple_call): Identify memory operands. (func_checker::compare_gimple_assign): Likewise. * ipa-icf-gimple.h: New function.