--- Comment #7 from tkoenig at gcc dot gnu dot org 2009-02-21 22:25 ---
Subject: Bug 38914
Author: tkoenig
Date: Sat Feb 21 22:25:06 2009
New Revision: 144362
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144362
Log:
2008-02-21 Thomas Koenig
PR fortran/38914
--- Comment #6 from tkoenig at gcc dot gnu dot org 2009-01-26 22:50 ---
> Here's something that at least passes all the *bound* tests.
Regression test passed - formal submission of the patch tomorrow,
probably.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38914
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-01-26 21:04 ---
Created an attachment (id=17186)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17186&action=view)
patch
Here's something that at least passes all the *bound* tests.
--
tkoenig at gcc dot gnu dot org change
--- Comment #4 from tkoenig at gcc dot gnu dot org 2009-01-26 09:14 ---
> Here's a tentative patch:
... which causes regressions.
Back to the drawing board.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38914
--- Comment #3 from tkoenig at gcc dot gnu dot org 2009-01-26 09:11 ---
(In reply to comment #2)
> the lbound should be simplified in simplify_bound even if the ARRAY argument
> is
> not a full array.
>
Here's a tentative patch:
Index: simplify.c
=
--- Comment #2 from mikael at gcc dot gnu dot org 2009-01-19 19:47 ---
the lbound should be simplified in simplify_bound even if the ARRAY argument is
not a full array.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38914
--- Comment #1 from kargl at gcc dot gnu dot org 2009-01-19 17:56 ---
Reduced testcase. This appears to be an array section problem
with lbound().
MODULE U_above_TESTS
INTEGER, PARAMETER, DIMENSION(0:20,4) :: IP_ARRAY2_4_S = 0
INTEGER, PARAMETER, DIMENSION(2) :: IP_A