http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53738

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i?86-*-mingw32
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
         Resolution|                            |MOVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-06-21 
03:33:23 UTC ---
Works for me correctly on linux:
Test Cases:2

Number:1020

log=3
pow(10,log)=1000
pow(10,log-1)=100
pow(10,log)=1000
pow(10,log)/10=100


Number:10230

log=4
pow(10,log)=10000
pow(10,log-1)=1000
pow(10,log)=10000
pow(10,log)/10=1000

>Works fine when run on IDEONE in C(gcc-4.3.4)

That is most likely linux too.

In fact there is nothing GCC can do since pow is not provided by GCC but rather
who ever provides your libc.  I would report this to the mingw folks.

Reply via email to