pdp11: Fix warnings to allow compilation with a recent GCC and --enable-werror-always
Mon Jun 28 16:17:13 GMT 2021
> On Jun 28, 2021, at 11:33 AM, Jan-Benedict Glaw <firstname.lastname@example.org> wrote:
> Hi Paul!
> I'd like to install this patch to let the pdp11-aout configuration
> build again with eg.
> ../gcc/configure --target=pdp11-aout --enable-werror-always \
> --enable-languages=all --disable-gcov --disable-shared \
> --disable-threads --without-headers \
> No testsuite (yet? Maybe I'd add a bit), but re-checked some Hello
> World'ish code for no changes and it still runs on a SIMH pdp11.
> Okay for master?
> MfG, JBG
The test suite "compile" section isn't completely clean yet but it mostly works. Execution is more problematic at this point.
More information about the Gcc-patches