[PATCH, PR 57748] Check for out of bounds access, Part 2
Eric Botcazou
ebotcazou@adacore.com
Thu Oct 24 09:16:00 GMT 2013
> I think that is common practice to write array[1]; at the end of the
> structure, and use it as a flexible array. The compute_record_mode has no
> way to decide if that is going to be a flexible array or not.
>
> Sorry Eric, but now I have no other choice than to go back to my previous
> version of part 2:
>
> http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00222.html
Why? Just set BLKmode in this case as well.
--
Eric Botcazou
More information about the Gcc-patches
mailing list