This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80706] [7/8 Regression] peephole2 uses uninitialized stack variables on i686


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]