From: Renlin Li Date: Wed, 24 Jun 2015 08:35:20 +0000 (+0000) Subject: [PATCH]Use "unsigned int" to hold alignment in emit_local function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61c580ea4d8cc3c2834c3da350452077971d8419;p=gcc.git [PATCH]Use "unsigned int" to hold alignment in emit_local function. gcc/ 2015-06-24 Renlin Li * varasm.c (emit_local): Use unsigned int for align variable. From-SVN: r224880 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a95bc27bb7..15091732ac7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-24 Renlin Li + + * varasm.c (emit_local): Use unsigned int for align variable. + 2015-06-24 Ramana Radhakrishnan PR target/63408 diff --git a/gcc/varasm.c b/gcc/varasm.c index 381f99cdd19..056d8c77219 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1946,12 +1946,12 @@ emit_local (tree decl ATTRIBUTE_UNUSED, unsigned HOST_WIDE_INT rounded ATTRIBUTE_UNUSED) { #if defined ASM_OUTPUT_ALIGNED_DECL_LOCAL - int align = symtab_node::get (decl)->definition_alignment (); + unsigned int align = symtab_node::get (decl)->definition_alignment (); ASM_OUTPUT_ALIGNED_DECL_LOCAL (asm_out_file, decl, name, size, align); return true; #elif defined ASM_OUTPUT_ALIGNED_LOCAL - int align = symtab_node::get (decl)->definition_alignment (); + unsigned int align = symtab_node::get (decl)->definition_alignment (); ASM_OUTPUT_ALIGNED_LOCAL (asm_out_file, name, size, align); return true; #else