When compiling the testacse attached with -O3 -fprofile-use -freorder-blocks-and-partition flags, I get the following error: (I use the profiling information given by first compiling with -fprofile-generate and than running the executable)
tmp.c: In function âmainâ: tmp.c:36: error: insn 186 outside of basic blocks has non-NULL bb field tmp.c:36: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. This ICE seems to happen when not all of the bbs are in the same partition (hot/cold). -- Summary: ICE with -freorder-blocks-and-partition Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085