This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix arm neon ICE by widening tree_type's precision field
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