This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: address order and BB numbering
- From: Dale Johannesen <dalej at apple dot com>
- To: sean yang <seanatpurdue at hotmail dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 19 May 2006 12:54:56 -0700
- Subject: Re: address order and BB numbering
- References: <BAY105-F39136F11C460A1996AA9F8C0A70@phx.gbl>
On May 19, 2006, at 12:48 PM, sean yang wrote:
Although "BASIC_BLOCK array contains BBs in an unspecified order"
as the GCC internal doc says, can I assume that the final virtual
address for an instruction in BB_m is always higher than the
virtual address for an instruction in BB_n, when m < n. (Let's
assume the linker for the target machine produce code from low
address to high address.)
Definitely not.
Various phases that need to know the order of insns produce a CUID
for that phase, but it is not maintained globally.