[Bug c++/85873] New: [8 regression] GCC omits array constant in .rodata causing a segmentation fault.

2018-05-22 Thread Kimon.Hoffmann at lawo dot com
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

[Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.

2018-06-02 Thread Kimon.Hoffmann at lawo dot com
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

[Bug c++/88388] GCC falsely determines string literal to be unused

2018-12-06 Thread Kimon.Hoffmann at lawo dot com
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.

[Bug c++/88388] New: GCC falsely determines string literal to be unused

2018-12-06 Thread Kimon.Hoffmann at lawo dot com
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

[Bug c++/105125] New: Bogus and Misleading Warning: Packed attribute is unnecessary.

2022-04-01 Thread Kimon.Hoffmann at lawo dot com via Gcc-bugs
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: -- 8

[Bug c++/105125] Bogus and Misleading Warning: Packed attribute is unnecessary.

2022-04-01 Thread Kimon.Hoffmann at lawo dot com via Gcc-bugs
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