This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11679] ICE in finish_file, at cp/decl2.c:2727: varray out of bounds
- From: "harinath at cs dot umn dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2003 04:13:24 -0000
- Subject: [Bug c++/11679] ICE in finish_file, at cp/decl2.c:2727: varray out of bounds
- References: <20030727040902.11679.harinath@cs.umn.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11679
------- Additional Comments From harinath at cs dot umn dot edu 2003-07-27 04:13 -------
Created an attachment (id=4485)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4485&action=view)
possible fix
And here's a possible fix, that covers up the symptoms. I'm not sure about the
semantics of VARRAY_TREE (..). If the index allowed to be one-past-the-end,
then the checking code has to be fixed instead.