--- Comment #11 from pault at gcc dot gnu dot org 2008-06-17 18:09 ---
Subject: Bug 34396
Author: pault
Date: Tue Jun 17 18:08:24 2008
New Revision: 136871
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136871
Log:
2008-06-17 Paul Thomas [EMAIL PROTECTED]
PR
--- Comment #9 from pault at gcc dot gnu dot org 2008-01-10 19:11 ---
Subject: Bug 34396
Author: pault
Date: Thu Jan 10 19:10:48 2008
New Revision: 131448
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=131448
Log:
2008-01-10 Paul Thomas [EMAIL PROTECTED]
PR
--- Comment #10 from pault at gcc dot gnu dot org 2008-01-10 19:13 ---
Fixed on trunk
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from burnus at gcc dot gnu dot org 2008-01-10 07:45 ---
Patch: http://gcc.gnu.org/ml/fortran/2008-01/msg00117.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34396
--- Comment #7 from pault at gcc dot gnu dot org 2007-12-16 11:45 ---
OK then, I'll give it a try!
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from pault at gcc dot gnu dot org 2007-12-09 09:29 ---
For the original, I am getting:
|cd| |a|
99 100 0 0 0
97 0 0 0 0
and for comment #3:
|cd| |ae|
99 100 0 0 0
97 101 0 0 0
Today's trunk on x86_ia64/fc5.
Paul
--
--- Comment #5 from dominiq at lps dot ens dot fr 2007-12-09 09:34 ---
For the original, I am getting: ...
Yes it depends of the memory content, anyway the 0 in your results should be
spaces.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34396
--- Comment #6 from pault at gcc dot gnu dot org 2007-12-09 17:14 ---
Dominique,
Yes it depends of the memory content, anyway the 0 in your results should be
spaces.
Ah yes. The problem is in trans-array.c(gfc_trans_array_ctor_element), where
the assignment, line 975 onwards,
--- Comment #1 from burnus at gcc dot gnu dot org 2007-12-08 23:02 ---
According to NAG f95 the program is invalid; it prints at run time:
Unequal character lengths (1 and 2) in array constructor
Program terminated by fatal error
In ARRAY_CHAR, line 9 of aaa.f90
I actually would
--- Comment #2 from dominiq at lps dot ens dot fr 2007-12-08 23:08 ---
I actually would expect gfortran to diagnose this with -fbounds-check.
Me too, but this works only if the lengths are correctly computed. The test
case pass the bounds check.
--
--- Comment #3 from jv244 at cam dot ac dot uk 2007-12-09 06:20 ---
changing into:
z = (/y(1:len(trim(y))), x(1:len(trim(x)))//e/)
makes this valid and shows the same issue on valid code
--
jv244 at cam dot ac dot uk changed:
What|Removed |Added
--
jv244 at cam dot ac dot uk changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last
12 matches
Mail list logo