The attached program compiles fine with "g++" (4.0.3 as of 20051217). When adding "-g", it looks like it loops forever (at least 15 minutes).
Note that the program does not compile with g++ 4.1 (probably "invalid"). -- Summary: -g makes g++ loop forever Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sylvain dot pion at sophia dot inria dot fr GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25468