Created attachment 42570 [details] preprocessed source Given the fix for bug 82863 (checked in although that bug isn't yet closed), GCC completes the libgcc build but then ICEs building glibc for sh4-linux-gnu. My expectation is that this ICE was also introduced by r254379, though I haven't tested to verify this. Compile the attached test (not reduced) with -O2. gconv_builtin.c: In function '__gconv_get_builtin_trans': gconv_builtin.c:86:1: error: verify_flow_info: Wrong probability of edge 10->12 gconv_builtin.c:86:1: error: verify_flow_info: Wrong probability of edge 10->11 gconv_builtin.c:86:1: error: verify_flow_info: Wrong probability of edge 6->9 gconv_builtin.c:86:1: error: verify_flow_info: Wrong probability of edge 6->7 during RTL pass: expand gconv_builtin.c:86:1: internal compiler error: verify_flow_info failed 0x71ba23 verify_flow_info() /scratch/jmyers/glibc/many8/src/gcc/gcc/cfghooks.c:265 0x10a9ef2 checking_verify_flow_info /scratch/jmyers/glibc/many8/src/gcc/gcc/cfghooks.h:198 0x10a9ef2 try_optimize_cfg /scratch/jmyers/glibc/many8/src/gcc/gcc/cfgcleanup.c:3015 0x10aa1fd cleanup_cfg(int) /scratch/jmyers/glibc/many8/src/gcc/gcc/cfgcleanup.c:3179 0x718815 execute /scratch/jmyers/glibc/many8/src/gcc/gcc/cfgexpand.c:6511 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.
I'll take a look, thank you for report.
Author: marxin Date: Wed Nov 15 07:11:59 2017 New Revision: 254755 URL: https://gcc.gnu.org/viewcvs?rev=254755&root=gcc&view=rev Log: Use proper probability (PR target/82927) 2017-11-15 Martin Liska <mliska@suse.cz> PR target/82927 * config/sh/sh-mem.cc: Use proper probability for REG_BR_PROB_NOTE. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh-mem.cc
Fixed.