[Bug c/89968] attribute packed fails to reduce char vector member alignment

2019-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89968 --- Comment #4 from Martin Sebor --- The alignment is respected for members of other types than char so the order of the attributes doesn't seem to matter here (it does matter in pr89950): $ cat pr89968-2.c && gcc -S -O2 -Wall

[Bug c/89968] attribute packed fails to reduce char vector member alignment

2019-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89968 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/89968] attribute packed fails to reduce char vector member alignment

2019-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89968 --- Comment #2 from Andrew Pinski --- One problem is the order of the attributes applying here. vector_size applies after all the others as that is the order in the program.

[Bug c/89968] attribute packed fails to reduce char vector member alignment

2019-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89968 Martin Sebor changed: What|Removed |Added Keywords||ABI, diagnostic See Also|