diff options
author | Mark Harmstone <mark@harmstone.com> | 2024-12-20 02:29:21 +0000 |
---|---|---|
committer | Mark Harmstone <mark@harmstone.com> | 2024-12-21 07:13:21 +0000 |
commit | 0b63840e07132f727ca3fae1e0aa7255bacb8446 (patch) | |
tree | 2ea6db82fc2435dc5d2ae514b55215a6bc42d424 | |
parent | 2a95e00abfe4a48ce2a0a239f1c88851d7b6ef08 (diff) | |
download | gcc-0b63840e07132f727ca3fae1e0aa7255bacb8446.zip gcc-0b63840e07132f727ca3fae1e0aa7255bacb8446.tar.gz gcc-0b63840e07132f727ca3fae1e0aa7255bacb8446.tar.bz2 |
Fix compilation error in vmsdbgout_begin_block on VMS targets
Commit 4ed189854eae ("Add block parameter to begin_block debug hook") changed
the definition of the begin_block function pointer to add another parameter,
but I missed a call in vmsdbgout_begin_block.
Fixes bug #118123.
gcc/
* vmsdbgout.cc (vmsdbgout_begin_block): Fix compilation error.
-rw-r--r-- | gcc/vmsdbgout.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/vmsdbgout.cc b/gcc/vmsdbgout.cc index d9e6a8b..204e569 100644 --- a/gcc/vmsdbgout.cc +++ b/gcc/vmsdbgout.cc @@ -1231,10 +1231,10 @@ vmsdbgout_end_epilogue (unsigned int line, const char *file) static void vmsdbgout_begin_block (unsigned line, unsigned blocknum, - tree block ATTRIBUTE_UNUSED) + tree block) { if (write_symbols == VMS_AND_DWARF2_DEBUG) - (*dwarf2_debug_hooks.begin_block) (line, blocknum); + (*dwarf2_debug_hooks.begin_block) (line, blocknum, block); if (debug_info_level > DINFO_LEVEL_TERSE) targetm.asm_out.internal_label (asm_out_file, BLOCK_BEGIN_LABEL, blocknum); |