diff mbox

Call set_mem_attributes instead of set_mem_attributes_minus_bitpos where possible

Message ID alpine.LNX.2.00.1301101455390.6889@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Jan. 10, 2013, 1:56 p.m. UTC
Committed as obvious (leaves a single caller of
set_mem_attributes_minus_bitpos).

Richard.

2013-01-10  Richard Biener  <rguenther@suse.de>

	* builtins.c (expand_builtin_init_trampoline): Use
	set_mem_attributes.
diff mbox

Patch

Index: gcc/builtins.c
===================================================================
--- gcc/builtins.c	(revision 195083)
+++ gcc/builtins.c	(working copy)
@@ -4853,8 +4853,7 @@  expand_builtin_init_trampoline (tree exp
      within the local function's FRAME decl.  Either way, let's see if
      we can fill in the MEM_ATTRs for this memory.  */
   if (TREE_CODE (t_tramp) == ADDR_EXPR)
-    set_mem_attributes_minus_bitpos (m_tramp, TREE_OPERAND (t_tramp, 0),
-				     true, 0);
+    set_mem_attributes (m_tramp, TREE_OPERAND (t_tramp, 0), true);
 
   /* Creator of a heap trampoline is responsible for making sure the
      address is aligned to at least STACK_BOUNDARY.  Normally malloc