This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: false assertion make_decl_rtl, at varasm.c:1273
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc at gcc dot gnu dot org, Kouadri MostÃfaoui Abdellah Medjadji <abdellah dot kouadri_mostefaoui at it-sudparis dot eu>
- Date: Fri, 22 May 2009 21:10:12 +0200
- Subject: Re: false assertion make_decl_rtl, at varasm.c:1273
- References: <1243004682.12776.17.camel@olivine.int-evry.fr> <m3iqjtqait.fsf@google.com>
> make_decl_rtl is used to generate the RTL to refer to some static
> object. It should not be called for a local variable; a local variable
> should be turned into a pseudo-register instead. It's hard to know what
> is wrong with your pass; you should look at what is calling
> make_decl_rtl with a local variable, any why.
Yes, it usually means that the local variable hasn't been properly registered
in the binding countour or some such.
--
Eric Botcazou