diff options
author | Mark Mitchell <mark@codesourcery.com> | 2007-06-15 17:31:53 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2007-06-15 17:31:53 +0000 |
commit | c3a1ef9da91830ce359ad89a5cfec2fa9de509ef (patch) | |
tree | e1573613878dde2ab1ecb806e2e241c33c3464c0 /gcc | |
parent | 555551c24b5159164cef489982455d2012561f8b (diff) | |
download | gcc-c3a1ef9da91830ce359ad89a5cfec2fa9de509ef.zip gcc-c3a1ef9da91830ce359ad89a5cfec2fa9de509ef.tar.gz gcc-c3a1ef9da91830ce359ad89a5cfec2fa9de509ef.tar.bz2 |
* rtlanal.c (note_stores): Improve documentation.
From-SVN: r125746
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/rtlanal.c | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f83983d..be3b820 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-06-15 Mark Mitchell <mark@codesourcery.com> + + * rtlanal.c (note_stores): Improve documentation. + 2007-06-15 Bernd Schmidt <bernd.schmidt@analog.com> * config/bfin/elf.h (ASM_GENERATE_INTERNAL_LABEL, diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 3a26d8f..3cdb76a 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1396,10 +1396,13 @@ reg_overlap_mentioned_p (rtx x, rtx in) } /* Call FUN on each register or MEM that is stored into or clobbered by X. - (X would be the pattern of an insn). - FUN receives two arguments: - the REG, MEM, CC0 or PC being stored in or clobbered, - the SET or CLOBBER rtx that does the store. + (X would be the pattern of an insn). DATA is an arbitrary pointer, + ignored by note_stores, but passed to FUN. + + FUN receives three arguments: + 1. the REG, MEM, CC0 or PC being stored in or clobbered, + 2. the SET or CLOBBER rtx that does the store, + 3. the pointer DATA provided to note_stores. If the item being stored in or clobbered is a SUBREG of a hard register, the SUBREG will be passed. */ |