This happens when compiling povray-3.6.1 with gcc version 4.3.0 20070616 (experimental). The testcase (reduced with delta) is attached to the report. g++ -O2 xxx.cpp xxx.cpp: In function ‘double pov::Evaluate_TPat(pov::TPATTERN*, double*, pov::INTERSECTION*)’: xxx.cpp:146: internal compiler error: in build_polynomial_chrec, at tree-chrec.h:113 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- Summary: internal compiler error: in build_polynomial_chrec, at tree-chrec.h:113 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32367