This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: prevent optimisation of variables on SSA
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Martin Schindewolf" <schindew at ira dot uka dot de>
- Cc: gcc at gcc dot gnu dot org, "Albert Cohen" <Albert dot Cohen at inria dot fr>
- Date: Fri, 15 Aug 2008 19:06:07 +0200
- Subject: Re: prevent optimisation of variables on SSA
- References: <48A5B643.4060306@ira.uka.de>
On Fri, Aug 15, 2008 at 7:00 PM, Martin Schindewolf <schindew@ira.uka.de> wrote:
> Hi all,
>
> I currently introduce a temporary variable on SSA form but it
> does not survive the SSA optimisation passes. (Not even the
> simple ones triggered with -O1). Since the temporary variable
> is considered to be a gimple register it is not possible to
> set a VUSE or VDEF for it. (I tried and it breaks the SSA
> properties). Are there any mechanisms to work around this
> restriction and set the VDEF/VUSE anyway or is there a way to
> tell the SSA optimisers not to touch this variable (or
> SSA_NAME)?
> Thank you very much for sharing your thoughts!
You need to better explain what you are trying to do.
Richard.