[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-10 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28914

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #14 from jvdelisle at gcc dot gnu dot org 2006-09-10 05:07 --- Fixed on 4.2 only, Follow PR20923 for long compile time issues. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2006-09-10 04:58 --- Subject: Bug 28914 Author: jvdelisle Date: Sun Sep 10 04:58:29 2006 New Revision: 116809 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116809 Log: 2006-09-09 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2006-09-10 04:53 --- Subject: Bug 28914 Author: jvdelisle Date: Sun Sep 10 04:53:18 2006 New Revision: 116808 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116808 Log: 2006-09-09 Paul Thomas <[EMAIL PROTECTED]> PR

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-09 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2006-09-10 04:18 --- Apatch for this bug has been submitted to the fortran list for approval. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-05 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2006-09-05 19:38 --- (In reply to comment #9) > The proposed change in comment #8 appears to give several testsuite failures. > Yes, I know; see the email that I sent you today. The original patch on #5 works fine and is nearly the righ

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2006-09-04 19:33 --- The proposed change in comment #8 appears to give several testsuite failures. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28914

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-04 Thread paul dot richard dot thomas at cea dot fr
--- Comment #8 from paul dot richard dot thomas at cea dot fr 2006-09-04 12:08 --- Even simpler is: trans-array.c(gfc_trans_array_constructor_value) replace loopvar = se.expr; byloopvar = gfc_evaluate_now (se.expr, pblock); gfc_expand_constructor is called f

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2006-09-03 03:44 --- Just an added note. Compile time for large values of n is very long. Many seconds. For n - 2000 $ time gfc pr28914.f90 real1m5.009s user1m3.896s sys 0m0.048s This is on 3.2 gigahertz machine.

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2006-09-02 19:24 --- I tested the provisional patch on i686-linux-pc-gnu. Had to set tmp_loopvar = NULL when declared to avoid warning message on possibly uninitialized variable. Fixes the test case in this PR. Regression testsd

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-01 Thread paul dot richard dot thomas at cea dot fr
--- Comment #5 from paul dot richard dot thomas at cea dot fr 2006-09-01 13:48 --- Created an attachment (id=12168) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12168&action=view) A provisional fix for the problem This is not regtested. Also, I know that there is a better way t

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-09-01 Thread paul dot richard dot thomas at cea dot fr
--- Comment #4 from paul dot richard dot thomas at cea dot fr 2006-09-01 13:45 --- (In reply to comment #3) > Setting the parameter n=65535, the program appears to execute correctly. > However, the pr28914.f90.003t.original file is 706800 bytes long and embedded > with a very large sta

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-08-30 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-08-31 05:28 --- Setting the parameter n=65535, the program appears to execute correctly. However, the pr28914.f90.003t.original file is 706800 bytes long and embedded with a very large static declaration of the array. As if it

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-08-30 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2006-08-31 02:47 --- Well, you do need to upgrade your compiler, but there appears to be a bug :( If n <= 65000, the program works fine. For larger n, the combination of do i = 1, 1 a = (/ (i, i = 1, n) /) end do i

[Bug fortran/28914] Code inside loop hangs; outside loop runs normally; runs OK on other compilers

2006-08-30 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2006-08-31 02:06 --- Upgrade gfortran to at least 4.1.1. The code works fine with gfortran 4.2. -- kargl at gcc dot gnu dot org changed: What|Removed |Added -