aboutsummaryrefslogtreecommitdiff
path: root/libgomp/allocator.c
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2023-08-17 14:08:31 +0100
committerAlex Coplan <alex.coplan@arm.com>2023-08-17 14:08:31 +0100
commit84a5be47f8e13839efdf0e06f02ef1a0cacf5e34 (patch)
tree0376986d65918f20b70fdc2b359ff02c55672fb3 /libgomp/allocator.c
parent903d937569992a885faf8a1bf7d120e9e66f456b (diff)
downloadgcc-84a5be47f8e13839efdf0e06f02ef1a0cacf5e34.zip
gcc-84a5be47f8e13839efdf0e06f02ef1a0cacf5e34.tar.gz
gcc-84a5be47f8e13839efdf0e06f02ef1a0cacf5e34.tar.bz2
doc: Fixes to RTL-SSA sample code
This patch fixes up the code examples in the RTL-SSA documentation (the sections on making insn changes) to reflect the current API. The main issues are as follows: - rtl_ssa::recog takes an obstack_watermark & as the first parameter. Presumably this is intended to be the change attempt, so I've updated the examples to pass this through. - The variants of recog and restrict_movement that take an ignore predicate have been renamed with an _ignoring suffix, so I've updated callers to use those names. - A couple of minor "obvious" fixes to add a missing address-of operator and correct a variable name. gcc/ChangeLog: * doc/rtl.texi: Fix up sample code for RTL-SSA insn changes.
Diffstat (limited to 'libgomp/allocator.c')
0 files changed, 0 insertions, 0 deletions