https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62255
--- Comment #4 from Max Gerlach <m at maxgerlach dot de> --- The bug is still present on g++ 4.9.1. $ g++-4.9 --version g++-4.9 (Ubuntu 4.9.1-3ubuntu2~14.04.1) 4.9.1 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Output of $ g++-4.9 -c arma_template_test.cpp -Wall -Wextra -std=c++11 &> output-4.9.1.txt has been attached.