[Bug c++/104386] no_unique_address causes invalid member alignment of pod struct

2022-03-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104386 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/104386] no_unique_address causes invalid member alignment of pod struct

2022-02-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104386 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker

[Bug c++/104386] no_unique_address causes invalid member alignment of pod struct

2022-02-06 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104386 --- Comment #2 from Artur Bać --- I think it is connected with this case https://godbolt.org/z/cvfs1KqGW https://godbolt.org/z/vdzTzo7be //sizeof(foo) ==12 struct base { uint32_t x{}; std::byte v{}; base() noexcept = default; }; struct foo :

[Bug c++/104386] no_unique_address causes invalid member alignment of pod struct

2022-02-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104386 --- Comment #1 from Andrew Pinski --- Hmm: https://github.com/itanium-cxx-abi/cxx-abi/issues/108