re PR target/86048 (.seh_savexmm offset is negative error when compiling libpng)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 13 Jun 2018 11:20:23 +0000 (11:20 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 13 Jun 2018 11:20:23 +0000 (11:20 +0000)
commit70e18df76ed2ccce4f6695b7f848d25dfa31ce0e
tree1a324714f7d9bfc0c7a33b273c25abe20f1cda90
parent8c191c89cfde7c74955c21d488702077cca89117
re PR target/86048 (.seh_savexmm offset is negative error when compiling libpng)

PR target/86048
* config/i386/winnt.c (i386_pe_seh_cold_init): Do not emit negative
offsets for register save directives.  Emit a second batch of save
directives, if need be, when the function accesses prior frames.

From-SVN: r261544
gcc/ChangeLog
gcc/config/i386/winnt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr86048.c [new file with mode: 0644]