https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67309
--- Comment #6 from Dave Flogeras <dflogeras2 at gmail dot com> --- Created attachment 36237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36237&action=edit Patch for random.tcc This patch made the test case presented compile cleanly for myself. It is from GCC-4.8.4's tree because that is what I had kicking around.