https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67011
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Although if you're still seeing a problem with std::exponential_distribution then I guess it's not the same bug. (Please ignore tr1/random.h unless you're actually using std::tr1::exponential_distribution ... and if you are using that, you should consider not using it :-)