https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122887

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>I must admit to having little experience of complex in C99, but am I wrong to 
>expect these two short examples to be effectively identical?


They are not identical because in C99, there is an range reduction step in some
cases for complex multiplication. 

If you want to do the same, you need to use -fcx-limited-range. 

https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Optimize-Options.html#index-fcx-limited-range

Reply via email to