Commit c047b694 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[cp][committed] Fix bootstrap on arm due to print format warning

	* init.c (warn_placement_new_too_small): Use %wu format
	rather than %lu when printing bytes_avail.

From-SVN: r229849
parent b036c6c5
2015-11-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* init.c (warn_placement_new_too_small): Use %wu format
rather than %lu when printing bytes_avail.
2015-11-05 Cesar Philippidis <cesar@codesourcery.com> 2015-11-05 Cesar Philippidis <cesar@codesourcery.com>
Thomas Schwinge <thomas@codesourcery.com> Thomas Schwinge <thomas@codesourcery.com>
James Norris <jnorris@codesourcery.com> James Norris <jnorris@codesourcery.com>
......
...@@ -2447,7 +2447,7 @@ warn_placement_new_too_small (tree type, tree nelts, tree size, tree oper) ...@@ -2447,7 +2447,7 @@ warn_placement_new_too_small (tree type, tree nelts, tree size, tree oper)
"%<%T [%wu]%> and size %qwu in a region of type %qT " "%<%T [%wu]%> and size %qwu in a region of type %qT "
"and size %qwi" "and size %qwi"
: "placement new constructing an object of type " : "placement new constructing an object of type "
"%<%T [%lu]%> and size %qwu in a region of type %qT " "%<%T [%wu]%> and size %qwu in a region of type %qT "
"and size at most %qwu", "and size at most %qwu",
type, tree_to_uhwi (nelts), bytes_need, type, tree_to_uhwi (nelts), bytes_need,
TREE_TYPE (oper), TREE_TYPE (oper),
......
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