On 10/04/2016 03:16 AM, Martin Liška wrote:
Hello.
In the attached patch I resolve couple of warnings seen during make
profiledbootstrap.
I can survive bootstrap on both ppc64le-redhat-linux and x86_64-linux-gnu
targets.
Ready to be installed?
Martin
0001-Fix-warnings-for-make-profiledbootstrap-PR-bootstrap.patch
From 510ac204f2e448d244c8eec5ab8aeab85f6041a9 Mon Sep 17 00:00:00 2001
From: marxin <mli...@suse.cz>
Date: Mon, 3 Oct 2016 23:17:05 +0200
Subject: [PATCH] Fix warnings for make profiledbootstrap (PR bootstrap/77788)
gcc/ChangeLog:
2016-10-04 Martin Liska <mli...@suse.cz>
PR bootstrap/77788
* expmed.h (mul_highpart_cost_ptr): Add an gcc_assert.
* gimple-ssa-strength-reduction.c (slsr_process_cast):
Initialize a pointer to NULL.
(slsr_process_copy): Likewise.
* input.c (location_get_source_line): Likewise.
* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise.
Presumably what's going on here is that the profiling data is giving the
jump threader additional information and the threader is refusing to
thread some jumps because they're not profitable. AT least that's how
it looks to me.
Note the input.c change may not be necessary once the input.c cleanups
are done, but I don't think it'd be actively harmful.
OK.
jeff