This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Do not replace GIVs containing volatile memory references
- To: craig at jcb-sc dot com
- Subject: Re: Do not replace GIVs containing volatile memory references
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Fri, 19 Mar 1999 09:54:40 -0800
- CC: egcs-patches at cygnus dot com
Hi Craig,
: > Thu Mar 18 15:58:26 1999 Nick Clifton <nickc@cygnus.com>
: >
: > * loop.c (strength_reduce): Do not perform pseudo replacements
: > if the loop contains volatile memory references.
:
: Just a note: you are presumably aware your change will have no effect
: whatsoever on the code as it *currently* stands, right? The "0 &&"
: at the beginning of the test assures that.
Yup! I am aware of this!
: Not that this is therefore not a good change -- the "Temporary" and
: "0 &&" strongly suggest the test might be re-enabled someday soon,
: and if it needs to be a better test, so be it...
:
: ...just wanted to make sure you weren't expecting to see changes in
: generated code as a result of this patch.
Yeah - I have a branch which has this test enabled, and this is where
I originally discovered the problem...
Thanks for noting this though.
Cheers
Nick