https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113324
--- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> --- I can reproduce with gcc-10.5.0 hosted on x86_64-pc-linux-gnu targeting vax-netbsdelf, but not with gcc-11.4.0. 12.3.0, or 13.2.0.
