This is the mail archive of the gcc-cvs@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]

r229317 - in /trunk/gcc: ChangeLog optabs.c tes...


Author: ktkachov
Date: Mon Oct 26 10:28:12 2015
New Revision: 229317

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

	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:
    trunk/gcc/testsuite/g++.dg/pr67989.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs.c
    trunk/gcc/testsuite/ChangeLog


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