This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] PATCH: Label addresses in static initializers
- From: Jason Merrill <jason at redhat dot com>
- To: Paul Brook <paul at nowt dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Diego Novillo <dnovillo at redhat dot com>, Jeff Law <law at redhat dot com>
- Date: Tue, 17 Jun 2003 19:20:36 -0400
- Subject: Re: [tree-ssa] PATCH: Label addresses in static initializers
- References: <200306180007.36564.paul@nowt.org>
On Wed, 18 Jun 2003 00:07:36 +0100, Paul Brook <paul@nowt.org> wrote:
> 2003-06-17 Paul Brook <paul@nowt.org>
>
> * gimplify.c (gimplify_bind_expr): Look inside static initializers.
Yep, this function doesn't properly deal with GENERIC yet. But the way to
fix it is to remove initializers that can't be applied at compile time and
move them into a MODIFY_EXPR, as gimplify_decl_stmt does for C.
Jason