aboutsummaryrefslogtreecommitdiff
path: root/libiberty/simple-object-elf.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-10-06 09:25:00 +0200
committerJakub Jelinek <jakub@redhat.com>2020-10-06 09:25:00 +0200
commit44e20dce597328f3cb00e997fa90b95a2b710d4c (patch)
treef8b81592308489208f5a062b7e5a3db8b8cbe076 /libiberty/simple-object-elf.c
parent3e8fb15a8cfd0e62dd474af9f536863392ed7572 (diff)
downloadgcc-44e20dce597328f3cb00e997fa90b95a2b710d4c.zip
gcc-44e20dce597328f3cb00e997fa90b95a2b710d4c.tar.gz
gcc-44e20dce597328f3cb00e997fa90b95a2b710d4c.tar.bz2
openmp: Fix ICE in omp_discover_declare_target_tgt_fn_r
This ICEs because node->alias_target is (not yet) a FUNCTION_DECL, but IDENTIFIER_NODE. I guess we should retry the discovery before LTO streaming out, the reason to do it this early is that it can affect the gimplification and omp lowering. 2020-10-06 Jakub Jelinek <jakub@redhat.com> PR middle-end/97289 * omp-offload.c (omp_discover_declare_target_tgt_fn_r): Only follow node->alias_target if it is a FUNCTION_DECL. * c-c++-common/gomp/pr97289.c: New test.
Diffstat (limited to 'libiberty/simple-object-elf.c')
0 files changed, 0 insertions, 0 deletions