--- Comment #11 from Tobias dot Schlueter at physik dot uni-muenchen dot de
2006-10-16 10:52 ---
Subject: Re: ICE in operand_subword_force, at
emit-rtl.c:1353
franke dot daniel at gmail dot com <[EMAIL PROTECTED]> wrote on
Sat, 14 Oct 2006:
> Don't know whether it makes any
--- Comment #10 from franke dot daniel at gmail dot com 2006-10-14 08:46
---
Don't know whether it makes any difference - but if it is the array constructor
that crashes because of unequal string lengths within its arguments, why is
there no problem with this code?
PROGRAM test_constru
--- Comment #9 from Tobias dot Schlueter at physik dot uni-muenchen dot de
2006-10-13 19:19 ---
Subject: Re: ICE in operand_subword_force, at
emit-rtl.c:1353
franke dot daniel at gmail dot com <[EMAIL PROTECTED]> wrote on
Fri, 13 Oct 2006:
> As requested in comment #7, a te
--- Comment #8 from franke dot daniel at gmail dot com 2006-10-13 15:54
---
As requested in comment #7, a testcase for equal string lengths (identical to
original PR but to_string() returns CHARACTER(len=255) instead of
CHARACTER(len=32)):
$> cat cat pr29267.f90
PROGRAM test_ice
CHAR
--- Comment #7 from tobi at gcc dot gnu dot org 2006-10-09 11:14 ---
(In reply to comment #6)
> please try the testcase in the orignal PR with idental string lengths. It will
> crash gfortran as well.
Works for me. Please provide a testcase.
[EMAIL PROTECTED]:~/src/pr/29267> cat t.f90
--- Comment #6 from franke dot daniel at gmail dot com 2006-10-07 07:09
---
Tobi,
> Actually this is invalid code. The string lengths in the constructor are
> different, even though they have to be the same.
please try the testcase in the orignal PR with idental string lengths. It wi
--
tobi at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |tobi at gcc dot gnu dot org
|dot org
--- Comment #5 from tobi at gcc dot gnu dot org 2006-10-06 21:01 ---
Actually this is invalid code. The string lengths in the constructor are
different, even though they have to be the same. See 4.5 in the F95 standard.
--
tobi at gcc dot gnu dot org changed:
What|R
--- Comment #4 from tobi at gcc dot gnu dot org 2006-10-06 20:37 ---
Another interesting variation:
[EMAIL PROTECTED]:~/src/pr/29267> cat t.f90
implicit character*32 (a-z)
CHARACTER(len=255), DIMENSION(1,2) :: a
a = reshape((/ to_string(1.0) /), (/ 1, 2 /))
END PROGRAM
[EMAIL PROTE
--- Comment #3 from tobi at gcc dot gnu dot org 2006-10-06 20:36 ---
Slightly reduced testcase, gives the same ice:
implicit character*32 (a-z)
CHARACTER(len=255), DIMENSION(1,2) :: a
a = resh
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-10-04 06:59
---
I think this code is valid. Changing to ice-on-valid-code.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-09-28 13:09 ---
Confirmed.
(gdb) bt
#0 fancy_abort (
file=0xc80d78 "/space/rguenther/src/svn/trunk/gcc/emit-rtl.c", line=1353,
function=0xc80ef0 "operand_subword_force")
at /space/rguenther/src/svn/trunk/gcc/diagnosti
12 matches
Mail list logo