[Bug c++/64270] New: packed fields

2014-12-11 Thread damien.ruscoe at imgtec dot com
at gcc dot gnu.org Reporter: damien.ruscoe at imgtec dot com Testcase attached. Passing an array field from a packed struct into a function as a reference appears to copy the array. If the function accesses the address of the array (or any of its elements) it will get the address

[Bug c++/64270] packed fields

2014-12-11 Thread damien.ruscoe at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64270 Damien Ruscoe damien.ruscoe at imgtec dot com changed: What|Removed |Added CC