http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54677
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-23 13:38:51 UTC --- > Maybe you can give it a try now, but seems a good idea anyway. I have tested without failure check-g++ RUNTESTFLAGS="dg.exp=decltype32.C --target_board=unix'{-m32,-m64}'" with the following patch: --- ../_clean/gcc/testsuite/g++.dg/cpp0x/decltype32.C 2012-09-20 20:23:19.000000000 +0200 +++ gcc/testsuite/g++.dg/cpp0x/decltype32.C 2012-09-23 15:35:33.000000000 +0200 @@ -1,5 +1,5 @@ // PR c++/50075 -// { dg-options -std=c++0x } +// { dg-options "-std=c++0x -ftemplate-depth=10" } template <typename T> auto make_array(const T& il) ->