[Numpy-svn] [numpy/numpy] 017969: BUG: remove static from function to avoid gcc-4.1 ...

GitHub noreply at github.com
Fri Oct 10 13:02:40 EDT 2014


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: 017969b193a135cd3bb63d5704bd11b62449f34e
      https://github.com/numpy/numpy/commit/017969b193a135cd3bb63d5704bd11b62449f34e
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-10-09 (Thu, 09 Oct 2014)

  Changed paths:
    M numpy/core/src/multiarray/arraytypes.c.src

  Log Message:
  -----------
  BUG: remove static from function to avoid gcc-4.1 miscompile

gcc 4.1.2 (e.g. in red hat 5) will miscompile the function when
inlining. Without static it will not inline solving the issue.
Closes gh-5163


  Commit: 1b7712bde24a55dc457ade84bb2e214cdf9e5637
      https://github.com/numpy/numpy/commit/1b7712bde24a55dc457ade84bb2e214cdf9e5637
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-10-10 (Fri, 10 Oct 2014)

  Changed paths:
    M numpy/core/src/multiarray/arraytypes.c.src

  Log Message:
  -----------
  Merge pull request #5167 from juliantaylor/rh5-miscompile

BUG: remove static from function


Compare: https://github.com/numpy/numpy/compare/5a5dc6e8ebba...1b7712bde24a


More information about the Numpy-svn mailing list