https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90045

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 46192
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46192&action=edit
preprocessed source

With a cross to rx-elf

> ./configure --enable-languages=c,c++,lto --target=rx-elf --with-newlib 
> --enable-multilib
> make all-gcc
> ./gcc/cc1plus -fpreprocessed valarray.ii -quiet -dumpbase valarray.cc 
> -auxbase-strip valarray.o -g -O2 -Wall -Wextra -Wwrite-strings -Wcast-qual 
> -Wabi=2 -std=gnu++98 -version -fno-implicit-templates 
> -fdiagnostics-show-location=once -frandom-seed=valarray.lo -o valarray.s
> rx-elf-as -m32bit-doubles -mrx-abi -o valarray.o valarray.s
valarray.s: Assembler messages:
valarray.s: Fatal error: Infinite loop encountered whilst attempting to compute
the addresses of symbols in section .text._ZSt15__valarray_copyImEvPKT_mPS0_

trying to reduce that now (the assembly looks innocous).

Reply via email to