In article <20200429110459.0d9bcf...@cvs.netbsd.org>, Rin Okuyama <source-changes-d@NetBSD.org> wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: rin >Date: Wed Apr 29 11:04:58 UTC 2020 > >Modified Files: > src/external/gpl3/gdb/lib/libgdb: Makefile > >Log Message: >PR toolchain/54820 >PR toolchain/54877 > >GCC 8.4 miscompiles dwarf2expr.c with -O2 or -O1 for earmv7hf{,eb}, which >results in crashes described in the PRs. No upstream fixes up to now. So, >let us disable optimization for this file. > >Note that this affects only earmv7hf{,eb} as far as I can see. Crashes do >not occur neither for earmv6hf{,eb} nor earmv7{,eb}.
Nice catch! christos