public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Adam Butcher <adam@jessamine.co.uk>
Cc: gcc-patches@gcc.gnu.org,
	Gabriel Dos Reis <gdr@integrable-solutions.net>,
	       Andrew Sutton <andrew.n.sutton@gmail.com>
Subject: Re: [PATCH 1/4] Support lambda templates.
Date: Tue, 03 Sep 2013 21:25:00 -0000	[thread overview]
Message-ID: <522653CC.8070605@redhat.com> (raw)
In-Reply-To: <682fa7ec431e8595ccb35fe0b1020d4e@imap.force9.net>

On 09/03/2013 03:50 PM, Adam Butcher wrote:
> Problem is that no RTL is set for the incoming parms in the
> instantiation of the expansion.  It ICEs in gimple_expand_cfg because 'DECL_RTL_IF_SET
> (var)' returns nullptr for the incoming parms resulting in a failed assertion that
> SA.partition_to_pseudo[i] is non-null.

Sounds like a problem with how _FUN's parameters are instantiated.  I'm 
not sure why it would be special.

Does using a function parameter pack in the lambda body work currently? 
  If so, how are the expanded parameters different?

Jason

  reply	other threads:[~2013-09-03 21:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 19:43 Lambda templates and implicit function templates Adam Butcher
2013-08-27 19:43 ` [PATCH 4/4] Support using 'auto' in a function parameter list to introduce an implicit template parameter Adam Butcher
2013-09-01 21:20   ` Jason Merrill
2013-09-02 18:45     ` Adam Butcher
2013-08-27 19:43 ` [PATCH 1/4] Support lambda templates Adam Butcher
2013-09-01 20:22   ` Jason Merrill
2013-09-02 18:30     ` Adam Butcher
2013-09-02 18:34       ` Jason Merrill
2013-09-02 21:18         ` Adam Butcher
2013-09-03  3:50           ` Jason Merrill
2013-09-03 19:50             ` Adam Butcher
2013-09-03 21:25               ` Jason Merrill [this message]
2013-09-05 19:14                 ` Adam Butcher
2013-09-05 20:53                   ` Adam Butcher
2013-09-09  7:24                     ` Adam Butcher
2013-09-09 15:08                       ` Jason Merrill
2013-08-27 19:43 ` [PATCH 2/4] Don't generate lambda conversion op if arglist has parameter pack Adam Butcher
2013-09-01 20:28   ` Jason Merrill
2013-08-27 20:03 ` [PATCH 3/4] Support dumping type bindings in lambda diagnostics Adam Butcher
2013-09-01 20:05 ` Lambda templates and implicit function templates Jason Merrill
2013-09-02 18:27   ` Adam Butcher
2013-09-02 18:51     ` Jason Merrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522653CC.8070605@redhat.com \
    --to=jason@redhat.com \
    --cc=adam@jessamine.co.uk \
    --cc=andrew.n.sutton@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdr@integrable-solutions.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).