http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46077
Summary: [4.6 regression] ICE in tree vectorization when compiling towns_audio.cpp from scummvm Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: m...@use.net Created attachment 22085 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22085 bzip2 compressed preprocessor output of the source file that reproduced the ICE When compiling scummvm with Ubuntu 10.10's gcc-snapshot package version of g++ (Ubuntu 20101004-0ubuntu1), there is an ICE that occurs that does not happen with g++-4.4 (Ubuntu/Linaro 4.4.4-14ubuntu5) or g++-4.5 (Ubuntu/Linaro 4.5.1-7ubuntu2): m...@matt-desktop:~/src/scummvm$ g++ -x c++ -O3 /tmp/towns_audio.cpp.pre sound/softsynth/fmtowns_pc98/towns_audio.cpp: In member function 'int TownsAudioInterface::intf_pcmPlayEffect(__va_list_tag (&)[1])': sound/softsynth/fmtowns_pc98/towns_audio.cpp:604:5: internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1779 The pre-processed source file that reproduced the issue is attached.