On Mon, 17 Feb 2020, Martin Liška wrote:
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

This (or rather its predecessor?) breaks bootstrap on 32-bit 
i386-unknown-freebsd11.3.

/scratch/tmp/gerald/gcc10-devel-work/gcc-10-20200223/gcc/value-prof.c: In 
function 'void dump_histogram_value(FILE*, histogram_value)':
/scratch/tmp/gerald/gcc10-devel-work/gcc-10-20200223/gcc/value-prof.c:268:28: 
error: format '%lld' expects argument of type 'long long int', but argument 3 
hastype 'int' [-Werror=format=]
  268 |        fprintf (dump_file, " all: %" PRId64 "%s, values: ",
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  269 |          abs ((int64_t) hist->hvalue.counters[0]),
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              |
      |              int

(I'm not sure why my nightly tester has not caught this, but only
the snapshot did.)

Gerald

Reply via email to