This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization problem with local array initializers
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Ahti Heinla <ahti at ahti dot bluemoon dot ee>, gcc-help at gcc dot gnu dot org
- Date: Sat, 10 Jul 2004 10:11:32 -0500
- Subject: Re: Optimization problem with local array initializers
- References: <200407101438.56387.ahti@ahti.bluemoon.ee>
Hi Ahti,
I believe the compiler is warning you that the initialize is not computable
AT LOAD TIME. Which means it will be calculated AT RUN TIME, which may be
a performance hit that you wouldn't want to incur.
HTH,
--Eljay