This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

*ping* Re: [Patch, Fortran] Fix some libgfortran issues found by coverity


* ping *

On 16.10.2012 23:18, Tobias Burnus wrote:
In the Bessel-function algorithm, there was the useless code:
  ret->base_addr = ret->base_addr;

And in all files which included ifunction.m4 is such code:


iall_i4 (gfc_array_i4 * const restrict retarray, ... if (len <= 0) *dest = 0; else ... }

miall_i4 (gfc_array_i4 * const restrict retarray,
...
  if (len <= 0)
    return;
...
        if (len <= 0)
          *dest = 0;
        else

Hence, for the MASK version (m'name`), the second if condition is always false.

Build and regtested on x86-64-gnu-linux.
OK for the trunk?

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]