I am trying to port an existing larger piece of software in C++ to a new x86_64 system. The software compiles well on ix86 systems with both gcc 3.3.3 and gcc 4.1.2 (prerelease as installed with openSuSE 10.2). However, on x86_64 with the same openSuSE 10.2 system (so: gcc 4.1.2 prerelease), the compiler goes into an apparently infinite loop when compiling a file that uses the boost spirit template library. I have stripped down the problem to a small file test.cpp which has, of course, to include several headers from the spirit library. I'll attach the test.ii file.
-- Summary: infinite loop during compilation on x86_64 architecture Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bernd dot speiser at uni-tuebingen dot de GCC target triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31015