This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29679] Inability to get shapes correct in initializations
- From: "eedelman at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2006 22:19:10 -0000
- Subject: [Bug fortran/29679] Inability to get shapes correct in initializations
- References: <bug-29679-11549@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from eedelman at gcc dot gnu dot org 2006-11-06 22:19 -------
Subject: Bug 29679
Author: eedelman
Date: Mon Nov 6 22:18:54 2006
New Revision: 118528
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118528
Log:
fortran/
2006-11-06 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/29630
PR fortran/29679
* expr.c (find_array_section): Support vector subscripts. Don't
add sizes for dimen_type == DIMEN_ELEMENT to the shape array.
testsuite/
2006-11-06 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/29630
PR fortran/29679
* gfortran.dg/initialization_2.f90: Test PRs 29630 and 29679 too.
* gfortran.dg/initialization_3.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/initialization_3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/initialization_2.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29679