public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@net-b.de>
To: GCC Mailing List <gcc@gcc.gnu.org>,
	 Andrew MacLeod <amacleod@redhat.com>
Subject: Re: GCC internal re-architecture proposal
Date: Sat, 22 Jun 2013 12:50:00 -0000	[thread overview]
Message-ID: <51C59D95.9030604@net-b.de> (raw)
In-Reply-To: <51C48072.1060005@redhat.com>

Andrew MacLeod wrote:
>> * Quite a lot of target interfaces would be used by the front ends
>> specifically for defining macros for building target libraries only; see
>> the "probably predefine macros if -fbuilding-libgcc in most cases"
>> list on
>> that wiki page.  (Thus, given a clean separation of target-side and
>> host-side configuration, c-cppbuiltin.c is inevitably going to use a lot
>> of target macros / hooks.)
> If thats where most of it lies, maybe there is some way to "push" some
> of that activity into the backend?...   I'll investigate c-cppbuiltin.c
> at some point when I get some time.   "Heavy" consumers like that would
> show up after the initial conversion stages and we can consider how to
> improve it.

When looking at CPP, please don't forget that also gfortran uses CPP 
(libcpp).

(Currently, gfortran does not provide all target macro definitions as 
gcc/config is too C/C++ centric; the idea was to move to hooks and then 
to change the definitions into a generic and C/C++ only part - such that 
the generic part can be also used for Fortran. See PR42954.)

Tobias

  reply	other threads:[~2013-06-22 12:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 15:27 Andrew MacLeod
2013-06-21 15:31 ` Andrew MacLeod
2013-06-21 16:16 ` Joseph S. Myers
2013-06-21 16:34   ` Andrew MacLeod
2013-06-22 12:50     ` Tobias Burnus [this message]
2013-06-21 17:48   ` Eric Botcazou
2014-03-18 14:19 ` Richard Biener
2014-03-18 16:34   ` Diego Novillo
2014-03-19  9:08     ` Richard Biener
2014-03-19 13:09       ` Andrew MacLeod

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=51C59D95.9030604@net-b.de \
    --to=burnus@net-b.de \
    --cc=amacleod@redhat.com \
    --cc=gcc@gcc.gnu.org \
    /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).