summaryrefslogtreecommitdiff
path: root/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c')
-rw-r--r--devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c b/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c
new file mode 100644
index 000000000000..e0e328e1d1ba
--- /dev/null
+++ b/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c
@@ -0,0 +1,11 @@
+--- gcc/stor-layout.c.orig 2014-10-15 10:27:26 UTC
++++ gcc/stor-layout.c
+@@ -236,7 +236,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))