We have some code in Boost that was previously accepted by all versions of gcc (and a host of other compilers), but is being rejected by gcc-4.0.2. I'll attach the preprocessed source so you can reproduce the issue, but basically some non-member operators are no longer being found when they should.
John Maddock. -- Summary: Previously accepted code fails with 4.0.2 Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: john at johnmaddock dot co dot uk GCC build triplet: Linux x86 GCC host triplet: Linux x86 GCC target triplet: Linux x86 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24275