This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29489] LBOUND (array) and LBOUND (array, DIM) give different results.
- 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: 17 Oct 2006 10:27:51 -0000
- Subject: [Bug fortran/29489] LBOUND (array) and LBOUND (array, DIM) give different results.
- References: <bug-29489-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pault at gcc dot gnu dot org 2006-10-17 10:27 -------
Created an attachment (id=12450)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12450&action=view)
A patch to gfc_conv_intrinsic_bound to simplify diagnosis
FX,
The patch, as promised, is attached.
I have seen what the problem is, in the meantime: LBOUND (soda, 2) is being
processed in simplify.c(simplify_bound), which does not kow about your middle
end mods!
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29489