aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2023-10-12 17:49:20 +0100
committerAlex Coplan <alex.coplan@arm.com>2023-10-12 17:51:00 +0100
commitf150717bd928df13642d31f010573a329b34689c (patch)
treebda3dac104221b25ba1330f95e926a454e7f82e5 /gcc/fortran
parentd8c3ace8985cf9b45f7414ce7398bb1274951db9 (diff)
downloadgcc-f150717bd928df13642d31f010573a329b34689c.zip
gcc-f150717bd928df13642d31f010573a329b34689c.tar.gz
gcc-f150717bd928df13642d31f010573a329b34689c.tar.bz2
reg-notes.def: Fix up description of REG_NOALIAS
The description of the REG_NOALIAS note in reg-notes.def isn't quite right. It describes it as being attached to call insns, but it is instead attached to a move insn receiving the return value from a call. This can be seen by looking at the code in calls.cc:expand_call which attaches the note: emit_move_insn (temp, valreg); /* The return value from a malloc-like function cannot alias anything else. */ last = get_last_insn (); add_reg_note (last, REG_NOALIAS, temp); gcc/ChangeLog: * reg-notes.def (NOALIAS): Correct comment.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions