From: Jeff Law <law@redhat.com>
To: Jason Merrill <jason@redhat.com>, Martin Sebor <msebor@gmail.com>,
Joseph Myers <joseph@codesourcery.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
Marek Polacek <polacek@redhat.com>,
Gcc Patch List <gcc-patches@gcc.gnu.org>
Subject: Re: [PING] Re: [PATCH] c/66516 - missing diagnostic on taking the address of a builtin function
Date: Tue, 04 Aug 2015 15:58:00 -0000 [thread overview]
Message-ID: <55C0E115.2040307@redhat.com> (raw)
In-Reply-To: <55C0D46E.6020500@redhat.com>
On 08/04/2015 09:04 AM, Jason Merrill wrote:
>
> This is largely historical baggage, I think, from days where computers
> had less memory and we were trying to do as much processing as possible
> immediately.
Right. Also note the early folding was from a time before we had the
gimple optimization pipeline -- the only significant optimizations we
did on trees was the (excessive) fold-const.c stuff.
>
> The c++-delayed-folding branch delays folding the ?: expression until
> the end of the function, at which point we can see better what context
> the function is being used in, which could simplify your patch.
Right. And that's a design direction we want to take with folding in
general -- delay it until the transition to gimple/ssa. That way what
we get out of the front-ends looks much more like the original source.
jeff
next prev parent reply other threads:[~2015-08-04 15:58 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-22 0:36 Martin Sebor
2015-06-22 14:11 ` Joseph Myers
2015-06-22 14:41 ` Marek Polacek
2015-06-23 4:38 ` Martin Sebor
2015-06-23 10:29 ` Marek Polacek
2015-06-23 10:39 ` Jakub Jelinek
2015-06-23 15:12 ` Martin Sebor
2015-06-29 7:37 ` Martin Sebor
2015-07-02 14:20 ` Joseph Myers
2015-07-04 22:32 ` Martin Sebor
2015-07-14 3:37 ` [PING] " Martin Sebor
2015-07-14 15:01 ` Jason Merrill
2015-07-14 15:07 ` Jason Merrill
2015-07-14 18:04 ` Martin Sebor
2015-07-29 7:27 ` Jason Merrill
2015-07-29 19:07 ` Martin Sebor
2015-08-03 23:02 ` Martin Sebor
2015-08-04 15:04 ` Jason Merrill
2015-08-04 15:58 ` Jeff Law [this message]
2015-08-04 15:19 ` Joseph Myers
2015-08-28 20:10 ` Martin Sebor
2015-08-28 20:49 ` Joseph Myers
2015-08-29 0:57 ` Martin Sebor
2015-09-01 15:01 ` Martin Sebor
2015-09-01 17:29 ` Joseph Myers
2015-09-01 22:25 ` Martin Sebor
2015-09-02 0:20 ` Joseph Myers
2015-09-02 15:29 ` Jason Merrill
2015-09-02 22:13 ` Martin Sebor
2015-09-03 14:29 ` Jason Merrill
2015-09-03 14:53 ` Joseph Myers
2015-09-03 17:30 ` Jakub Jelinek
2015-09-03 18:28 ` Martin Sebor
2015-06-22 19:45 ` Marek Polacek
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=55C0E115.2040307@redhat.com \
--to=law@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=jason@redhat.com \
--cc=joseph@codesourcery.com \
--cc=msebor@gmail.com \
--cc=polacek@redhat.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).