Commit 86aa5312 by Andreas Schwab Committed by Andreas Schwab

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

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
parent 0ff1416d
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> 2006-12-11 Diego Novillo <dnovillo@redhat.com>
* tree-scalar-evolution.c (scev_const_prop): * tree-scalar-evolution.c (scev_const_prop):
......
...@@ -6265,14 +6265,14 @@ elf_record_gcc_switches (print_switch_type type, const char * name) ...@@ -6265,14 +6265,14 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
snprintf (buffer + len, sizeof buffer - len, " %s", name); snprintf (buffer + len, sizeof buffer - len, " %s", name);
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (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);
previous_name_held_back = FALSE; previous_name_held_back = FALSE;
} }
else else
{ {
strncpy (buffer, name, sizeof buffer); strncpy (buffer, name, sizeof buffer);
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (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 else
...@@ -6280,7 +6280,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name) ...@@ -6280,7 +6280,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
if (previous_name_held_back) if (previous_name_held_back)
{ {
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (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);
} }
strncpy (buffer, name, sizeof buffer); strncpy (buffer, name, sizeof buffer);
...@@ -6299,7 +6299,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name) ...@@ -6299,7 +6299,7 @@ elf_record_gcc_switches (print_switch_type type, const char * name)
if (previous_name_held_back) if (previous_name_held_back)
{ {
ASM_OUTPUT_ASCII (asm_out_file, buffer, strlen (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 else
......
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