public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steven Bosscher <stevenb.gcc@gmail.com>
To: Richard Guenther <richard.guenther@gmail.com>
Cc: Paolo Bonzini <paolo.bonzini@gmail.com>,
	gcc-patches@gcc.gnu.org,  	Eric Botcazou <ebotcazou@adacore.com>
Subject: Re: [PATCH] fix arm neon ICE by widening tree_type's precision field
Date: Tue, 09 Jun 2009 15:44:00 -0000	[thread overview]
Message-ID: <571f6b510906090844s6b2cd143gcdc513862ba963d7@mail.gmail.com> (raw)
In-Reply-To: <84fc9c000906090800g72b231e2icf9ecc1e9b5d0f9d@mail.gmail.com>

On Tue, Jun 9, 2009 at 5:00 PM, Richard
Guenther<richard.guenther@gmail.com> wrote:
> Hmm.  I guess a more proper approach would be to try to remove
> one of the lang-specific flags and instead force the frontends to use
> flags in their TYPE_LANG_SPECIFIC structure.  Ada seems to be
> the only one using all lang-specific flags - maybe there is an obvious
> candidate.  Eric?

unless I grepped wrong, C++ also uses them all.

/me double checks

stevenb@gsyprf3:~/devel/trunk/gcc$ grep -r --exclude-dir=.svn
TYPE_LANG_FLAG_ * | grep cp
cp/ChangeLog-2003:      rather than TYPE_LANG_FLAG_0.
cp/cp-tree.h:   Usage of TYPE_LANG_FLAG_?:
cp/cp-tree.h:  (TYPE_LANG_FLAG_5 (T) = (VAL))
cp/cp-tree.h:  (RECORD_OR_UNION_CODE_P (TREE_CODE (T)) && TYPE_LANG_FLAG_5 (T))
cp/cp-tree.h:#define TYPE_FOR_JAVA(NODE) TYPE_LANG_FLAG_3 (NODE)
cp/cp-tree.h:#define TYPE_DEPENDENT_P(NODE) TYPE_LANG_FLAG_0 (NODE)
cp/cp-tree.h:#define TYPE_DEPENDENT_P_VALID(NODE) TYPE_LANG_FLAG_6(NODE)
cp/cp-tree.h:  (TREE_CODE (TYPE) == ENUMERAL_TYPE && TYPE_LANG_FLAG_5 (TYPE))
cp/cp-tree.h:  (TREE_CODE (TYPE) == ENUMERAL_TYPE && !TYPE_LANG_FLAG_5 (TYPE))
cp/cp-tree.h:  (TYPE_LANG_FLAG_5 (ENUMERAL_TYPE_CHECK (TYPE)) = (VAL))
cp/cp-tree.h:#define TYPE_HAS_USER_CONSTRUCTOR(NODE) (TYPE_LANG_FLAG_1 (NODE))
cp/cp-tree.h:  (TYPE_LANG_FLAG_4 (NODE))
cp/ChangeLog-2007:      * cp-tree.h: Update comment - TYPE_LANG_FLAG_0 is not
cp/ChangeLog-2008:      TYPE_LANG_FLAG_5.

OK, so C++ doesn't use TYPE_LANG_FLAG_2.  Oops :-)

Ciao!
Steven

  parent reply	other threads:[~2009-06-09 15:44 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08 15:32 Nathan Froyd
2009-06-08 17:11 ` Richard Guenther
2009-06-08 18:04 ` Paolo Bonzini
2009-06-08 20:28   ` Nathan Froyd
2009-06-08 20:32     ` Steven Bosscher
2009-06-09  6:36     ` Paolo Bonzini
2009-06-09 14:54       ` Nathan Froyd
2009-06-09 15:00         ` Richard Guenther
2009-06-09 15:07           ` Richard Guenther
2009-06-09 15:44           ` Steven Bosscher [this message]
2009-06-10  2:50           ` Eric Botcazou
2009-06-09 15:40         ` Steven Bosscher
2009-06-09 15:53           ` Richard Guenther
2009-06-09 16:31             ` Nathan Froyd
2009-06-09 16:34               ` Richard Guenther
2009-06-09 16:36               ` Diego Novillo
2009-06-09 17:30               ` Paolo Bonzini
2010-07-28 19:01               ` [4.5 regression] C++ ignores some aligned attributes (Re: [PATCH] fix arm neon ICE by widening tree_type's precision field) Ulrich Weigand
2010-07-28 19:40                 ` Richard Guenther
2010-07-29 12:29                   ` [4.5 regression] C++ ignores some aligned attributes (Re: [PATCH] fix arm neon ICE by widening tree_type's precision field Ulrich Weigand
2010-07-28 22:07                 ` [PATCH] [4.5 regression] C++ ignores some aligned attributes Ulrich Weigand
2010-07-30 16:00                   ` Ulrich Weigand
2010-07-30 16:22                     ` Richard Guenther
2010-07-30 16:22                       ` Ulrich Weigand
2010-07-31 17:45                   ` Eric Botcazou
2010-07-31 19:38                     ` Ulrich Weigand
2010-08-04 14:03                   ` Paul Brook
2010-08-04 14:19                     ` Ulrich Weigand
2010-08-04 14:27                       ` Mark Mitchell
2010-08-04 15:04                       ` Paul Brook
2010-08-04 16:42                         ` Ulrich Weigand
2010-08-04 15:33                       ` Martin Sebor
2010-08-04 15:47                         ` Mark Mitchell
2010-08-05  9:02                           ` Martin Sebor
2009-06-08 19:40 ` [PATCH] fix arm neon ICE by widening tree_type's precision field Joseph S. Myers
2009-06-08 19:52   ` Daniel Jacobowitz
2009-06-08 20:12     ` Andrew Pinski
2009-06-08 20:20     ` Jakub Jelinek
2009-06-08 20:33       ` Daniel Jacobowitz

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=571f6b510906090844s6b2cd143gcdc513862ba963d7@mail.gmail.com \
    --to=stevenb.gcc@gmail.com \
    --cc=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=paolo.bonzini@gmail.com \
    --cc=richard.guenther@gmail.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).