[Bug fortran/33727] Segfault with ugly string array constructor

2007-12-02 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33727

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-13 Thread tobi at gcc dot gnu dot org
--- Comment #8 from tobi at gcc dot gnu dot org 2007-10-13 22:28 --- Dominique, I forgot to say: your testcase is also fixed by Paul's patch, and it's really the same problem, so the testcase I added is enough. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33727

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-13 Thread tobi at gcc dot gnu dot org
--- Comment #7 from tobi at gcc dot gnu dot org 2007-10-13 21:45 --- Fixed. -- tobi at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-13 Thread tobi at gcc dot gnu dot org
--- Comment #6 from tobi at gcc dot gnu dot org 2007-10-13 21:44 --- Subject: Bug 33727 Author: tobi Date: Sat Oct 13 21:43:49 2007 New Revision: 129286 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129286 Log: 2007-10-13 Tobias Schlueter <[EMAIL PROTECTED]> Paul Thomas

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-11 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-10-11 07:26 --- Confirmed. Tobias, You should have received the fix. Cheers Paul Index: gcc/fortran/trans-array.c === *** gcc/fortran/trans-array.c (révision 12912

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-10 Thread tobi at gcc dot gnu dot org
--- Comment #4 from tobi at gcc dot gnu dot org 2007-10-10 14:40 --- OTOH this works: program array_char implicit none character (len=2) :: x character (len=1) :: z x = "a " z = x(1:len(trim(x))) end program array_char So the problem is with array constructors. -- http://gcc.gnu.or

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-10 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-10 14:38 --- Note that the (IMHO) valid code: program array_char implicit none character (len=2) :: x, y character (len=2) :: z(2) x = "a " y = "cd" z = (/y(1:len(trim(x))), x(1:len(trim(x)))/) ! causes segfault print *, z end p

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-10 Thread tobi at gcc dot gnu dot org
--- Comment #2 from tobi at gcc dot gnu dot org 2007-10-10 14:34 --- (In reply to comment #1) > There's a disabled check in bounds_check_10.f90 (to be submitted) which > depends > on this bug, please enable it after fixing. Scratch that, of course after the first runtime error the test

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-10 Thread tobi at gcc dot gnu dot org
--- Comment #1 from tobi at gcc dot gnu dot org 2007-10-10 14:25 --- There's a disabled check in bounds_check_10.f90 (to be submitted) which depends on this bug, please enable it after fixing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33727