[Bug c++/60792] bogus buffer overflow warning and abort on flexible array member in a child object

2014-04-09 Thread abalint21 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60792 Attila Balint changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/60792] New: bogus buffer overflow warning and abort on static flexible array member in a child object

2014-04-09 Thread abalint21 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abalint21 at gmail dot com g++ emits a bogus warning on the program below which then aborts at runtime. The strange thing is that if I get the reference of the