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 middle-end/67989] [4.9/5/6 Regression] g++ ICE on armel valid code


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67989

--- Comment #14 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Oct 27 14:07:04 2015
New Revision: 229443

URL: https://gcc.gnu.org/viewcvs?rev=229443&root=gcc&view=rev
Log:
[optabs.c] Fix PR 67989: Handle const0_rtx target in
expand_atomic_compare_and_swap

        Backport from mainline
        2015-10-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        PR middle-end/67989
        * optabs.c (expand_atomic_compare_and_swap): Handle case when
        ptarget_oval or ptarget_bool are const0_rtx.

        * g++.dg/pr67989.C: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/pr67989.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/optabs.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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