pdp11: Fix warnings to allow compilation with a recent GCC and --enable-werror-always

Koning, Paul Paul.Koning@dell.com
Mon Jun 28 16:17:13 GMT 2021

> On Jun 28, 2021, at 11:33 AM, Jan-Benedict Glaw <jbglaw@lug-owl.de> 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 \
> 	--prefix=/var/lib/laminar/run/gcc-pdp11-aout/5/toolchain-install
> 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

Yes, thanks!

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 mailing list