Optimization problem with local array initializers

Ahti Heinla ahti@ahti.bluemoon.ee
Sat Jul 10 19:49:00 GMT 2004


On Saturday 10 July 2004 18:11, Eljay Love-Jensen wrote:
> 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.

	OK, I suspected that as well. If so, then this means the warning
has nothing to do with the (still unknown) reason why -O1 and -O0 produce
different results.

Ahti



More information about the Gcc-help mailing list