mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 22:41:28 +08:00
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:
parent
0ff1416d1d
commit
86aa531238
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user