public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Kai Tietz <ktietz70@googlemail.com>
To: Jason Merrill <jason@redhat.com>
Cc: Paolo Carlini <paolo.carlini@oracle.com>,
		"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	"Tietz, Kai" <ktietz@redhat.com>
Subject: Re: [C++ Patch] Add maybe_constant_folded_value
Date: Thu, 13 Nov 2014 16:43:00 -0000	[thread overview]
Message-ID: <CAEwic4Za-L4Ke7+9RSBZtJXEegTRiweTGCK6RhBy9NMMXtfnrw@mail.gmail.com> (raw)
In-Reply-To: <5464D7DD.70807@redhat.com>

2014-11-13 17:10 GMT+01:00 Jason Merrill <jason@redhat.com>:
> On 11/13/2014 05:47 AM, Paolo Carlini wrote:
>>
>> shall we do something like the below?
>
>
> Something similar, yes.  Though it would also be nice to avoid the redundant
> checking in the two functions: we only want to do constexpr folding if we
> did the tsubst.
>
> Kai is working on folding changes, so I think let's let him weigh in on how
> this will interact with his work.
>
> Jason
>

So far this patch shouldn't interact to my work so far.  Having such a
function is nice.  This redundant checking is indeed a bit backward as
it can cost.

Kai

      parent reply	other threads:[~2014-11-13 16:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 10:54 Paolo Carlini
2014-11-13 16:41 ` Jason Merrill
2014-11-13 16:43   ` Jason Merrill
2014-11-13 17:50     ` Paolo Carlini
2014-11-13 18:40       ` Jason Merrill
2014-11-13 21:45         ` Paolo Carlini
2014-11-14  4:25           ` Jason Merrill
2014-11-14 14:06             ` Paolo Carlini
2014-11-14 14:09               ` Jason Merrill
2014-11-13 16:43   ` Kai Tietz [this message]

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=CAEwic4Za-L4Ke7+9RSBZtJXEegTRiweTGCK6RhBy9NMMXtfnrw@mail.gmail.com \
    --to=ktietz70@googlemail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jason@redhat.com \
    --cc=ktietz@redhat.com \
    --cc=paolo.carlini@oracle.com \
    /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).