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

[LTO] [PATCH] Tighten up a little bit type system


Hi,

  This tighten up a little bit of the type system by removing
the useless conversion to void*.  It is based on a patch
by Diego and fixes up the regression which he mentions
at the time the patch was posted.

OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* tree-ssa.c (tree_ssa_useless_type_conversion_1):
	Remove case for "void*".
	* builtins.c (fold_builtin_memmove): Add new argument for
	bcopy call.
	(expand_builtin_memmove): Take into account new argument
	of fold_builtin_memmove.
	(fold_builtin_1): Add case for BUILT_IN_BCOPY, calling
	fold_builtin_memmove.
	(readonly_data_expr): Look through SSA_NAMEs.
	* Makefile.in (builtins.o): Add dependency on
	tree-ssa-propagate.h



Attachment: voidtype.diff.txt
Description: Text document


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