This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: maybe_set_unchanging
- To: jason at redhat dot com
- Subject: Re: maybe_set_unchanging
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 15 Feb 01 12:00:08 EST
- Cc: gcc at gcc dot gnu dot org
I don't remember the motivation at the moment, but one case that comes
to mind is a loop where a variable declared const is initialized to a
different value in each iteration.
Oh, because of concerns about being hoisted out of a loop?
This is interesting: does "stored once" mean stored once *statically* or
*dynamically*: we've never quite been clear about that. I've interpreted
it in the former way, but perhaps it really means the latter.