[Bug lto/90523] lto1 segfault in arm_parse_cpu_option_name

2019-05-17 Thread hoganmeier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90523 --- Comment #3 from krux --- Possible, gcc was built with --disable-multilib --with-arch=armv7e-m --with-mode=thumb --with-float=soft. And if I replace -mcpu=cortex-m4 with -march=armv7e-m in my test command there's no crash.

[Bug lto/90523] lto1 segfault in arm_parse_cpu_option_name

2019-05-17 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90523 --- Comment #2 from Alexander Monakov --- See also PR 87076, which has a reduced testcase and some root-cause analysis (likely a duplicate).

[Bug lto/90523] lto1 segfault in arm_parse_cpu_option_name

2019-05-17 Thread hoganmeier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90523 --- Comment #1 from krux --- So this one must be null: https://github.com/gcc-mirror/gcc/blob/65af043/gcc/config/arm/arm.c#L3148