------- Comment #2 from pinskia at gcc dot gnu dot org 2006-07-06 15:12 ------- We are warning inside the typeof. Here is a shorter testcase: void f(__SIZE_TYPE__ d) { typedef int t[d]; t *g = (__typeof(g))d; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Summary|[4.2 regression] bogus |[4.2 regression] bogus |"statement with no effect" |"statement with no effect" |warning |warning with VLA and typeof Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28280