This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Zero and Negative array lengths compile in egcs-2.19.61 19990216



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]