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

GitHub noreply at github.com
Fri Oct 10 12:15:39 EDT 2014


  Branch: refs/heads/master
  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: 7eff5b881b7d6353b58195762fe2a677826fa84f
      https://github.com/numpy/numpy/commit/7eff5b881b7d6353b58195762fe2a677826fa84f
  Author: Charles Harris <charlesr.harris at gmail.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/e6e2bb0f4a22...7eff5b881b7d


More information about the Numpy-svn mailing list