[vox-tech] another gcc question

Peter Jay Salzman vox-tech@lists.lugod.org
Wed, 27 Feb 2002 09:31:21 -0800


another optimization question:

   int n = 5;
   for (i=0; i<n; ++i)

can gcc unroll this loop the way it can (for instance)

   #define N 5
   for (i=0; i<N; ++i)

if it can't, what about

   const int n = 5;
	for (i=0; i<n; ++i)

pete