Question regarding riscv_valid_lo_sum_p vs strict-align

2024-12-31 Thread Xi Ruoyao via Gcc
Hi, When -mstrict-align was added for RISC-V, there was a change for riscv_valid_lo_sum_p: @@ -726,7 +733,8 @@ riscv_valid_lo_sum_p (enum riscv_symbol_type sym_type, enum machine_mode mode) /* We may need to split multiword moves, so make sure that each word can be accessed without indu

Re: Questions about uses of (define_subst ...)

2024-12-31 Thread Richard Sandiford via Gcc
Hi, Sorry for the slow reply, didn't see this till now. Benoit Dinechin via Gcc writes: > Hello, > > I use (define_subst ...) in a way that solves my .md factoring > problems but I wonder if this use is expected and if will be > maintained / documented in the future. > > Target is a 64-bit core

smtgcc end-of-year update

2024-12-31 Thread Krister Walfridsson via Gcc
I have continued working on my translation validator, smtgcc [1], over the last few months. Here's an update on what has happened since my talk at the GNU Tools Cauldron [2]. Improvements The main focus has been improving the smtgcc-tv-backend tool which checks that the generated

Disable warning about #warning

2024-12-31 Thread Martin Licht via Gcc
When compiling in pedantic mode, using the #warning directive emits not only the warning itself but also `` warning: #warning is a GCC extension`` That is true to form, of course, since the pedantic switch is on. But it is desirable to switch off this particular pedantic warning. The explicit