There are a many of these problems that have been filed, I think we should have a meta-bug for it.
--
Summary: [meta-bug] arrays decay to pointers too early
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: rejects-valid, accepts-invalid, meta-bug
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666
