[Bug middle-end/77301] __builtin_object_size incorrect for an array in a struct referenced by a pointer

2016-08-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77301 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/77301] __builtin_object_size incorrect for an array in a struct referenced by a pointer

2016-08-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77301 --- Comment #2 from Martin Sebor --- Thanks. As surprising as that seems, it would explain the output of the test case in comment #0, even though it's not at all obvious from the manual. But if change the test case like below I get three diffe

[Bug middle-end/77301] __builtin_object_size incorrect for an array in a struct referenced by a pointer

2016-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77301 Martin Sebor changed: What|Removed |Added Keywords||wrong-code Status|RESOLVED