This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Zero and Negative array lengths compile in egcs-2.19.61 19990216
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Zero and Negative array lengths compile in egcs-2.19.61 19990216
- From: "Peter L. Higley" <phigley at surfree dot com>
- Date: Sun, 28 Feb 1999 23:05:00 -0800
Here is a way to compile zero length and -1 length arrays. I realize
the zero length is tricky, but surely the -1 length shouldn't compile.
negarraylength.tgz contains everything generated by egcs -v --save-temps
negarraylength.cc.
Hey, you guys do some great work. C++ has been awfully hard to follow
as a programmer. I couldn't imagine the genius it takes to keep a
compiler up to date (even with "thousands" of contributors).
Peter
phigley@surfree.com
negarraylength.tgz