[Bug target/115794] gcc 15 (20240630 snapshot) ICEs while building gfortran while targeting rv64gcv_zvl256b

2024-07-06 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115794 --- Comment #2 from lu_zero at gentoo dot org --- (In reply to Sam James from comment #1) > Please try to reduce it with cvise > (https://wiki.gentoo.org/wiki/GCC_ICE_reporting_guide). I'm trying to sort out few other issues, once I'm done I'll

[Bug target/115789] gcc miscompile itself with CFLAGS -O3 -march=rv64gcv_zvl256b

2024-07-05 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115789 --- Comment #10 from lu_zero at gentoo dot org --- Passing `-mstrict-align` to gcc-14 to build gcc-14 does not seem to have effect, same Bus error triggered.

[Bug c++/115794] New: gcc 15 (20240630 snapshot) ICEs while building gfortran while targeting rv64gcv_zvl256b

2024-07-05 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115794 Bug ID: 115794 Summary: gcc 15 (20240630 snapshot) ICEs while building gfortran while targeting rv64gcv_zvl256b Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/115789] gcc miscompile itself with CFLAGS -O3 -march=rv64gcv_zvl256b

2024-07-05 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115789 --- Comment #8 from lu_zero at gentoo dot org --- (In reply to Xi Ruoyao from comment #4) > Should we backport -mvector-strict-align to release branches then? Arguably > this is not a bug fix (for the compiler) but x86 (and maybe others) also >

[Bug target/115789] gcc miscompile itself with CFLAGS -O3 -march=rv64gcv_zvl256b

2024-07-05 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115789 --- Comment #7 from lu_zero at gentoo dot org --- (In reply to Jeffrey A. Law from comment #3) > Thanks. Unfortunately GDB isn't dumping the vector regs, but I can make a > pretty good guess that this is an unaligned memory access. > > => 0x000

[Bug target/115789] gcc miscompile itself with CFLAGS -O3 -march=rv64gcv_zvl256b

2024-07-04 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115789 --- Comment #2 from lu_zero at gentoo dot org --- (In reply to Jeffrey A. Law from comment #1) > If you still have the system, knowing the value of the registers at this > point would be helpful. "info all-r" in gdb would give you that informati

[Bug c++/115789] New: gcc miscompile itself with CFLAGS -O3 -march=rv64gcv_zvl256b

2024-07-04 Thread lu_zero at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115789 Bug ID: 115789 Summary: gcc miscompile itself with CFLAGS -O3 -march=rv64gcv_zvl256b Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal