[Bug target/120201] G++ generates a misaligned vector operation for std::memcpy

2025-05-09 Thread stuart.a.hayhurst at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 --- Comment #2 from Stuart --- Sure, sorry if the bug report was a little slapdash, my dinner was ready to come out of the oven :) g++ test.cpp -O3 -march=native -fsanitize=address -std=c++23 -g -v: ``` Using built-in specs. COLLECT_GCC=g++ CO

[Bug analyzer/120201] New: G++ generates a misaligned vector operation for std::memcpy

2025-05-09 Thread stuart.a.hayhurst at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 Bug ID: 120201 Summary: G++ generates a misaligned vector operation for std::memcpy Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/110027] [11 regression] Stack objects with extended alignments (vectors etc) misaligned on detect_stack_use_after_return

2025-05-09 Thread stuart.a.hayhurst at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 --- Comment #31 from Stuart --- I can reproduce this with GCC 14.2 and GCC 15.1 on Debian Sid. In my case it was std::memcpy that gave me an issue, but the reproducer here is the same issue.