From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13250 invoked by alias); 18 Mar 2005 10:16:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11336 invoked by alias); 18 Mar 2005 10:14:58 -0000 Date: Fri, 18 Mar 2005 10:16:00 -0000 Message-ID: <20050318101458.11335.qmail@sourceware.org> From: "aoliva at redhat dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050220111234.20103.falk@debian.org> References: <20050220111234.20103.falk@debian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20103] [4.0/4.1 regression] ICE in create_tmp_var with C99 style struct initializer X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg02198.txt.bz2 List-Id: ------- Additional Comments From aoliva at gcc dot gnu dot org 2005-03-18 10:14 ------- Subject: Re: [PR c++/20103] failure to gimplify constructors for addressable types On Mar 18, 2005, Alexandre Oliva wrote: > On Mar 17, 2005, Richard Henderson wrote: >>> +cp_gimplify_compound_literal_expr (tree *expr_p, tree *pre_p, tree *post_p) >>> + return gimplify_expr (expr_p, pre_p, post_p, is_gimple_val, fb_rvalue); >> You don't need to recurse here. Just return GS_OK. > Neat! FWIW, removing the recursion enabled me to remove the post_p argument as well, but I only realized that after posting the patch. I'm not reposting it right now for this trivial reason, but consider the patch with this additional change. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20103