[Shootout-list] Ada word-frequency

Brent Fulgham bfulg@pacbell.net
Sat, 26 Mar 2005 16:33:48 -0800


On Mar 26, 2005, at 4:13 PM, Marius Amado Alves wrote:

>> No, the problem here is that "-funroll-loops" creates a nonfunctional 
>> program.
>
> I see. Sorry, I'm not proficient with GCC options. If "-funroll-loops" 
> conflits with recursive calls (sounds like it), and the compiler is 
> not smart enough to detect a program has them, then indeed this option 
> must not be set in this case. Thanks a lot.

I'm not proficient either.  I just noticed that if I followed the 
instructions in your e-mail,
it worked fine, but if I ran it through the shootout it failed.

Breaking it down into simple steps, I found that the -funroll-loops 
option was the culprit.

Unfortunately, while I can *add* options at a low level, I can't remove 
them.  So to get
rid of "-funroll-loops" I have to modify all Makefiles to add it (where 
it works) and then
remove it from the global makeful.  Bleah!  :-(

-Brent