------- Comment #1 from paolo dot carlini at oracle dot com 2008-07-16 16:37 ------- We badly need a self-contained testcase (per our general guidelines) because something trivial inspired by your PR, like the below compiles just fine.
template <class T> T A::determinant3(T matrix[3][3]) { // NB: not the real formula ;) return matrix[0][0] + matrix[1][1] + matrix[2][2]; } int main() { double array[3][3]; A::determinant3(array); } -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36852