I just noticed that bits/random.h does not have include guards.
-- Summary: bits/random.h misses include guards Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc at abeckmann dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45613