r242241 - in /branches/ARM/sve-branch/gcc: cfge...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Nov 11 17:25:00 GMT 2016
Author: rsandifo
Date: Fri Nov 11 17:25:45 2016
New Revision: 242241
URL: https://gcc.gnu.org/viewcvs?rev=242241&root=gcc&view=rev
Log:
poly_int: get_ref_base_and_extent
This patch changes the types of the bit offsets and sizes returned
by get_ref_base_and_extent to poly_int64.
There are some callers that can't sensibly operate on polynomial
offsets or handle cases where the offset and size aren't known
exactly. This includes the IPA devirtualisation code (since
there's no defined way of having vtables at variable offsets)
and some parts of the DWARF code. The patch therefore adds
a helper function get_ref_base_and_extent_hwi that either returns
exact HOST_WIDE_INT bit positions and sizes or returns a null
base to indicate failure.
Modified:
branches/ARM/sve-branch/gcc/cfgexpand.c
branches/ARM/sve-branch/gcc/dwarf2out.c
branches/ARM/sve-branch/gcc/gimple-fold.c
branches/ARM/sve-branch/gcc/ipa-polymorphic-call.c
branches/ARM/sve-branch/gcc/ipa-prop.c
branches/ARM/sve-branch/gcc/tree-dfa.c
branches/ARM/sve-branch/gcc/tree-dfa.h
branches/ARM/sve-branch/gcc/tree-sra.c
branches/ARM/sve-branch/gcc/tree-ssa-alias.c
branches/ARM/sve-branch/gcc/tree-ssa-dce.c
branches/ARM/sve-branch/gcc/tree-ssa-sccvn.c
branches/ARM/sve-branch/gcc/tree-ssa-scopedtables.c
branches/ARM/sve-branch/gcc/tree-ssa-structalias.c
branches/ARM/sve-branch/gcc/var-tracking.c
More information about the Gcc-cvs
mailing list