This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31011] Incorrect error: parameter array sections
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2007 09:09:49 -0000
- Subject: [Bug fortran/31011] Incorrect error: parameter array sections
- References: <bug-31011-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pault at gcc dot gnu dot org 2007-03-08 09:09 -------
Subject: Bug 31011
Author: pault
Date: Thu Mar 8 09:09:38 2007
New Revision: 122689
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122689
Log:
2007-03-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31011
* expr.c (find_array_section): Correct arithmetic for section
size.
2007-03-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31011
* gfortran.dg/parameter_array_section_2.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/parameter_array_section_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31011