Hello Roland!

On Mon, Mar 24, 2014 at 11:19 AM, Roland Schwingel <rol...@onevision.com> wrote:
> Hi Kai...
>
> Kai Tietz <ktiet...@googlemail.com> wrote on 24.03.2014 15:19:03:
>
>  > Hi Roland,
>  >
>  > could you please provide a small testcase
>  > demonstrating this end-less loop?
> Testcase is quite simple:
>
> #include <stdio.h>
> #include <math.h>
>
> int main(int argc,const char **argv)
> {
>         printf("before\n");
>         pow(2,-2147483648.);
>         printf("after\n");
>
>         return 0;
> }
>
>  > I assume that this issue got already fixed in the past.  And there is
>  > for sure no endless loop on the iteration due in my repository we
>  > iterate here on an unsigned variant of y, so there is no such thing.
>  > Might it be that you were using a different version then I do?
> Here we are running the most recent released mingw-w64-crt (3.1).
> I even looked into trunk. The code there was not changed for months.

Just to confirm that you are not going totally crazy, I do see the
endless loop with an older version of mingw-w64.

pow_test.c is your test-case code from above.

   C:\>gcc --version
   gcc (rubenvb-4.8-stdthread) 4.8.1 20130324 (prerelease)

   C:\>gcc -o pow_test pow_test.c

   C:\>pow_test
   before
   ^C

Here, the "^C" indicates that I killed pow_test because it had hung.

Thanks for the heads-up.  I'll know to be on the lookout for this
bug, at least until my next upgrade.

> Greetings,
>
> Roland


Best.


K. Frank

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to