[Bug middle-end/114289] Non-optimal assembly for accessing bit-fields in packed structs

2024-03-08 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114289 --- Comment #3 from Dan Stahlke --- Variants that generate more reasonable results: struct foo { int x:32; } __attribute__((packed)); struct foo { int x:16; } __attribute__((packed)); struct foo { int x:31; }; struct foo { in

[Bug tree-optimization/114289] Non-optimal assembly for accessing bit-fields in packed structs

2024-03-08 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114289 Dan Stahlke changed: What|Removed |Added Target|x86_64-linux-gnu| Keywords|missed-optimization

[Bug tree-optimization/114289] New: Non-optimal assembly for accessing bit-fields in packed structs

2024-03-08 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114289 Bug ID: 114289 Summary: Non-optimal assembly for accessing bit-fields in packed structs Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-09-30 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 --- Comment #25 from Dan Stahlke --- The test case I just posted appears in the bug 105651 discussion. So maybe or maybe not related to the present discussion.

[Bug tree-optimization/105329] [12/13 Regression] Bogus restrict warning when assigning 1-char string literal to std::string since r12-3347-g8af8abfbbace49e6

2022-09-30 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Dan Stahlke changed: What|Removed |Added CC||dan at stahlke dot org --- Comment #24 fr

[Bug c++/106893] New: auto deduces wrong type for function pointer

2022-09-08 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106893 Bug ID: 106893 Summary: auto deduces wrong type for function pointer Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/102970] New: stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize

2021-10-27 Thread dan at stahlke dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102970 Bug ID: 102970 Summary: stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norm