https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140
--- Comment #17 from uros at gcc dot gnu.org --- Author: uros Date: Wed Jan 6 20:19:04 2016 New Revision: 232111 URL: https://gcc.gnu.org/viewcvs?rev=232111&root=gcc&view=rev Log: PR target/69140 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid depending on frame_pointer_needed before remaining integer and SSE registers are saved. testsuite/ChangeLog: PR target/69140 * gcc.target/i386/pr69140.c: New test Added: trunk/gcc/testsuite/gcc.target/i386/pr69140.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog