https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66852
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- The code in algparam.h is just disgusting. AssignFromHelperClass binds a reference to NULL just to default-construct a temporary of some type, then binds a const-reference to that temporary, then casts away const to modify the value of that temporary. What seems to be a "VC60 workaround" introduces undefined behaviour by trying to be far too clever. Apparently also too clever to use compiler warnings.