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]

r240263 - in /trunk/gcc: ChangeLog builtins.c t...


Author: jakub
Date: Tue Sep 20 13:48:40 2016
New Revision: 240263

URL: https://gcc.gnu.org/viewcvs?rev=240263&root=gcc&view=rev
Log:
	PR middle-end/77624
	* builtins.c (fold_builtin_atomic_always_lock_free): Only look through
	cast to void * if the cast is from some other pointer type.

	* c-c++-common/pr77624-1.c: New test.
	* c-c++-common/pr77624-2.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr77624-1.c
    trunk/gcc/testsuite/c-c++-common/pr77624-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.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]