This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
note_stores vs. PRE_DEC, POST_INC and so on
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 8 Jun 2007 21:21:30 +0200
- Subject: note_stores vs. PRE_DEC, POST_INC and so on
The comment for note_stores() (in rtlanal.c) says:
/* Call FUN on each register or MEM that is stored into or clobbered by X.
(X would be the pattern of an insn).
But this doesn't happen when a register is modified by e.g. a PRE_DEC
expression. Is this an oversight or intentional? If intentional, the comment
should say so and perhaps also why.
--
Rask Ingemann Lambertsen