This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Calling gimplify_to_stmt_list (...) on a statement containing a TARGET_MEM_REF node
- From: Roberto COSTA <roberto dot costa at st dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC mailing list <gcc at gcc dot gnu dot org>
- Date: Fri, 14 Jul 2006 16:25:29 +0200
- Subject: Re: Calling gimplify_to_stmt_list (...) on a statement containing a TARGET_MEM_REF node
- References: <44B7A3C4.8070700@st.com> <908F686C-0195-44AE-BFBB-D5DEBDAC6AA0@physics.uc.edu>
Andrew Pinski wrote:
On Jul 14, 2006, at 11:01 PM, Roberto COSTA wrote:
Is it a bug... or am I trying to do something wrong?
Why are you trying to regimplify something which is in gimple?
I'm trying to generate new code, which happens to contain TARGET_MEM_REF.
To do that, I find more convenient to generate a big and deep tree and
to gimplify it later (I saw other passes follow this approach).
I haven't really generated the TARGET_MEM_REF myself, I'm just reusing
an already existing expression (with no side effects).
Cheers,
Roberto