[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-05-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2009-05-16 16:53 --- Subject: Bug 31243 Author: fxcoudert Date: Sat May 16 16:53:02 2009 New Revision: 147619 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147619 Log: PR fortran/31243 * resolve.c (resolve_

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-05-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2009-05-16 16:15 --- Patch posted for the compile-time part of this PR: http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01013.html Here are three testcases that should be handled when runtime checking is performed: $ cat a3.f90 progra

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-04-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2009-04-18 22:07 --- Unassigning myself, time constraints -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-04-17 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2009-04-17 22:42 --- Compiling the code in comment #1 gives: [ibook-dhum] f90/bug% gfc42 pr31243.f90 pr31243.f90:12.15: print *, len(ch) 1 Error: Result of LEN overflows its kind at (1) It compiles with -fdefault-intege

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-04-17 Thread jb at gcc dot gnu dot org
--- Comment #6 from jb at gcc dot gnu dot org 2009-04-17 22:13 --- I'm not sure how this could be fixed in a "proper way" without breaking the procedure call ABI. Gfortran follows pretty much every other Fortran compiler in providing character length as a hidden argument of type default

[Bug fortran/31243] truncating strings longer than 2**32 characters

2009-01-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-01-27 05:00 --- I am going to look at this for a bit. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/31243] truncating strings longer than 2**32 characters

2008-07-24 Thread domob at gcc dot gnu dot org
--- Comment #4 from domob at gcc dot gnu dot org 2008-07-24 16:31 --- This seems to be still in there... Any interest that I work on this? What's about emitting a warning if either len= or a substring-reference expression is of a KIND that can have larger values than the machine can ha

[Bug fortran/31243] truncating strings longer than 2**32 characters

2007-12-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-12-25 23:32 --- Maybe we could just issue a "compiler limit" error message. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31243

[Bug fortran/31243] truncating strings longer than 2**32 characters

2007-05-28 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|fxcoudert at gcc dot gnu dot|unassigned at gcc dot gnu |org

[Bug fortran/31243] truncating strings longer than 2**32 characters

2007-04-16 Thread tobi at gcc dot gnu dot org
--- Comment #2 from tobi at gcc dot gnu dot org 2007-04-16 13:52 --- Issuing a warning would be a good thing, "INTEGER*8 value may be greater than longest possible CHARACTER on your architecture", maybe even a runtime error in the second case. I hope you're not suggesting that we devise

[Bug fortran/31243] truncating strings longer than 2**32 characters

2007-03-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-03-28 22:50 --- Same thing happens for local variables, character arguments and character functions... Example of the first case: subroutine foo(i) integer(kind=8), intent(in) :: i character(len=i) :: x print *, len(x) en

[Bug fortran/31243] truncating strings longer than 2**32 characters

2007-03-17 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last recon