complex numbers

Paolo Carlini pcarlini@suse.de
Tue Dec 7 13:13:00 GMT 2004


Andreas Klein wrote:

>>Have a look to expand_complex_division in gcc/tree-complex.c, then
>>gcc/toplev.c for flag_complex_divide_method.
>>
>>Andreas, just for curiosity, are you willing to rebuild your gcc
>>with flag_complex_divide_method = 1 and report???
>>    
>>
>Willing is not the problem. But I have only limitet privileges on this
>machine and I am not sure if I can find an other machine with enough
>resources.
>  
>
I will try to do the same as soon as possible...

>However I think if flag_complex_divide_method = 1 fix the problem it would
>be a good idea to set it by default.
>  
>
... but notice that this issue is tricky: there are computational issues 
(we are adding
at least a branch for each division) and correctness issues (what about 
C99?)

Exerimenting a bit with those options and functions is only a *very* 
preliminary,
explorative step!

Paolo.

P.S. In gcc3.3.x the relevant functions are in gcc/optabs.c



More information about the Gcc-bugs mailing list