1. 09 Jun, 2017 3 commits
    • Lorenz Huedepohl's avatar
      Prevent some more warnings about uninitialized uses · 6688e40c
      Lorenz Huedepohl authored
      It is not quite clear to me why GCC complains here when
      WANT_SINGLE_PRECISION_REAL is not defined, as the variables are then not
      used _at all_.
      Nonetheless, this again prevents build on the SuSE OBS, so fix it to
      make the compiler happy
    • Lorenz Huedepohl's avatar
    • Lorenz Huedepohl's avatar
      Prevent compiler error due to uninitialized value · 333572d9
      Lorenz Huedepohl authored
      Another blocker for the SuSE build server: Even though the variable is
      later not actually used by the function, a recent GCC complains about
      the use of an uninitialized value for that variable.
      This prevents build on the OBS, as they use compiliation flags that
      detect such behaviour.
      Error message there:
       ../test/C/driver/legacy_interface/legacy_real_driver_c_version.c:193:12: warning: 'THIS_REAL_ELPA_KERNEL_API' is used uninitialized in this function [-Wuninitialized]
           success = elpa_solve_evp_real_double(na, nev, a, na_rows, ev, z, na_rows, nblk, na_cols, mpi_comm_rows, mpi_comm_cols, my_mpi_comm_world, THIS_REAL_ELPA_KERNEL_API, useQr, useGPU,
       I: Program is using uninitialized variables.
          Note the difference between "is used" and "may be used"
       W: elpa uninitialized-variable ../test/C/driver/legacy_interface/legacy_real_driver_c_version.c:193
  2. 08 Jun, 2017 1 commit
  3. 07 Jun, 2017 1 commit
    • Lorenz Huedepohl's avatar
      Refactor unsafe string conversion with C pointers · 0d444556
      Lorenz Huedepohl authored
      Recent GCC complain that an assignment involving a transfer statement
      might potentially overflow the destination buffer. This prevented a
      build on the SuSE build server.
      Replaced this with a proper C string pointer.
      Error message there:
              methodFortran(1:charCount) = transfer(method(1:charCount), methodFortran)
       Warning: '__builtin_memset': writing between 1 and 2147483640 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
       I: Statement might potentially overflow a destination buffer, where a size larger
           than the actual buffer was specified
       E: elpa destbufferoverflow Warning: '__builtin_memset'
  4. 06 Jun, 2017 2 commits
  5. 05 Jun, 2017 1 commit
  6. 04 Jun, 2017 4 commits
  7. 03 Jun, 2017 2 commits
  8. 02 Jun, 2017 6 commits
  9. 01 Jun, 2017 8 commits
  10. 31 May, 2017 3 commits
  11. 30 May, 2017 9 commits