[Bug target/40009] altivec __builtin_vec_ctu has wrong tyes

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 3 11:12:00 GMT 2009



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-05-03 11:12 -------
Huh.  It uses build_opaque_vector_type, but

/* Nonzero in an IDENTIFIER_NODE if the name is a local alias, whose
   uses are to be substituted for uses of the TREE_CHAINed identifier.  */
#define TYPE_VECTOR_OPAQUE(NODE) \
  (VECTOR_TYPE_CHECK (NODE)->base.deprecated_flag)

WTF??

It looks like frontend concept - see c-common.c:vector_targets_convertible_p.

Why is this frontend specific when a _backend_ sets it?  What semantics
is it supposed to have - yeah well, proper documentation for the flag
would have been a start...


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40009



More information about the Gcc-bugs mailing list