Re: [Patch, Fortran] PR57142 - Fix simplify for SHAPE and SIZE for large arrays

2013-05-04 Thread Thomas Koenig
Hi Tobias, Instead of using the return "size" value directly, the code converted it first to an int and then back into a GMP number. This patch now directly uses the mpz value. Additionally, I added range checks - to print the proper function name (SHAPE instead of SIZE), I split the worker cod

Re: [Patch, Fortran] PR57142 - Fix simplify for SHAPE and SIZE for large arrays

2013-05-02 Thread Steve Kargl
On Thu, May 02, 2013 at 05:46:55PM +0200, Tobias Burnus wrote: > Instead of using the return "size" value directly, the code converted it > first to an int and then back into a GMP number. This patch now directly > uses the mpz value. > > Additionally, I added range checks - to print the proper

[Patch, Fortran] PR57142 - Fix simplify for SHAPE and SIZE for large arrays

2013-05-02 Thread Tobias Burnus
Instead of using the return "size" value directly, the code converted it first to an int and then back into a GMP number. This patch now directly uses the mpz value. Additionally, I added range checks - to print the proper function name (SHAPE instead of SIZE), I split the worker code from the