------- Comment #5 from pinskia at gcc dot gnu dot org 2007-04-08 05:55 ------- Reduced testcase (which makes I am correct): template <int dim> struct Point { Point (const double x, const double y); }; Point<2> f(void) {} void create_coarse_grid () { static const Point<2> vertices_1[] = { Point<2> (-1., -1.), Point<2> (-1./2, -1.), Point<2> (0., -1.), Point<2> (+1./2, -1.) }; }
===================== If I change [] to [4] then it works. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-04-08 05:55:43 date| | Summary|Canonical types failures |[4.3 Regression] Canonical | |types failures Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31505