This is the mail archive of the
mailing list for the GCC 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
- 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