aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2014-07-02 05:19:45 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2014-07-02 03:19:45 +0000
commit549bcbd17fb15e3d328a29d014ac983160d5b229 (patch)
tree9e64f1bc05371e097406095323027fe53c72dc75 /gcc/basic-block.h
parent5656ccd782e9b488b6c257b3d8e4839353ffc61b (diff)
downloadgcc-549bcbd17fb15e3d328a29d014ac983160d5b229.zip
gcc-549bcbd17fb15e3d328a29d014ac983160d5b229.tar.gz
gcc-549bcbd17fb15e3d328a29d014ac983160d5b229.tar.bz2
tree.c (decls_same_for_odr, [...]): Remove.
* tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr): Remove. (type_in_anonymous_namespace_p): Constify argument. * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify. * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field. (main_odr_variant): New function. (hash_type_name): Make static; update assert; do not ICE on non-records. (types_same_for_odr): Bring here from tree.c; simplify and remove old structural comparing code that doesn't work for templates. (odr_hasher::equal): Update assert. (add_type_duplicate): Return true when bases should be computed; replace incomplete loader by complete; do not output duplicated warnings; do not ICE on non-records; set odr_violated flag. (get_odr_type): Be ready to replace incomplete type by complete one; work on ODR variants instead of main variants; reorder item in array so bases have still smaller indexes. (dump_type_inheritance_graph): Be ready for holdes in odr_types array. (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL. From-SVN: r212218
Diffstat (limited to 'gcc/basic-block.h')
0 files changed, 0 insertions, 0 deletions