This is the mail archive of the gcc-patches@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] |
Other format: | [Raw text] |
A patch I've been putting together ran into strange memory corruption issues which turned out to be because the calculation in make_tree_vec_stat was overflowing and allocating a small TREE_VEC instead of a large one. This assert should work as a simple sanity check. Tested x86_64-pc-linux-gnu, OK for trunk?
Attachment:
vec-overflow.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |