https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119312 --- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> --- But the callee is still allowed to assign the whole struct through the non-const pointer.