http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45788
Summary: -fwhole-program causes ICE error: BB 3 can not throw but has an EH edge Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: astra...@ithinksw.com > gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc46/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc46/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.4.0 Configured with: ../../src/gcc/configure --prefix=/usr/local/gcc46 --with-arch=native --with-tune=native --disable-nls --with-gmp=/sw --disable-bootstrap --enable-languages=c,c++,lto,objc,obj-c++ Thread model: posix gcc version 4.6.0 20100924 (experimental) (GCC) > gcc -O3 -fwhole-program -S eh_ice.ii eh_ice.ii: In function 'void _ZL9set_colorP9primitive7vectorXIfLi4EE.isra.3.constprop.5(texture**, color4)': eh_ice.ii:93:15: error: BB 3 can not throw but has an EH edge eh_ice.ii:93:15: 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. Removing -fwhole-program fixes it. -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.