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

--- Comment #7 from kargl at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #6)
> The following test giveS ALSO an ICE with -m32
> 
> % cat boz_10.f90
> print *, real(b'1010101001101',10)
> end
> % gfortran -m32 boz_10.f90
> f951: internal compiler error: Segmentation fault: 11
> libbacktrace could not find executable to open
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://gcc.gnu.org/bugs/> for instructions.

I've thought about this, and think it can be fixed by
removing the use gfc_max_integer_kind variable.  Simply
convert the BOZ to an GMP mpz_t with a suitable width.
As I don't use multilib or the precision promoting
options I cannot test the change.

Reply via email to