This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 14 May 2017 12:50:28 +0000
- Subject: [Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686
- Auto-submitted: auto-generated
- References: <bug-80706-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706
--- Comment #16 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun May 14 12:49:55 2017
New Revision: 248032
URL: https://gcc.gnu.org/viewcvs?rev=248032&root=gcc&view=rev
Log:
Backport from mainline
2017-05-11 Uros Bizjak <ubizjak@gmail.com>
PR target/80706
* config/i386/sync.md (UNSPEC_LDX_ATOMIC): New unspec.
(UNSPEC_STX_ATOMIC): Ditto.
(loaddi_via_sse): New insn.
(storedi_via_sse): Ditto.
(atomic_loaddi_fpu): Emit loaddi_via_sse and storedi_via_sse.
Update corresponding peephole2 patterns.
(atomic_storedi_fpu): Ditto.
testsuite/ChangeLog:
Backport from mainline
2017-05-11 Uros Bizjak <ubizjak@gmail.com>
Jakub Jelinek <jakub@redhat.com>
PR target/80706
* gcc.target/i386/pr80706.c: New test.
2017-05-11 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/pr22152.c: Fix undefined testcase.
Remove unnecessary loop. Run on 32-bit targets only.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr80706.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/i386/sync.md
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr22152.c