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.
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);