[Patch, Fortran] Fix integer kind returned by storage_size (was: Re: incorrect integer kind returned from call to storage_size() with gcc 4.9.0)

2014-07-25 Thread Tobias Burnus
Hi, N.M. Maclaren wrote: On Jul 25 2014, Rezny, Mike wrote: I am seeing the following problems in using the Fortran intrinsic function, storage_size(), in gfortran version 4.9.0. 1: A calls to this function is returning a 64-bit integer instead of a default 32-bit integer 2: the routine is

Re: [Patch, Fortran] Fix integer kind returned by storage_size

2014-07-25 Thread Tobias Burnus
Tobias Burnus wrote: The problem is fixed by the attached patch. I will commit it as obvious (to the trunk, i.e. GCC 5 alias GCC 4.10 only) once building and regtesting has finished. As I only saw later in Steve's email, it is a regression. Thus, I will also apply it to the GCC 4.9 branch