varasm.c (elf_record_gcc_switches): Cast second argument of ASM_OUTPUT_SKIP to unsigned HOST_WIDE_INT.

* varasm.c (elf_record_gcc_switches): Cast second argument of
	ASM_OUTPUT_SKIP to unsigned HOST_WIDE_INT.

From-SVN: r119744
This commit is contained in:
Andreas Schwab 2006-12-11 19:09:05 +00:00 committed by Andreas Schwab
parent 0ff1416d1d
commit 86aa531238
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2006-12-11 Andreas Schwab <schwab@suse.de>
* varasm.c (elf_record_gcc_switches): Cast second argument of
ASM_OUTPUT_POOL_PROLOGUE to unsigned HOST_WIDE_INT.
2006-12-11 Diego Novillo <dnovillo@redhat.com>
* tree-scalar-evolution.c (scev_const_prop):

View File

@ -6265,14 +6265,14 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
snprintf (buffer + len, sizeof buffer - len, " %s", name);
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
ASM_OUTPUT_SKIP (asm_out_file, 1L);
ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
previous_name_held_back = FALSE;
}
else
{
strncpy (buffer, name, sizeof buffer);
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
ASM_OUTPUT_SKIP (asm_out_file, 1L);
ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
}
}
else
@ -6280,7 +6280,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
if (previous_name_held_back)
{
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
ASM_OUTPUT_SKIP (asm_out_file, 1L);
ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
}
strncpy (buffer, name, sizeof buffer);
@ -6299,7 +6299,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
if (previous_name_held_back)
{
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (buffer));
ASM_OUTPUT_SKIP (asm_out_file, 1L);
ASM_OUTPUT_SKIP (asm_out_file, (unsigned HOST_WIDE_INT) 1);
}
}
else