This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Interoperability of Fortran array and C vector?
- From: Sa Liu <SALIU at de dot ibm dot com>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, GCC Development <gcc at gcc dot gnu dot org>, Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Date: Wed, 5 Mar 2008 13:17:01 +0100
- Subject: Re: Interoperability of Fortran array and C vector?
- References: <339c37f20803040422y515b504aucd56d16520e8ca2e@mail.gmail.com> <OF47E8DB85.6CE75F08-ONC1257402.0045FAB7-C1257402.004BC152@de.ibm.com> <47B7DF58-8DBB-491E-B36E-4BCB6B98CBEA@gmail.com>
I noticed that in fortran/convert.c the convert() function calls
convert_to_vector() if the target type is VECTOR_TYPE. When is that
function triggered in Fortran frontend? Since Fortran language doesn't
support vector type, why does it convert something to a vector expression?
Thanks!
Sa