[Bug c/87942] every int seems to be unaligned in packed structure

2018-11-09 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87942 --- Comment #4 from Alexander Monakov --- (In reply to Johannes Vetter from comment #3) > My problem now: in how many other cases is the same behavior? I cannot check > every global variable/struct by hand. I recommend to open a new bugreport

[Bug c/87942] every int seems to be unaligned in packed structure

2018-11-09 Thread johannes.vet...@dom-sicherheitstechnik.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87942 --- Comment #3 from Johannes Vetter --- Ok, thanks a lot. I haven't expected that an initializer could change the alignment of a variable. "-fno-common" does not work in my case (perhaps because the variable already has a attribute "section").

[Bug c/87942] every int seems to be unaligned in packed structure

2018-11-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87942 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/87942] every int seems to be unaligned in packed structure

2018-11-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87942 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---