Created attachment 596835 [details] preproccessed source code Description of problem: gcc spit out an internal compiler error while compiling a function template built from and for boost.python. The function template was a generic wrapper for copying objects, to override the __copy__ special method in python. Version-Release number of selected component (if applicable): gcc 4.7 boost 1.48 python 2.7 Fedora 17 How reproducible: Not sure. Preproccessed source is attached. Steps to Reproduce: 1. compile with flags: -std=c++11 -g -fPIC -I/usr/include/python2.7 -c Actual results: fernpy.cpp: In function ‘boost::python::api::object std_copy(boost::python::api::object) [with Copyable = clau::Interval]’: fernpy.cpp:71:23: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4258 Expected results: Successful compilation of fernpy.cpp into fernpy.so. Additional info:
This got fixed by: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188021 and is now fixed in gcc-c++-4.7.0-7.fc18 and later (and whenever F17 errata will be pushed, it will be fixed there too).