https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66237
Bug ID: 66237 Summary: [6.0 regression] FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE (internal compiler error) Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org CC: miyuki at gcc dot gnu.org Target Milestone: --- Target: aarch64-*-* $ gcc/xgcc -Bgcc/ ../gcc/testsuite/gcc.dg/tree-prof/pr34999.c -O2 -freorder-blocks-and-partition -fprofile-generate -D_PROFILE_GENERATE -lm -o pr34999.x01 $ ./pr34999.x01 $ gcc/xgcc -Bgcc/ ../gcc/testsuite/gcc.dg/tree-prof/pr34999.c -O2 -freorder-blocks-and-partition -fprofile-use -D_PROFILE_USE -lm -o pr34999.x02 ../gcc/testsuite/gcc.dg/tree-prof/pr34999.c: In function ‘main’: ../gcc/testsuite/gcc.dg/tree-prof/pr34999.c:44:1: internal compiler error: in as_a, at is-a.h:192 } ^ 0xe72e5f rtx_jump_insn* as_a<rtx_jump_insn*, rtx_insn>(rtx_insn*) ../../gcc/is-a.h:192 0xe72e5f fix_crossing_conditional_branches ../../gcc/bb-reorder.c:2047 0xe72e5f execute ../../gcc/bb-reorder.c:2742 f9a00e9e5f0f056b558f8615e3c030d37923ee72 is the first bad commit commit f9a00e9e5f0f056b558f8615e3c030d37923ee72 Author: miyuki <miyuki@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed May 20 19:39:42 2015 +0000 Promote types of RTL expressions to more derived ones.