Commit 8b1bdcc5 by Jakub Jelinek Committed by Jakub Jelinek

tree-object-size.c (pass_through_call): Handle BUILT_IN_ASSUME_ALIGNED.

	* tree-object-size.c (pass_through_call): Handle
	BUILT_IN_ASSUME_ALIGNED.

From-SVN: r175768
parent 761da135
2011-07-01 Jakub Jelinek <jakub@redhat.com>
* tree-object-size.c (pass_through_call): Handle
BUILT_IN_ASSUME_ALIGNED.
2011-07-01 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs.
......
/* __builtin_object_size (ptr, object_size_type) computation
Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010
Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>
......@@ -464,6 +464,7 @@ pass_through_call (const_gimple call)
case BUILT_IN_STRNCPY_CHK:
case BUILT_IN_STRCAT_CHK:
case BUILT_IN_STRNCAT_CHK:
case BUILT_IN_ASSUME_ALIGNED:
if (gimple_call_num_args (call) >= 1)
return gimple_call_arg (call, 0);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment