This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SRA generates uninitialized var use
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Xinliang David Li <davidxl at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 20 Jun 2011 13:13:02 +0200
- Subject: Re: SRA generates uninitialized var use
- References: <BANLkTikriRpAsKzCX_=cAvOZX3M0SGdgRg@mail.gmail.com>
On Sat, Jun 18, 2011 at 10:56 AM, Xinliang David Li <davidxl@google.com> wrote:
> Compiling the test case in the patch with -O2 -m32 without the fix,
> the program will abort. The problem is a var decl whose address is
> taken is not marked as addressable leading to bad SSA update (missing
> VUSE). ?(the triaging used the the .after and .after_cleanup dump diff
> and found the problem).
>
> the test is on going. Ok after testing?
That doesn't make sense. SRA shouldn't generate anything that has
its address taken. So, where do we take its address?
Richard.
> Thanks,
>
> David
>