Compiling using GCC4.3 with
g++ -msse4.1 -O2 -c repro.cpp
causes internal compiler error:
repro.cpp: In function 'int main()':
repro.cpp:122: error: BB 10 can not throw but has EH edges
repro.cpp:122: 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.
In this file the error goes away if you change
const static repro_u32 LOOP_COUNT = 100 * 1000;
to
const static repro_s32 LOOP_COUNT = 100 * 1000;
Alternately if I remove the creation of Timer object (comment out Timer t(
pass, expCycles ); ) the problem goes away.
--
Summary: GCC4.3 internal compiler error: verify_flow_info failed
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rajiv dot adhikary at amd dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35261