re PR bootstrap/56227 (Bootstrap failure on MinGW building ggc-page.c)
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 7 Feb 2013 18:01:40 +0000 (19:01 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 7 Feb 2013 18:01:40 +0000 (19:01 +0100)
PR bootstrap/56227
* ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
instead of "ll".
* config/i386/i386.c (ix86_print_operand): Ditto.

lto/ChangeLog:

PR bootstrap/56227
* lto.c (lto_resolution_ready): Use %wx instead of
HOST_WIDE_INT_PRINT_HEX_PURE in the argument to internal_error.

From-SVN: r195860

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/ggc-page.c
gcc/lto/ChangeLog
gcc/lto/lto.c

index ac9081217fc7ea834dbeefe9d63c93de7a4c3630..08f9b8f817c7035214791fcebba751a07620cc0e 100644 (file)
@@ -1,7 +1,13 @@
+2013-02-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR bootstrap/56227
+       * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
+       instead of "ll".
+       * config/i386/i386.c (ix86_print_operand): Ditto.
+
 2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>
 
-       * lra-constraints.c (process_alt_operands): Fix recently added
-       comment.
+       * lra-constraints.c (process_alt_operands): Fix recently added comment.
 
 2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>
 
@@ -17,8 +23,7 @@
        (in_first_function_p, maybe_at_text_label_p,
        first_loclabel_num_not_at_text_label): New variables.
        (dwarf2out_var_location): In the first function find out
-       lowest loclabel_num N where .LVLN is known not to be equal
-       to .Ltext0.
+       lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0.
        (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New
        functions.
 
        * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin
        node prevail as last resort.
        (lto_symtab_merge_decls): Remove guard on LTRANS here.
-       (lto_symtab_prevailing_decl): Builtins are their own prevailing
-       decl.
+       (lto_symtab_prevailing_decl): Builtins are their own prevailing decl.
 
 2013-02-04  Richard Biener  <rguenther@suse.de>
 
        * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
        (mloop): New option.
        * config.gcc: Add support for configuring v840e3v5 target.
-       * doc/invoke.texi: Document new v850 specific command line
-       options.
+       * doc/invoke.texi: Document new v850 specific command line options.
 
 2013-01-31  Paul Koning  <ni1d@arrl.net>
 
 2013-01-30  Richard Biener  <rguenther@suse.de>
 
        PR lto/56147
-       * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
-       check.
+       * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check.
 
 2013-01-30  Georg-Johann Lay  <avr@gjlay.de>
 
 2013-01-28  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/56034
-       * tree-loop-distribution.c (enum partition_kind): Add
-       PKIND_REDUCTION.
+       * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION.
        (partition_builtin_p): Adjust.
        (generate_code_for_partition): Handle PKIND_REDUCTION.  Assert
        it is the last partition.
        * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
        If nitercst is 0, don't predict the exit edge.
 
-2013-01-08   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
+2013-01-08  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
 
        * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
        in asm_fprintf with reg_names.
        * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
        (asan_finish_file): Test it here instead.
 
-2013-01-07   Nick Clifton  <nickc@redhat.com>
-            Matthias Klose  <doko@debian.org>
-            Doug Kwan  <dougkwan@google.com>
-            H.J. Lu  <hongjiu.lu@intel.com>
+2013-01-07  Nick Clifton  <nickc@redhat.com>
+           Matthias Klose  <doko@debian.org>
+           Doug Kwan  <dougkwan@google.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
 
        PR driver/55470
        * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
index 895028b4bf43a5efb45ca17958e0bf1e9b84ef48..c6f3d53f0e066c60563689e977c193e92191a2b3 100644 (file)
@@ -14628,7 +14628,8 @@ ix86_print_operand (FILE *file, rtx x, int code)
        putc ('$', file);
       /* Sign extend 32bit SFmode immediate to 8 bytes.  */
       if (code == 'q')
-       fprintf (file, "0x%08llx", (unsigned long long) (int) l);
+       fprintf (file, "0x%08" HOST_LONG_LONG_FORMAT "x",
+                (unsigned long long) (int) l);
       else
        fprintf (file, "0x%08x", (unsigned int) l);
     }
index 32768b2fc86cd0b838d48a0c3d237a3a09e2f199..5b18468439d28bbd87200ba786b830fd2aeda5aa 100644 (file)
@@ -2170,31 +2170,31 @@ ggc_print_statistics (void)
     {
       fprintf (stderr, "\nTotal allocations and overheads during the compilation process\n");
 
-      fprintf (stderr, "Total Overhead:                        %10lld\n",
+      fprintf (stderr, "Total Overhead:                        %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_overhead);
-      fprintf (stderr, "Total Allocated:                       %10lld\n",
+      fprintf (stderr, "Total Allocated:                       %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_allocated);
 
-      fprintf (stderr, "Total Overhead  under  32B:            %10lld\n",
+      fprintf (stderr, "Total Overhead  under  32B:            %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_overhead_under32);
-      fprintf (stderr, "Total Allocated under  32B:            %10lld\n",
+      fprintf (stderr, "Total Allocated under  32B:            %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_allocated_under32);
-      fprintf (stderr, "Total Overhead  under  64B:            %10lld\n",
+      fprintf (stderr, "Total Overhead  under  64B:            %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_overhead_under64);
-      fprintf (stderr, "Total Allocated under  64B:            %10lld\n",
+      fprintf (stderr, "Total Allocated under  64B:            %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_allocated_under64);
-      fprintf (stderr, "Total Overhead  under 128B:            %10lld\n",
+      fprintf (stderr, "Total Overhead  under 128B:            %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_overhead_under128);
-      fprintf (stderr, "Total Allocated under 128B:            %10lld\n",
+      fprintf (stderr, "Total Allocated under 128B:            %10" HOST_LONG_LONG_FORMAT "d\n",
               G.stats.total_allocated_under128);
 
       for (i = 0; i < NUM_ORDERS; i++)
        if (G.stats.total_allocated_per_order[i])
          {
-           fprintf (stderr, "Total Overhead  page size %7lu:     %10lld\n",
+           fprintf (stderr, "Total Overhead  page size %7lu:     %10" HOST_LONG_LONG_FORMAT "d\n",
                     (unsigned long) OBJECT_SIZE (i),
                     G.stats.total_overhead_per_order[i]);
-           fprintf (stderr, "Total Allocated page size %7lu:     %10lld\n",
+           fprintf (stderr, "Total Allocated page size %7lu:     %10" HOST_LONG_LONG_FORMAT "d\n",
                     (unsigned long) OBJECT_SIZE (i),
                     G.stats.total_allocated_per_order[i]);
          }
index 2da6ae1d2059eb38446271cf5b8efd2919c3abd6..6743f2f680ae0a49916f13c3779b6a79b0fe7255 100644 (file)
@@ -1,3 +1,9 @@
+2013-02-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR bootstrap/56227
+       * lto.c (lto_resolution_ready): Use %wx instead of
+       HOST_WIDE_INT_PRINT_HEX_PURE in the argument to internal_error.
+
 2013-02-04  Richard Guenther  <rguenther@suse.de>
 
        PR lto/56168
index 6edf87a45b0cb6bda988110826db93adcf826a5d..983fa03aa1c4fd1bdd51090dce2e304ba40e4c5d 100644 (file)
@@ -2225,8 +2225,7 @@ lto_resolution_read (splay_tree file_ids, FILE *resolution, lto_file *file)
        {
          nd = lto_splay_tree_lookup (file_ids, id);
          if (nd == NULL)
-           internal_error ("resolution sub id " HOST_WIDE_INT_PRINT_HEX_PURE
-                           " not in object file", id);
+           internal_error ("resolution sub id %wx not in object file", id);
        }
 
       file_data = (struct lto_file_decl_data *)nd->value;