This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2008 19:29:24 -0000
- Subject: [Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.
- References: <bug-35560-9436@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gmail dot com 2008-11-30 19:29 -------
Subject: Re: Missing CSE/PRE for memory operations involved in virtual call.
I think this bug is invalid since the type can change via a placement
new which will change the vtable.
Sent from my iPhone
On Nov 30, 2008, at 4:09 AM, "rguenth at gcc dot gnu dot org"
<gcc-bugzilla@gcc.gnu.org
> wrote:
>
>
> ------- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-30
> 12:09 -------
> Note that we also do not CSE OBJ_TYPE_REF trees which seem to be
> valid gimple
> in place of the call in GIMPLE_CALLs so they do not get a separate
> value-number.
> (not that we would do anything useful with them if they were
> standalone,
> testcase for that welcome)
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560