aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2024-02-26 09:32:20 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-16 10:49:32 +0200
commitc485a154ae0cfa1a63c79a1f3b82d6f2d4a107b5 (patch)
tree1899e549c078aec936497eb9c553965dae210a0d /gcc/tree-vectorizer.h
parenta802cb3c5f530e77dabcb6343d79cb7a24f96ed3 (diff)
downloadgcc-c485a154ae0cfa1a63c79a1f3b82d6f2d4a107b5.zip
gcc-c485a154ae0cfa1a63c79a1f3b82d6f2d4a107b5.tar.gz
gcc-c485a154ae0cfa1a63c79a1f3b82d6f2d4a107b5.tar.bz2
ada: Ignore ghost nodes in call graph information for dispatching calls
When emitting call graph information, we already skipped calls to ignored ghost entities, but this code was causing crashes (in production builds) and assertion failures (in development builds), because the ignored ghost entities are not fully decorated, e.g. when they come from instances of generic units with default subprograms. With this patch we skip call graph information for ignored ghost entities when they are registered, both as explicit calls and as tagged types that will come with internally generated dispatching subprograms. gcc/ada/ * exp_cg.adb (Generate_CG_Output): Remove code for ignored ghost entities that applied to subprogram calls. (Register_CG_Node): Skip ignored ghost entities, both calls and tagged types, when they are registered.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions