From: Kyrylo Tkachov Date: Fri, 30 Oct 2015 15:54:11 +0000 (+0000) Subject: [comment] Improve comment for reg_set_p X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a69a0436ee69044dd507897f0ff9dccd0c293732;p=gcc.git [comment] Improve comment for reg_set_p * rtlanal.c (reg_set_p): Expand function comment. From-SVN: r229586 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 93b480cab40..4a1a9d8a02d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-30 Kyrylo Tkachov + + * rtlanal.c (reg_set_p): Expand function comment. + 2015-10-30 Andrew MacLeod * alias.c: Remove unused headers. diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 84ff4b726c0..7bc3fdbc0ca 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1204,7 +1204,8 @@ reg_set_between_p (const_rtx reg, const rtx_insn *from_insn, return 0; } -/* Internals of reg_set_between_p. */ +/* Return true if REG is set or clobbered inside INSN. */ + int reg_set_p (const_rtx reg, const_rtx insn) {