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]

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


Author: jakub
Date: Tue Dec  2 10:13:05 2008
New Revision: 142348

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142348
Log:
	PR middle-end/38343
	* builtins.c (expand_builtin_mempcpy_args): Handle COMPOUND_EXPRs
	potentially returned from folding memcpy.
	(expand_builtin_stpcpy_args): Similarly for folding strcpy.
	(fold_builtin_2): Handle BUILT_IN_STPCPY if result is ignored.

	* gcc.c-torture/compile/pr38343.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr38343.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]