Just a short addition: I was able to reproduce the bug on Ubuntu 14.04 using the GCC 4.9 packages from the PPA mentioned in comment #3.
Just a short addition: I was able to reproduce the bug on Ubuntu 14.04 using the GCC 4.9 packages from the PPA mentioned in comment #3.