This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimization problem with local array initializers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]