This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2005 04:53:23 -0000
- Subject: [Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail
- References: <bug-24663-10413@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-04 04:53 -------
Note you are most likely right that GCC is applying pointers to array too
early, see the meta-bug (PR 24666) which I just filed after you filed these two
bugs, there were two other bugs about arrays decaying too early to pointers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663