mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Patches so that it builds with clang-6.
PR: ports/229662 Submitted by: stephen@FreeBSD.org
This commit is contained in:
parent
ace857d9b0
commit
0816ffb03a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474414
43 changed files with 897 additions and 0 deletions
24
devel/mingw32-gcc/files/patch-gcc_bitmap.c
Normal file
24
devel/mingw32-gcc/files/patch-gcc_bitmap.c
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- gcc/bitmap.c.orig 2013-03-07 17:27:52 UTC
|
||||
+++ gcc/bitmap.c
|
||||
@@ -2159,9 +2159,9 @@ print_statistics (void **slot, void *b)
|
||||
s[41] = 0;
|
||||
fprintf (stderr,
|
||||
"%-41s %9u"
|
||||
- " %15"HOST_WIDEST_INT_PRINT"d %15"HOST_WIDEST_INT_PRINT"d"
|
||||
- " %15"HOST_WIDEST_INT_PRINT"d"
|
||||
- " %10"HOST_WIDEST_INT_PRINT"d %10"HOST_WIDEST_INT_PRINT"d\n",
|
||||
+ " %15" HOST_WIDEST_INT_PRINT "d %15" HOST_WIDEST_INT_PRINT "d"
|
||||
+ " %15" HOST_WIDEST_INT_PRINT "d"
|
||||
+ " %10" HOST_WIDEST_INT_PRINT "d %10" HOST_WIDEST_INT_PRINT "d\n",
|
||||
s, d->created,
|
||||
d->allocated, d->peak, d->current,
|
||||
d->nsearches, d->search_iter);
|
||||
@@ -2194,7 +2194,7 @@ dump_bitmap_statistics (void)
|
||||
htab_traverse (bitmap_desc_hash, print_statistics, &info);
|
||||
fprintf (stderr, "---------------------------------------------------------------------------------\n");
|
||||
fprintf (stderr,
|
||||
- "%-41s %9"HOST_WIDEST_INT_PRINT"d %15"HOST_WIDEST_INT_PRINT"d\n",
|
||||
+ "%-41s %9" HOST_WIDEST_INT_PRINT "d %15" HOST_WIDEST_INT_PRINT "d\n",
|
||||
"Total", info.count, info.size);
|
||||
fprintf (stderr, "---------------------------------------------------------------------------------\n");
|
||||
}
|
29
devel/mingw32-gcc/files/patch-gcc_cgraph.c
Normal file
29
devel/mingw32-gcc/files/patch-gcc_cgraph.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- gcc/cgraph.c.orig 2013-05-22 07:50:40 UTC
|
||||
+++ gcc/cgraph.c
|
||||
@@ -1513,7 +1513,7 @@ dump_cgraph_node (FILE *f, struct cgraph
|
||||
if (node->analyzed)
|
||||
fprintf (f, " analyzed");
|
||||
if (node->count)
|
||||
- fprintf (f, " executed "HOST_WIDEST_INT_PRINT_DEC"x",
|
||||
+ fprintf (f, " executed " HOST_WIDEST_INT_PRINT_DEC "x",
|
||||
(HOST_WIDEST_INT)node->count);
|
||||
if (node->origin)
|
||||
fprintf (f, " nested in: %s", cgraph_node_asm_name (node->origin));
|
||||
@@ -1565,7 +1565,7 @@ dump_cgraph_node (FILE *f, struct cgraph
|
||||
fprintf (f, "%s/%i ", cgraph_node_asm_name (edge->caller),
|
||||
edge->caller->symbol.order);
|
||||
if (edge->count)
|
||||
- fprintf (f, "("HOST_WIDEST_INT_PRINT_DEC"x) ",
|
||||
+ fprintf (f, "(" HOST_WIDEST_INT_PRINT_DEC "x) ",
|
||||
(HOST_WIDEST_INT)edge->count);
|
||||
if (edge->frequency)
|
||||
fprintf (f, "(%.2f per call) ",
|
||||
@@ -1588,7 +1588,7 @@ dump_cgraph_node (FILE *f, struct cgraph
|
||||
if (edge->indirect_inlining_edge)
|
||||
fprintf(f, "(indirect_inlining) ");
|
||||
if (edge->count)
|
||||
- fprintf (f, "("HOST_WIDEST_INT_PRINT_DEC"x) ",
|
||||
+ fprintf (f, "(" HOST_WIDEST_INT_PRINT_DEC "x) ",
|
||||
(HOST_WIDEST_INT)edge->count);
|
||||
if (edge->frequency)
|
||||
fprintf (f, "(%.2f per call) ",
|
11
devel/mingw32-gcc/files/patch-gcc_combine.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_combine.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/combine.c.orig 2013-05-03 13:19:51 UTC
|
||||
+++ gcc/combine.c
|
||||
@@ -6559,7 +6559,7 @@ simplify_logical (rtx x)
|
||||
case AND:
|
||||
/* We can call simplify_and_const_int only if we don't lose
|
||||
any (sign) bits when converting INTVAL (op1) to
|
||||
- "unsigned HOST_WIDE_INT". */
|
||||
+ "unsigned HOST_WIDE_INT ". */
|
||||
if (CONST_INT_P (op1)
|
||||
&& (HWI_COMPUTABLE_MODE_P (mode)
|
||||
|| INTVAL (op1) > 0))
|
20
devel/mingw32-gcc/files/patch-gcc_config_alpha_vms.h
Normal file
20
devel/mingw32-gcc/files/patch-gcc_config_alpha_vms.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- gcc/config/alpha/vms.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/alpha/vms.h
|
||||
@@ -219,7 +219,7 @@ typedef struct {int num_args; enum avms_
|
||||
/* This is how to advance the location counter by SIZE bytes. */
|
||||
|
||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
- fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
|
||||
+ fprintf (FILE, "\t.space " HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
|
||||
|
||||
/* This says how to output an assembler line
|
||||
to define a global common symbol. */
|
||||
@@ -227,7 +227,7 @@ typedef struct {int num_args; enum avms_
|
||||
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE,ROUNDED) \
|
||||
( fputs ("\t.lcomm ", (FILE)), \
|
||||
assemble_name ((FILE), (NAME)), \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)))
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE)))
|
||||
|
||||
/* Switch into a generic section. */
|
||||
#define TARGET_ASM_NAMED_SECTION vms_asm_named_section
|
54
devel/mingw32-gcc/files/patch-gcc_config_darwin.c
Normal file
54
devel/mingw32-gcc/files/patch-gcc_config_darwin.c
Normal file
|
@ -0,0 +1,54 @@
|
|||
--- gcc/config/darwin.c.orig 2013-02-11 22:36:23 UTC
|
||||
+++ gcc/config/darwin.c
|
||||
@@ -2182,7 +2182,7 @@ fprintf (file, "# dadon: %s %s (%llu, %u
|
||||
|
||||
ASM_OUTPUT_LABEL (file, xname);
|
||||
size = 1;
|
||||
- fprintf (file, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (file, "\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
|
||||
/* Check that we've correctly picked up the zero-sized item and placed it
|
||||
properly. */
|
||||
@@ -2323,7 +2323,7 @@ darwin_emit_local_bss (FILE *fp, tree de
|
||||
fprintf (fp, "\t.align\t%u\n", l2align);
|
||||
|
||||
assemble_name (fp, name);
|
||||
- fprintf (fp, ":\n\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (fp, ":\n\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2344,10 +2344,10 @@ darwin_emit_local_bss (FILE *fp, tree de
|
||||
size = 1;
|
||||
|
||||
if (l2align)
|
||||
- fprintf (fp, ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",
|
||||
+ fprintf (fp, "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n",
|
||||
size, (unsigned) l2align);
|
||||
else
|
||||
- fprintf (fp, ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (fp, "," HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
}
|
||||
|
||||
(*targetm.encode_section_info) (decl, DECL_RTL (decl), false);
|
||||
@@ -2495,7 +2495,7 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %
|
||||
fprintf (fp, "\t.align\t%u\n", l2align);
|
||||
|
||||
assemble_name (fp, name);
|
||||
- fprintf (fp, ":\n\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (fp, ":\n\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2516,9 +2516,9 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %
|
||||
size = 1;
|
||||
|
||||
if (l2align)
|
||||
- fprintf (fp, ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", size, l2align);
|
||||
+ fprintf (fp, "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", size, l2align);
|
||||
else
|
||||
- fprintf (fp, ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (fp, "," HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
}
|
||||
(* targetm.encode_section_info) (decl, DECL_RTL (decl), false);
|
||||
}
|
11
devel/mingw32-gcc/files/patch-gcc_config_darwin.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_darwin.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/darwin.h.orig 2013-02-11 23:30:10 UTC
|
||||
+++ gcc/config/darwin.h
|
||||
@@ -530,7 +530,7 @@ extern GTY(()) int darwin_ms_struct;
|
||||
#define TARGET_ASM_LTO_END darwin_asm_lto_end
|
||||
|
||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
- fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", SIZE)
|
||||
+ fprintf (FILE, "\t.space " HOST_WIDE_INT_PRINT_UNSIGNED "\n", SIZE)
|
||||
|
||||
/* Give ObjC methods pretty symbol names. */
|
||||
|
11
devel/mingw32-gcc/files/patch-gcc_config_darwin9.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_darwin9.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/darwin9.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/darwin9.h
|
||||
@@ -54,7 +54,7 @@ along with GCC; see the file COPYING3.
|
||||
fprintf ((FILE), "\t.comm "); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
if (_new_size == 0) _new_size = 1; \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
_new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT)); \
|
||||
} while (0)
|
||||
|
20
devel/mingw32-gcc/files/patch-gcc_config_elfos.h
Normal file
20
devel/mingw32-gcc/files/patch-gcc_config_elfos.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- gcc/config/elfos.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/elfos.h
|
||||
@@ -99,7 +99,7 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
|
||||
#undef ASM_OUTPUT_SKIP
|
||||
#define ASM_OUTPUT_SKIP(FILE, SIZE) \
|
||||
- fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
|
||||
+ fprintf ((FILE), "%s" HOST_WIDE_INT_PRINT_UNSIGNED "\n",\
|
||||
SKIP_ASM_OP, (SIZE))
|
||||
|
||||
/* This is how to store into the string LABEL
|
||||
@@ -167,7 +167,7 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
{ \
|
||||
fprintf ((FILE), "%s", COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
} \
|
||||
while (0)
|
11
devel/mingw32-gcc/files/patch-gcc_config_i386_bsd.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_i386_bsd.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/i386/bsd.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/i386/bsd.h
|
||||
@@ -46,7 +46,7 @@ along with GCC; see the file COPYING3.
|
||||
that says to advance the location counter by SIZE bytes. */
|
||||
|
||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
- fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
|
||||
+ fprintf (FILE, "\t.space " HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
|
||||
|
||||
/* Define the syntax of labels and symbol definitions/declarations. */
|
||||
|
11
devel/mingw32-gcc/files/patch-gcc_config_i386_mingw32.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_i386_mingw32.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/i386/mingw32.h.orig 2018-07-10 04:38:04 UTC
|
||||
+++ gcc/config/i386/mingw32.h
|
||||
@@ -137,7 +137,7 @@ along with GCC; see the file COPYING3.
|
||||
#undef REAL_LIBGCC_SPEC
|
||||
#define REAL_LIBGCC_SPEC \
|
||||
"%{mthreads:-lmingwthrd} -lmingw32 \
|
||||
- "SHARED_LIBGCC_SPEC" \
|
||||
+ " SHARED_LIBGCC_SPEC " \
|
||||
-lmoldname -lmingwex -lmsvcrt"
|
||||
|
||||
#undef STARTFILE_SPEC
|
20
devel/mingw32-gcc/files/patch-gcc_config_ia64_ia64.c
Normal file
20
devel/mingw32-gcc/files/patch-gcc_config_ia64_ia64.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- gcc/config/ia64/ia64.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/ia64/ia64.c
|
||||
@@ -798,7 +798,7 @@ ia64_vms_output_aligned_decl_common (FIL
|
||||
|
||||
/* Code from elfos.h. */
|
||||
assemble_name (file, name);
|
||||
- fprintf (file, ","HOST_WIDE_INT_PRINT_UNSIGNED",%u",
|
||||
+ fprintf (file, "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u",
|
||||
size, align / BITS_PER_UNIT);
|
||||
|
||||
fputc ('\n', file);
|
||||
@@ -9959,7 +9959,7 @@ process_cfa_adjust_cfa (FILE *asm_out_fi
|
||||
gcc_assert (!frame_pointer_needed);
|
||||
if (unwind)
|
||||
fprintf (asm_out_file,
|
||||
- "\t.fframe "HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ "\t.fframe " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
-INTVAL (op1));
|
||||
}
|
||||
else
|
11
devel/mingw32-gcc/files/patch-gcc_config_lm32_lm32.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_lm32_lm32.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/lm32/lm32.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/lm32/lm32.h
|
||||
@@ -438,7 +438,7 @@ do \
|
||||
switch_to_section (bss_section); \
|
||||
fprintf ((FILE), "%s", COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
} \
|
||||
} \
|
|
@ -0,0 +1,20 @@
|
|||
--- gcc/config/microblaze/microblaze.h.orig 2013-03-14 15:43:23 UTC
|
||||
+++ gcc/config/microblaze/microblaze.h
|
||||
@@ -656,7 +656,7 @@ do { \
|
||||
} \
|
||||
fprintf (FILE, "%s", COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object"); \
|
||||
} while (0)
|
||||
@@ -676,7 +676,7 @@ do { \
|
||||
} \
|
||||
fprintf (FILE, "%s", LCOMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object"); \
|
||||
} while (0)
|
11
devel/mingw32-gcc/files/patch-gcc_config_mips_mips.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_mips_mips.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/mips/mips.h.orig 2013-02-25 13:53:16 UTC
|
||||
+++ gcc/config/mips/mips.h
|
||||
@@ -2694,7 +2694,7 @@ do { \
|
||||
|
||||
#undef ASM_OUTPUT_SKIP
|
||||
#define ASM_OUTPUT_SKIP(STREAM,SIZE) \
|
||||
- fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
|
||||
+ fprintf (STREAM, "\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
|
||||
|
||||
/* This is how to output a string. */
|
||||
#undef ASM_OUTPUT_ASCII
|
29
devel/mingw32-gcc/files/patch-gcc_config_pa_pa.c
Normal file
29
devel/mingw32-gcc/files/patch-gcc_config_pa_pa.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- gcc/config/pa/pa.c.orig 2013-04-06 17:46:50 UTC
|
||||
+++ gcc/config/pa/pa.c
|
||||
@@ -8672,7 +8672,7 @@ pa_asm_output_aligned_bss (FILE *stream,
|
||||
|
||||
fprintf (stream, "\t.align %u\n", align / BITS_PER_UNIT);
|
||||
ASM_OUTPUT_LABEL (stream, name);
|
||||
- fprintf (stream, "\t.block "HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (stream, "\t.block " HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
}
|
||||
|
||||
/* Both the HP and GNU assemblers under HP-UX provide a .comm directive
|
||||
@@ -8702,7 +8702,7 @@ pa_asm_output_aligned_common (FILE *stre
|
||||
switch_to_section (bss_section);
|
||||
|
||||
assemble_name (stream, name);
|
||||
- fprintf (stream, "\t.comm "HOST_WIDE_INT_PRINT_UNSIGNED"\n",
|
||||
+ fprintf (stream, "\t.comm " HOST_WIDE_INT_PRINT_UNSIGNED "\n",
|
||||
MAX (size, align / BITS_PER_UNIT));
|
||||
}
|
||||
|
||||
@@ -8729,7 +8729,7 @@ pa_asm_output_aligned_local (FILE *strea
|
||||
#endif
|
||||
|
||||
ASM_OUTPUT_LABEL (stream, name);
|
||||
- fprintf (stream, "\t.block "HOST_WIDE_INT_PRINT_UNSIGNED"\n", size);
|
||||
+ fprintf (stream, "\t.block " HOST_WIDE_INT_PRINT_UNSIGNED "\n", size);
|
||||
}
|
||||
|
||||
/* Returns 1 if the 6 operands specified in OPERANDS are suitable for
|
11
devel/mingw32-gcc/files/patch-gcc_config_pa_pa.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_pa_pa.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/pa/pa.h.orig 2013-02-03 19:52:37 UTC
|
||||
+++ gcc/config/pa/pa.h
|
||||
@@ -1204,7 +1204,7 @@ do { \
|
||||
fprintf (FILE, "\t.align %d\n", (1<<(LOG)))
|
||||
|
||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
- fprintf (FILE, "\t.blockz "HOST_WIDE_INT_PRINT_UNSIGNED"\n", \
|
||||
+ fprintf (FILE, "\t.blockz " HOST_WIDE_INT_PRINT_UNSIGNED "\n", \
|
||||
(unsigned HOST_WIDE_INT)(SIZE))
|
||||
|
||||
/* This says how to output an assembler line to define an uninitialized
|
11
devel/mingw32-gcc/files/patch-gcc_config_picochip_picochip.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_picochip_picochip.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/picochip/picochip.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/picochip/picochip.c
|
||||
@@ -1701,7 +1701,7 @@ void
|
||||
picochip_asm_output_anchor (rtx symbol)
|
||||
{
|
||||
fprintf (asm_out_file, ".offsetData _%s, ",XSTR (symbol, 0));
|
||||
- fprintf (asm_out_file, "+ " HOST_WIDE_INT_PRINT_DEC"\n",SYMBOL_REF_BLOCK_OFFSET(symbol));
|
||||
+ fprintf (asm_out_file, "+ " HOST_WIDE_INT_PRINT_DEC "\n",SYMBOL_REF_BLOCK_OFFSET(symbol));
|
||||
}
|
||||
|
||||
void
|
11
devel/mingw32-gcc/files/patch-gcc_config_picochip_picochip.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_picochip_picochip.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/picochip/picochip.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/picochip/picochip.h
|
||||
@@ -596,7 +596,7 @@ do {
|
||||
/* Assembler Commands for Alignment */
|
||||
|
||||
#define ASM_OUTPUT_SKIP(STREAM,BYTES) \
|
||||
- fprintf(STREAM, ".skip "HOST_WIDE_INT_PRINT_UNSIGNED"\n", BYTES);
|
||||
+ fprintf(STREAM, ".skip " HOST_WIDE_INT_PRINT_UNSIGNED "\n", BYTES);
|
||||
#define ASM_OUTPUT_ALIGN(STREAM,POWER) \
|
||||
fprintf(STREAM, ".align %u\n", 1 << POWER);
|
||||
|
27
devel/mingw32-gcc/files/patch-gcc_config_rs6000_rs6000.c
Normal file
27
devel/mingw32-gcc/files/patch-gcc_config_rs6000_rs6000.c
Normal file
|
@ -0,0 +1,27 @@
|
|||
--- gcc/config/rs6000/rs6000.c.orig 2013-05-10 01:54:06 UTC
|
||||
+++ gcc/config/rs6000/rs6000.c
|
||||
@@ -9227,8 +9227,8 @@ rs6000_va_start (tree valist, rtx nextar
|
||||
FP_ARG_NUM_REG);
|
||||
|
||||
if (TARGET_DEBUG_ARG)
|
||||
- fprintf (stderr, "va_start: words = "HOST_WIDE_INT_PRINT_DEC", n_gpr = "
|
||||
- HOST_WIDE_INT_PRINT_DEC", n_fpr = "HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ fprintf (stderr, "va_start: words = " HOST_WIDE_INT_PRINT_DEC ", n_gpr = "
|
||||
+ HOST_WIDE_INT_PRINT_DEC ", n_fpr = " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
words, n_gpr, n_fpr);
|
||||
|
||||
if (cfun->va_list_gpr_size)
|
||||
@@ -18344,11 +18344,11 @@ debug_stack_info (rs6000_stack_t *info)
|
||||
fprintf (stderr, "\tvarargs_save_offset = %5d\n", info->varargs_save_offset);
|
||||
|
||||
if (info->total_size)
|
||||
- fprintf (stderr, "\ttotal_size = "HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ fprintf (stderr, "\ttotal_size = " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
info->total_size);
|
||||
|
||||
if (info->vars_size)
|
||||
- fprintf (stderr, "\tvars_size = "HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ fprintf (stderr, "\tvars_size = " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
info->vars_size);
|
||||
|
||||
if (info->parm_size)
|
11
devel/mingw32-gcc/files/patch-gcc_config_rs6000_sysv4.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_rs6000_sysv4.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/rs6000/sysv4.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/rs6000/sysv4.h
|
||||
@@ -414,7 +414,7 @@ do { \
|
||||
{ \
|
||||
fprintf (FILE, "%s", LCOMM_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
} \
|
||||
ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object"); \
|
63
devel/mingw32-gcc/files/patch-gcc_config_rs6000_xcoff.h
Normal file
63
devel/mingw32-gcc/files/patch-gcc_config_rs6000_xcoff.h
Normal file
|
@ -0,0 +1,63 @@
|
|||
--- gcc/config/rs6000/xcoff.h.orig 2013-02-01 14:14:05 UTC
|
||||
+++ gcc/config/rs6000/xcoff.h
|
||||
@@ -271,7 +271,7 @@
|
||||
#define SKIP_ASM_OP "\t.space "
|
||||
|
||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
- fprintf (FILE, "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n", SKIP_ASM_OP, (SIZE))
|
||||
+ fprintf (FILE, "%s" HOST_WIDE_INT_PRINT_UNSIGNED "\n", SKIP_ASM_OP, (SIZE))
|
||||
|
||||
/* This says how to output an assembler line
|
||||
to define a global common symbol. */
|
||||
@@ -282,12 +282,12 @@
|
||||
do { fputs (COMMON_ASM_OP, (FILE)); \
|
||||
RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \
|
||||
if ((ALIGN) > 32) \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", (SIZE), \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", (SIZE), \
|
||||
floor_log2 ((ALIGN) / BITS_PER_UNIT)); \
|
||||
else if ((SIZE) > 4) \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",3\n", (SIZE)); \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",3\n", (SIZE)); \
|
||||
else \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)); \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE)); \
|
||||
} while (0)
|
||||
|
||||
/* This says how to output an assembler line
|
||||
@@ -304,14 +304,14 @@
|
||||
do { fputs (LOCAL_COMMON_ASM_OP, (FILE)); \
|
||||
RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \
|
||||
if ((ALIGN) > 32) \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s,%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%s,%u\n", \
|
||||
(SIZE), xcoff_bss_section_name, \
|
||||
floor_log2 ((ALIGN) / BITS_PER_UNIT)); \
|
||||
else if ((SIZE) > 4) \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s,3\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%s,3\n", \
|
||||
(SIZE), xcoff_bss_section_name); \
|
||||
else \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%s\n", \
|
||||
(SIZE), xcoff_bss_section_name); \
|
||||
} while (0)
|
||||
#endif
|
||||
@@ -319,7 +319,7 @@
|
||||
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \
|
||||
do { fputs (LOCAL_COMMON_ASM_OP, (FILE)); \
|
||||
RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%s\n", \
|
||||
(TARGET_32BIT ? (SIZE) : (ROUNDED)), \
|
||||
xcoff_bss_section_name); \
|
||||
} while (0)
|
||||
@@ -328,7 +328,7 @@
|
||||
#define ASM_OUTPUT_TLS_COMMON(FILE, DECL, NAME, SIZE) \
|
||||
do { fputs(COMMON_ASM_OP, (FILE)); \
|
||||
RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), "[UL],"HOST_WIDE_INT_PRINT_UNSIGNED"\n", \
|
||||
+ fprintf ((FILE), "[UL]," HOST_WIDE_INT_PRINT_UNSIGNED "\n", \
|
||||
(SIZE)); \
|
||||
} while (0)
|
||||
#endif
|
30
devel/mingw32-gcc/files/patch-gcc_config_rx_rx.h
Normal file
30
devel/mingw32-gcc/files/patch-gcc_config_rx_rx.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- gcc/config/rx/rx.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/rx/rx.h
|
||||
@@ -549,15 +549,15 @@ typedef unsigned int CUMULATIVE_ARGS;
|
||||
switch ((ALIGN) / BITS_PER_UNIT) \
|
||||
{ \
|
||||
case 4: \
|
||||
- fprintf ((FILE), ":\t.BLKL\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
|
||||
+ fprintf ((FILE), ":\t.BLKL\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n",\
|
||||
(SIZE) / 4); \
|
||||
break; \
|
||||
case 2: \
|
||||
- fprintf ((FILE), ":\t.BLKW\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
|
||||
+ fprintf ((FILE), ":\t.BLKW\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n",\
|
||||
(SIZE) / 2); \
|
||||
break; \
|
||||
default: \
|
||||
- fprintf ((FILE), ":\t.BLKB\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
|
||||
+ fprintf ((FILE), ":\t.BLKB\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n",\
|
||||
(SIZE)); \
|
||||
break; \
|
||||
} \
|
||||
@@ -566,7 +566,7 @@ typedef unsigned int CUMULATIVE_ARGS;
|
||||
{ \
|
||||
fprintf ((FILE), "%s", COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
} \
|
||||
} \
|
11
devel/mingw32-gcc/files/patch-gcc_config_s390_s390.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_s390_s390.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/s390/s390.h.orig 2013-03-05 12:02:06 UTC
|
||||
+++ gcc/config/s390/s390.h
|
||||
@@ -822,7 +822,7 @@ do { \
|
||||
|
||||
/* Advance the location counter by SIZE bytes. */
|
||||
#define ASM_OUTPUT_SKIP(FILE, SIZE) \
|
||||
- fprintf ((FILE), "\t.set\t.,.+"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
|
||||
+ fprintf ((FILE), "\t.set\t.,.+" HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
|
||||
|
||||
/* The LOCAL_LABEL_PREFIX variable is used by dbxelf.h. */
|
||||
#define LOCAL_LABEL_PREFIX "."
|
11
devel/mingw32-gcc/files/patch-gcc_config_score_score.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_score_score.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/score/score.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/score/score.h
|
||||
@@ -800,7 +800,7 @@ typedef struct score_args
|
||||
counter by SIZE bytes. */
|
||||
#undef ASM_OUTPUT_SKIP
|
||||
#define ASM_OUTPUT_SKIP(STREAM, SIZE) \
|
||||
- fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
|
||||
+ fprintf (STREAM, "\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
|
||||
|
||||
/* This is how to output an assembler line
|
||||
that says to advance the location counter
|
11
devel/mingw32-gcc/files/patch-gcc_config_sol2.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_config_sol2.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/config/sol2.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/config/sol2.h
|
||||
@@ -250,7 +250,7 @@ along with GCC; see the file COPYING3.
|
||||
switch_to_section (bss_section); \
|
||||
fprintf ((FILE), "%s", COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), (ALIGN) / BITS_PER_UNIT); \
|
||||
} \
|
||||
while (0)
|
29
devel/mingw32-gcc/files/patch-gcc_config_sparc_sparc.h
Normal file
29
devel/mingw32-gcc/files/patch-gcc_config_sparc_sparc.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- gcc/config/sparc/sparc.h.orig 2013-04-11 00:59:01 UTC
|
||||
+++ gcc/config/sparc/sparc.h
|
||||
@@ -1684,7 +1684,7 @@ do { \
|
||||
fprintf (FILE, "\t.align %d\n", (1<<(LOG)))
|
||||
|
||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
- fprintf (FILE, "\t.skip "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
|
||||
+ fprintf (FILE, "\t.skip " HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE))
|
||||
|
||||
/* This says how to output an assembler line
|
||||
to define a global common symbol. */
|
||||
@@ -1692,7 +1692,7 @@ do { \
|
||||
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
|
||||
( fputs ("\t.common ", (FILE)), \
|
||||
assemble_name ((FILE), (NAME)), \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",\"bss\"\n", (SIZE)))
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",\"bss\"\n", (SIZE)))
|
||||
|
||||
/* This says how to output an assembler line to define a local common
|
||||
symbol. */
|
||||
@@ -1700,7 +1700,7 @@ do { \
|
||||
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNED) \
|
||||
( fputs ("\t.reserve ", (FILE)), \
|
||||
assemble_name ((FILE), (NAME)), \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",\"bss\",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",\"bss\",%u\n", \
|
||||
(SIZE), ((ALIGNED) / BITS_PER_UNIT)))
|
||||
|
||||
/* A C statement (sans semicolon) to output to the stdio stream
|
11
devel/mingw32-gcc/files/patch-gcc_cppbuiltin.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_cppbuiltin.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/cppbuiltin.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/cppbuiltin.c
|
||||
@@ -127,7 +127,7 @@ static void
|
||||
define_builtin_macros_for_type_sizes (cpp_reader *pfile)
|
||||
{
|
||||
#define define_type_sizeof(NAME, TYPE) \
|
||||
- cpp_define_formatted (pfile, NAME"="HOST_WIDE_INT_PRINT_DEC, \
|
||||
+ cpp_define_formatted (pfile, NAME"=" HOST_WIDE_INT_PRINT_DEC, \
|
||||
tree_low_cst (TYPE_SIZE_UNIT (TYPE), 1))
|
||||
|
||||
define_type_sizeof ("__SIZEOF_INT__", integer_type_node);
|
11
devel/mingw32-gcc/files/patch-gcc_defaults.h
Normal file
11
devel/mingw32-gcc/files/patch-gcc_defaults.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/defaults.h.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/defaults.h
|
||||
@@ -123,7 +123,7 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
{ \
|
||||
fprintf ((FILE), "\t%s\t", TLS_COMMON_ASM_OP); \
|
||||
assemble_name ((FILE), (NAME)); \
|
||||
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
|
||||
+ fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n", \
|
||||
(SIZE), DECL_ALIGN (DECL) / BITS_PER_UNIT); \
|
||||
} \
|
||||
while (0)
|
45
devel/mingw32-gcc/files/patch-gcc_dwarf2cfi.c
Normal file
45
devel/mingw32-gcc/files/patch-gcc_dwarf2cfi.c
Normal file
|
@ -0,0 +1,45 @@
|
|||
--- gcc/dwarf2cfi.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/dwarf2cfi.c
|
||||
@@ -3149,7 +3149,7 @@ output_cfi_directive (FILE *f, dw_cfi_re
|
||||
case DW_CFA_offset_extended:
|
||||
case DW_CFA_offset_extended_sf:
|
||||
r = DWARF2_FRAME_REG_OUT (cfi->dw_cfi_oprnd1.dw_cfi_reg_num, 1);
|
||||
- fprintf (f, "\t.cfi_offset %lu, "HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ fprintf (f, "\t.cfi_offset %lu, " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
r, cfi->dw_cfi_oprnd2.dw_cfi_offset);
|
||||
break;
|
||||
|
||||
@@ -3172,7 +3172,7 @@ output_cfi_directive (FILE *f, dw_cfi_re
|
||||
case DW_CFA_def_cfa:
|
||||
case DW_CFA_def_cfa_sf:
|
||||
r = DWARF2_FRAME_REG_OUT (cfi->dw_cfi_oprnd1.dw_cfi_reg_num, 1);
|
||||
- fprintf (f, "\t.cfi_def_cfa %lu, "HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ fprintf (f, "\t.cfi_def_cfa %lu, " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
r, cfi->dw_cfi_oprnd2.dw_cfi_offset);
|
||||
break;
|
||||
|
||||
@@ -3190,7 +3190,7 @@ output_cfi_directive (FILE *f, dw_cfi_re
|
||||
case DW_CFA_def_cfa_offset:
|
||||
case DW_CFA_def_cfa_offset_sf:
|
||||
fprintf (f, "\t.cfi_def_cfa_offset "
|
||||
- HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
cfi->dw_cfi_oprnd1.dw_cfi_offset);
|
||||
break;
|
||||
|
||||
@@ -3207,13 +3207,13 @@ output_cfi_directive (FILE *f, dw_cfi_re
|
||||
fprintf (f, "\t.cfi_escape %#x,", DW_CFA_GNU_args_size);
|
||||
dw2_asm_output_data_uleb128_raw (cfi->dw_cfi_oprnd1.dw_cfi_offset);
|
||||
if (flag_debug_asm)
|
||||
- fprintf (f, "\t%s args_size "HOST_WIDE_INT_PRINT_DEC,
|
||||
+ fprintf (f, "\t%s args_size " HOST_WIDE_INT_PRINT_DEC,
|
||||
ASM_COMMENT_START, cfi->dw_cfi_oprnd1.dw_cfi_offset);
|
||||
fputc ('\n', f);
|
||||
}
|
||||
else
|
||||
{
|
||||
- fprintf (f, "\t.cfi_GNU_args_size "HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
+ fprintf (f, "\t.cfi_GNU_args_size " HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
cfi->dw_cfi_oprnd1.dw_cfi_offset);
|
||||
}
|
||||
break;
|
13
devel/mingw32-gcc/files/patch-gcc_dwarf2out.c
Normal file
13
devel/mingw32-gcc/files/patch-gcc_dwarf2out.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- gcc/dwarf2out.c.orig 2013-03-21 21:24:47 UTC
|
||||
+++ gcc/dwarf2out.c
|
||||
@@ -5268,8 +5268,8 @@ print_die (dw_die_ref die, FILE *outfile
|
||||
fprintf (outfile, HOST_WIDE_INT_PRINT_UNSIGNED, AT_unsigned (a));
|
||||
break;
|
||||
case dw_val_class_const_double:
|
||||
- fprintf (outfile, "constant ("HOST_WIDE_INT_PRINT_DEC","\
|
||||
- HOST_WIDE_INT_PRINT_UNSIGNED")",
|
||||
+ fprintf (outfile, "constant (" HOST_WIDE_INT_PRINT_DEC ","\
|
||||
+ HOST_WIDE_INT_PRINT_UNSIGNED ")",
|
||||
a->dw_attr_val.v.val_double.high,
|
||||
a->dw_attr_val.v.val_double.low);
|
||||
break;
|
17
devel/mingw32-gcc/files/patch-gcc_gcc.c
Normal file
17
devel/mingw32-gcc/files/patch-gcc_gcc.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- gcc/gcc.c.orig 2018-07-10 04:43:12 UTC
|
||||
+++ gcc/gcc.c
|
||||
@@ -693,12 +693,12 @@ proper position among the other output f
|
||||
#define PLUGIN_COND_CLOSE ""
|
||||
#endif
|
||||
#define LINK_PLUGIN_SPEC \
|
||||
- "%{"PLUGIN_COND": \
|
||||
+ "%{" PLUGIN_COND ": \
|
||||
-plugin %(linker_plugin_file) \
|
||||
-plugin-opt=%(lto_wrapper) \
|
||||
-plugin-opt=-fresolution=%u.res \
|
||||
%{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} \
|
||||
- }"PLUGIN_COND_CLOSE
|
||||
+ }" PLUGIN_COND_CLOSE
|
||||
#else
|
||||
/* The linker used doesn't support -plugin, reject -fuse-linker-plugin. */
|
||||
#define LINK_PLUGIN_SPEC "%{fuse-linker-plugin:\
|
11
devel/mingw32-gcc/files/patch-gcc_gengenrtl.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_gengenrtl.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/gengenrtl.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/gengenrtl.c
|
||||
@@ -52,7 +52,7 @@ type_from_format (int c)
|
||||
return "int ";
|
||||
|
||||
case 'w':
|
||||
- return "HOST_WIDE_INT ";
|
||||
+ return " HOST_WIDE_INT ";
|
||||
|
||||
case 's':
|
||||
return "const char *";
|
11
devel/mingw32-gcc/files/patch-gcc_genmodes.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_genmodes.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/genmodes.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/genmodes.c
|
||||
@@ -1094,7 +1094,7 @@ emit_mode_mask (void)
|
||||
int c;
|
||||
struct mode_data *m;
|
||||
|
||||
- print_decl ("unsigned HOST_WIDE_INT", "mode_mask_array",
|
||||
+ print_decl ("unsigned HOST_WIDE_INT ", "mode_mask_array",
|
||||
"NUM_MACHINE_MODES");
|
||||
puts ("\
|
||||
#define MODE_MASK(m) \\\n\
|
11
devel/mingw32-gcc/files/patch-gcc_ipa-inline.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_ipa-inline.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/ipa-inline.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/ipa-inline.c
|
||||
@@ -1540,7 +1540,7 @@ inline_small_functions (void)
|
||||
badness,
|
||||
edge->frequency / (double)CGRAPH_FREQ_BASE);
|
||||
if (edge->count)
|
||||
- fprintf (dump_file," Called "HOST_WIDEST_INT_PRINT_DEC"x\n",
|
||||
+ fprintf (dump_file," Called " HOST_WIDEST_INT_PRINT_DEC "x\n",
|
||||
edge->count);
|
||||
if (dump_flags & TDF_DETAILS)
|
||||
edge_badness (edge, true);
|
20
devel/mingw32-gcc/files/patch-gcc_ipa-prop.c
Normal file
20
devel/mingw32-gcc/files/patch-gcc_ipa-prop.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- gcc/ipa-prop.c.orig 2013-05-23 13:25:23 UTC
|
||||
+++ gcc/ipa-prop.c
|
||||
@@ -168,7 +168,7 @@ ipa_print_node_jump_functions_for_edge (
|
||||
{
|
||||
fprintf (f, "KNOWN TYPE: base ");
|
||||
print_generic_expr (f, jump_func->value.known_type.base_type, 0);
|
||||
- fprintf (f, ", offset "HOST_WIDE_INT_PRINT_DEC", component ",
|
||||
+ fprintf (f, ", offset " HOST_WIDE_INT_PRINT_DEC ", component ",
|
||||
jump_func->value.known_type.offset);
|
||||
print_generic_expr (f, jump_func->value.known_type.component_type, 0);
|
||||
fprintf (f, "\n");
|
||||
@@ -207,7 +207,7 @@ ipa_print_node_jump_functions_for_edge (
|
||||
else if (type == IPA_JF_ANCESTOR)
|
||||
{
|
||||
fprintf (f, "ANCESTOR: ");
|
||||
- fprintf (f, "%d, offset "HOST_WIDE_INT_PRINT_DEC", ",
|
||||
+ fprintf (f, "%d, offset " HOST_WIDE_INT_PRINT_DEC ", ",
|
||||
jump_func->value.ancestor.formal_id,
|
||||
jump_func->value.ancestor.offset);
|
||||
print_generic_expr (f, jump_func->value.ancestor.type, 0);
|
11
devel/mingw32-gcc/files/patch-gcc_loop-iv.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_loop-iv.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/loop-iv.c.orig 2013-04-23 19:36:20 UTC
|
||||
+++ gcc/loop-iv.c
|
||||
@@ -2292,7 +2292,7 @@ determine_max_iter (struct loop *loop, s
|
||||
if (andmax)
|
||||
nmax = MIN (nmax, andmax);
|
||||
if (dump_file)
|
||||
- fprintf (dump_file, ";; Determined upper bound "HOST_WIDEST_INT_PRINT_DEC".\n",
|
||||
+ fprintf (dump_file, ";; Determined upper bound " HOST_WIDEST_INT_PRINT_DEC ".\n",
|
||||
nmax);
|
||||
return nmax;
|
||||
}
|
29
devel/mingw32-gcc/files/patch-gcc_profile.c
Normal file
29
devel/mingw32-gcc/files/patch-gcc_profile.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- gcc/profile.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/profile.c
|
||||
@@ -398,7 +398,7 @@ is_edge_inconsistent (vec<edge, va_gc> *
|
||||
if (dump_file)
|
||||
{
|
||||
fprintf (dump_file,
|
||||
- "Edge %i->%i is inconsistent, count"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ "Edge %i->%i is inconsistent, count" HOST_WIDEST_INT_PRINT_DEC,
|
||||
e->src->index, e->dest->index, e->count);
|
||||
dump_bb (dump_file, e->src, 0, TDF_DETAILS);
|
||||
dump_bb (dump_file, e->dest, 0, TDF_DETAILS);
|
||||
@@ -459,7 +459,7 @@ is_inconsistent (void)
|
||||
if (dump_file)
|
||||
{
|
||||
fprintf (dump_file, "BB %i count does not match sum of incoming edges "
|
||||
- HOST_WIDEST_INT_PRINT_DEC" should be " HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ HOST_WIDEST_INT_PRINT_DEC " should be " HOST_WIDEST_INT_PRINT_DEC,
|
||||
bb->index,
|
||||
bb->count,
|
||||
sum_edge_counts (bb->preds));
|
||||
@@ -473,7 +473,7 @@ is_inconsistent (void)
|
||||
if (dump_file)
|
||||
{
|
||||
fprintf (dump_file, "BB %i count does not match sum of outgoing edges "
|
||||
- HOST_WIDEST_INT_PRINT_DEC" should be " HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ HOST_WIDEST_INT_PRINT_DEC " should be " HOST_WIDEST_INT_PRINT_DEC,
|
||||
bb->index,
|
||||
bb->count,
|
||||
sum_edge_counts (bb->succs));
|
11
devel/mingw32-gcc/files/patch-gcc_stor-layout.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_stor-layout.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/stor-layout.c.orig 2013-04-28 17:29:18 UTC
|
||||
+++ gcc/stor-layout.c
|
||||
@@ -264,7 +264,7 @@ self_referential_size (tree size)
|
||||
fntype = build_function_type (return_type, param_type_list);
|
||||
|
||||
/* Build the function declaration. */
|
||||
- sprintf (buf, "SZ"HOST_WIDE_INT_PRINT_UNSIGNED, fnno++);
|
||||
+ sprintf (buf, "SZ" HOST_WIDE_INT_PRINT_UNSIGNED, fnno++);
|
||||
fnname = get_file_function_name (buf);
|
||||
fndecl = build_decl (input_location, FUNCTION_DECL, fnname, fntype);
|
||||
for (t = param_decl_list; t; t = DECL_CHAIN (t))
|
11
devel/mingw32-gcc/files/patch-gcc_toplev.c
Normal file
11
devel/mingw32-gcc/files/patch-gcc_toplev.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/toplev.c.orig 2013-03-28 08:29:51 UTC
|
||||
+++ gcc/toplev.c
|
||||
@@ -1025,7 +1025,7 @@ output_stack_usage (void)
|
||||
id = raw_id;
|
||||
|
||||
fprintf (stack_usage_file,
|
||||
- "%s:%d:%d:%s\t"HOST_WIDE_INT_PRINT_DEC"\t%s\n",
|
||||
+ "%s:%d:%d:%s\t" HOST_WIDE_INT_PRINT_DEC "\t%s\n",
|
||||
lbasename (loc.file),
|
||||
loc.line,
|
||||
loc.column,
|
29
devel/mingw32-gcc/files/patch-gcc_tree-ssa-alias.c
Normal file
29
devel/mingw32-gcc/files/patch-gcc_tree-ssa-alias.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- gcc/tree-ssa-alias.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/tree-ssa-alias.c
|
||||
@@ -109,20 +109,20 @@ dump_alias_stats (FILE *s)
|
||||
{
|
||||
fprintf (s, "\nAlias oracle query stats:\n");
|
||||
fprintf (s, " refs_may_alias_p: "
|
||||
- HOST_WIDE_INT_PRINT_DEC" disambiguations, "
|
||||
- HOST_WIDE_INT_PRINT_DEC" queries\n",
|
||||
+ HOST_WIDE_INT_PRINT_DEC " disambiguations, "
|
||||
+ HOST_WIDE_INT_PRINT_DEC " queries\n",
|
||||
alias_stats.refs_may_alias_p_no_alias,
|
||||
alias_stats.refs_may_alias_p_no_alias
|
||||
+ alias_stats.refs_may_alias_p_may_alias);
|
||||
fprintf (s, " ref_maybe_used_by_call_p: "
|
||||
- HOST_WIDE_INT_PRINT_DEC" disambiguations, "
|
||||
- HOST_WIDE_INT_PRINT_DEC" queries\n",
|
||||
+ HOST_WIDE_INT_PRINT_DEC " disambiguations, "
|
||||
+ HOST_WIDE_INT_PRINT_DEC " queries\n",
|
||||
alias_stats.ref_maybe_used_by_call_p_no_alias,
|
||||
alias_stats.refs_may_alias_p_no_alias
|
||||
+ alias_stats.ref_maybe_used_by_call_p_may_alias);
|
||||
fprintf (s, " call_may_clobber_ref_p: "
|
||||
- HOST_WIDE_INT_PRINT_DEC" disambiguations, "
|
||||
- HOST_WIDE_INT_PRINT_DEC" queries\n",
|
||||
+ HOST_WIDE_INT_PRINT_DEC " disambiguations, "
|
||||
+ HOST_WIDE_INT_PRINT_DEC " queries\n",
|
||||
alias_stats.call_may_clobber_ref_p_no_alias,
|
||||
alias_stats.call_may_clobber_ref_p_no_alias
|
||||
+ alias_stats.call_may_clobber_ref_p_may_alias);
|
20
devel/mingw32-gcc/files/patch-gcc_tree-ssa-reassoc.c
Normal file
20
devel/mingw32-gcc/files/patch-gcc_tree-ssa-reassoc.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- gcc/tree-ssa-reassoc.c.orig 2013-05-07 14:43:17 UTC
|
||||
+++ gcc/tree-ssa-reassoc.c
|
||||
@@ -3795,7 +3795,7 @@ attempt_builtin_powi (gimple stmt, vec<o
|
||||
if (elt < vec_len - 1)
|
||||
fputs (" * ", dump_file);
|
||||
}
|
||||
- fprintf (dump_file, ")^"HOST_WIDE_INT_PRINT_DEC"\n",
|
||||
+ fprintf (dump_file, ")^" HOST_WIDE_INT_PRINT_DEC "\n",
|
||||
power);
|
||||
}
|
||||
}
|
||||
@@ -3829,7 +3829,7 @@ attempt_builtin_powi (gimple stmt, vec<o
|
||||
if (elt < vec_len - 1)
|
||||
fputs (" * ", dump_file);
|
||||
}
|
||||
- fprintf (dump_file, ")^"HOST_WIDE_INT_PRINT_DEC"\n", power);
|
||||
+ fprintf (dump_file, ")^" HOST_WIDE_INT_PRINT_DEC "\n", power);
|
||||
}
|
||||
|
||||
reassociate_stats.pows_created++;
|
21
devel/mingw32-gcc/files/patch-gcc_tree-ssa-structalias.c
Normal file
21
devel/mingw32-gcc/files/patch-gcc_tree-ssa-structalias.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- gcc/tree-ssa-structalias.c.orig 2013-02-04 13:31:28 UTC
|
||||
+++ gcc/tree-ssa-structalias.c
|
||||
@@ -6005,14 +6005,14 @@ dump_pta_stats (FILE *s)
|
||||
{
|
||||
fprintf (s, "\nPTA query stats:\n");
|
||||
fprintf (s, " pt_solution_includes: "
|
||||
- HOST_WIDE_INT_PRINT_DEC" disambiguations, "
|
||||
- HOST_WIDE_INT_PRINT_DEC" queries\n",
|
||||
+ HOST_WIDE_INT_PRINT_DEC " disambiguations, "
|
||||
+ HOST_WIDE_INT_PRINT_DEC " queries\n",
|
||||
pta_stats.pt_solution_includes_no_alias,
|
||||
pta_stats.pt_solution_includes_no_alias
|
||||
+ pta_stats.pt_solution_includes_may_alias);
|
||||
fprintf (s, " pt_solutions_intersect: "
|
||||
- HOST_WIDE_INT_PRINT_DEC" disambiguations, "
|
||||
- HOST_WIDE_INT_PRINT_DEC" queries\n",
|
||||
+ HOST_WIDE_INT_PRINT_DEC " disambiguations, "
|
||||
+ HOST_WIDE_INT_PRINT_DEC " queries\n",
|
||||
pta_stats.pt_solutions_intersect_no_alias,
|
||||
pta_stats.pt_solutions_intersect_no_alias
|
||||
+ pta_stats.pt_solutions_intersect_may_alias);
|
96
devel/mingw32-gcc/files/patch-gcc_value-prof.c
Normal file
96
devel/mingw32-gcc/files/patch-gcc_value-prof.c
Normal file
|
@ -0,0 +1,96 @@
|
|||
--- gcc/value-prof.c.orig 2013-01-10 20:38:27 UTC
|
||||
+++ gcc/value-prof.c
|
||||
@@ -250,10 +250,10 @@ dump_histogram_value (FILE *dump_file, h
|
||||
unsigned int i;
|
||||
fprintf(dump_file, " [");
|
||||
for (i = 0; i < hist->hdata.intvl.steps; i++)
|
||||
- fprintf (dump_file, " %d:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, " %d:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
hist->hdata.intvl.int_start + i,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[i]);
|
||||
- fprintf (dump_file, " ] outside range:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, " ] outside range:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[i]);
|
||||
}
|
||||
fprintf (dump_file, ".\n");
|
||||
@@ -263,8 +263,8 @@ dump_histogram_value (FILE *dump_file, h
|
||||
fprintf (dump_file, "Pow2 counter ");
|
||||
if (hist->hvalue.counters)
|
||||
{
|
||||
- fprintf (dump_file, "pow2:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " nonpow2:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, "pow2:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " nonpow2:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[0],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[1]);
|
||||
}
|
||||
@@ -275,9 +275,9 @@ dump_histogram_value (FILE *dump_file, h
|
||||
fprintf (dump_file, "Single value ");
|
||||
if (hist->hvalue.counters)
|
||||
{
|
||||
- fprintf (dump_file, "value:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " match:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " wrong:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, "value:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " match:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " wrong:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[0],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[1],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[2]);
|
||||
@@ -289,8 +289,8 @@ dump_histogram_value (FILE *dump_file, h
|
||||
fprintf (dump_file, "Average value ");
|
||||
if (hist->hvalue.counters)
|
||||
{
|
||||
- fprintf (dump_file, "sum:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " times:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, "sum:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " times:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[0],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[1]);
|
||||
}
|
||||
@@ -301,7 +301,7 @@ dump_histogram_value (FILE *dump_file, h
|
||||
fprintf (dump_file, "IOR value ");
|
||||
if (hist->hvalue.counters)
|
||||
{
|
||||
- fprintf (dump_file, "ior:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, "ior:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[0]);
|
||||
}
|
||||
fprintf (dump_file, ".\n");
|
||||
@@ -311,9 +311,9 @@ dump_histogram_value (FILE *dump_file, h
|
||||
fprintf (dump_file, "Constant delta ");
|
||||
if (hist->hvalue.counters)
|
||||
{
|
||||
- fprintf (dump_file, "value:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " match:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " wrong:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, "value:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " match:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " wrong:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[0],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[1],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[2]);
|
||||
@@ -324,9 +324,9 @@ dump_histogram_value (FILE *dump_file, h
|
||||
fprintf (dump_file, "Indirect call ");
|
||||
if (hist->hvalue.counters)
|
||||
{
|
||||
- fprintf (dump_file, "value:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " match:"HOST_WIDEST_INT_PRINT_DEC
|
||||
- " all:"HOST_WIDEST_INT_PRINT_DEC,
|
||||
+ fprintf (dump_file, "value:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " match:" HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " all:" HOST_WIDEST_INT_PRINT_DEC,
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[0],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[1],
|
||||
(HOST_WIDEST_INT) hist->hvalue.counters[2]);
|
||||
@@ -1363,8 +1363,8 @@ gimple_ic_transform (gimple_stmt_iterato
|
||||
print_gimple_stmt (dump_file, stmt, 0, TDF_SLIM);
|
||||
fprintf (dump_file, " to ");
|
||||
print_gimple_stmt (dump_file, modify, 0, TDF_SLIM);
|
||||
- fprintf (dump_file, "hist->count "HOST_WIDEST_INT_PRINT_DEC
|
||||
- " hist->all "HOST_WIDEST_INT_PRINT_DEC"\n", count, all);
|
||||
+ fprintf (dump_file, "hist->count " HOST_WIDEST_INT_PRINT_DEC
|
||||
+ " hist->all " HOST_WIDEST_INT_PRINT_DEC "\n", count, all);
|
||||
}
|
||||
|
||||
return true;
|
Loading…
Add table
Reference in a new issue