[Bug c/44384] builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-04-21 Thread meklund at cisco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44384 --- Comment #4 from Mark Eklund meklund at cisco dot com 2011-04-21 15:17:37 UTC --- Although subobject isn't well defined in the documentation, the below comments from tree-object-size.c revision r171388 lines 63-68 would indicate that

[Bug c/44384] builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-03-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44384 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2011-03-30 08:47:32 UTC --- The FE is also not very helpful when decaying arrays to pointers or when generating array accesses.

[Bug c/44384] builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-03-29 Thread meklund at cisco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44384 --- Comment #2 from Mark Eklund meklund at cisco dot com 2011-03-29 20:31:15 UTC --- I use FORTIFY_SOURCE with a USE_FORTIFY_LEVEL of 2 and was surprised that the below code allowed writing into fu[4][0]. I expected that at a level of 1, but not

[Bug c/44384] builtin_object_size_ treatment of multidimensional arrays is unexpected

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44384 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot