This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Help on emitting static constant arrays
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: gcc at gcc dot gnu dot org, "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>
- Date: Thu, 5 Jul 2007 18:21:04 +0200
- Subject: Re: Help on emitting static constant arrays
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=i/f3yMgTt3jEreQYssMHx34UtK6GP1PjQP+4paxGumyJ2SIGmtcrdeRpEd5RHK5dshC/k4cwC1FSFR5luDG4vTkHDFUWsKP13f6iPAsTQgZby8DtnTwIBM7nHCwWU1+zukspTn7JlwyDYIGJ1BwlbYStnOHR5vTq4w4EzW3gpLY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=rIyAWCOcP+MPNDbm4OBWCe/UGpsKXp9nmPgU6YQI+l8LHak5sa9XlaTfO9GkgdxP+YlInGZE2s3bSOkTI95RFyA+svI+bDslWneStO9O6HZ4e5U7LBF0GzL4AhFB4xsHnOqbx71PbC/o3zFH84CLxrQu3RHwnMXpYtCYTcx/k6k=
- References: <D1FF966B-0B82-4295-9078-0DA5729022E7@gmail.com> <BAFE7ECC-7DBB-4088-812A-480EDC7F2F02@adacore.com>
It's probably a beginner mistake, but I never wrote code to emit
GIMPLE arrays before, and don't know where to look exactly. I'll
continue looking for the reason, but if someone thinks of
something trivial I'd be interested in knowing!
I am pretty sure you should pass the array as a pointer. That's
how C works.
Hum, I really thought it was something stupid, and it actually was
even more stupid than I thought. Sorry for the noise, and thanks for
the answer!
FX