https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87942

--- Comment #3 from Johannes Vetter <johannes.vet...@dom-sicherheitstechnik.de> 
---
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").

If i set the alignment of the variable AND the exported variable in the header
file, it works fine.

My problem now: in how many other cases is the same behavior? I cannot check
every global variable/struct by hand.

Reply via email to