[Bug c++/110055] Dangling pointer warning inside std::vector on RISC-V

2023-05-31 Thread spriteovo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 --- Comment #2 from Sprite --- Note that the error is raised only on the second and subsequent variables, the first variable works fine.

[Bug c++/110055] Dangling pointer warning inside std::vector on RISC-V

2023-05-31 Thread spriteovo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110055 --- Comment #1 from Sprite --- $ g++ -v ``` Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/riscv64-unknown-linux-gnu/13.1.1/lto-wrapper Target: riscv64-unknown-linux-gnu Configured with: /build/gcc/src/gcc/configure --en