aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-07-27 12:06:22 +0200
committerMartin Liska <mliska@suse.cz>2022-07-28 14:09:05 +0200
commit026c3dca874b09c3f05556132927afd2aabc1bc8 (patch)
tree3218cad2f6131e963f7cf4bc575b450555c24a00 /libjava
parent94963965caa603e74f1d5cdfa3fce6f75a0455db (diff)
downloadgcc-026c3dca874b09c3f05556132927afd2aabc1bc8.zip
gcc-026c3dca874b09c3f05556132927afd2aabc1bc8.tar.gz
gcc-026c3dca874b09c3f05556132927afd2aabc1bc8.tar.bz2
cgraphunit: Don't emit asm thunks for -dx [PR106261]
When -dx option is used (didn't know we have it and no idea what is it useful for), we just expand functions to RTL and then omit all further RTL passes, so the normal functions aren't actually emitted into assembly, just variables. The following testcase ICEs, because we don't emit the methods, but do emit thunks pointing to that and those thunks have unwind info and rely on at least some real functions to be emitted (which is normally the case, thunks are only emitted for locally defined functions) because otherwise there are no CIEs, only FDEs and dwarf2out is upset about it. The following patch fixes that by not emitting assembly thunks for -dx either. 2022-07-27 Jakub Jelinek <jakub@redhat.com> PR debug/106261 * cgraphunit.cc (cgraph_node::assemble_thunks_and_aliases): Don't output asm thunks for -dx. * g++.dg/debug/pr106261.C: New test.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions