> However, today I noticed, that the compiler does not seem to like siprimes,
> unless optimisation is -q1.

I thought, I had posted that bug at aldor-l...

It should be sufficient to say -q no-all. I have no idea what 
optimizations are not done then, but at least one can use -q2 or -q3, I 
believe.

> So, what I really would like to do is to specify "exceptional" optimisation
> settings per file. I.e., I'd like to say

> VARIANTFLAGSordinary=-q3 -qinline-limit=1 -qinline-size=1 -lalgebra -laldor

> but override this setting for certain files, namely siprimes, but also some
> files in the test directory.

Unfortunately, the design of ALLPROSE currently does not allow this. 
I'll think about it whether it could easily be achieved. But actually, 
I'd hate it, since it is just the compiler that does something wrong. 
And thus I would add workarounds into ALLPROSE. That's ugly.

> Is it possible to specify optimization settings in the sourcefiles themselves,
> maybe?

Ask at aldor-l. I only know that one can say

import from Foo;
inline from Foo;

but maybe this is done automatically for -q n if n>=3.

And I know of "#int options ..." (see AUG), but that is only for 
interactive use, I'm afraid.

Ralf

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Aldor-combinat-devel mailing list
Aldor-combinat-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aldor-combinat-devel

Reply via email to