https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105125
Kimon.Hoffmann at lawo dot com changed:
What|Removed |Added
Known to fail||10.1.0, 11.1.0, 11.2.0
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Kimon.Hoffmann at lawo dot com
Target Milestone: ---
GCC erroneously declares a packed attribute on a struct member as unnecessary,
while it clearly isn't.
Reproducer:
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88388
--- Comment #3 from Kimon.Hoffmann at lawo dot com ---
Now this is great news, thank you!
I would have tested 7.4 myself, but did not have a build available to me.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Kimon.Hoffmann at lawo dot com
Target Milestone: ---
I have recently run into an issue with the (minimized) example below.
Test.cpp:
#include
constexpr std::string_view test_func
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
--- Comment #6 from Kimon.Hoffmann at lawo dot com ---
Thanks for investigating this report and clarifying the underlying issue!
I was afraid that this was a case of UB, but was misled by the cited standard
section that mentioned lifetime
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Kimon.Hoffmann at lawo dot com
Target Milestone: ---
Host: x86_64-linux-gnu
Target: x86_64-linux-gnu
Build: x86_64-linux-gnu