aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-19 00:51:16 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2003-02-19 00:51:16 +0000
commit62e1dfcf2f4ba9568194e08ebccdd1b1c1db78f3 (patch)
tree80e4f09c68d9f7c5a7226ee0a859bf2f53c872a8 /gcc/target.h
parent5e93e88adf5643394ee014e06d2c8f13fafaff96 (diff)
downloadgcc-62e1dfcf2f4ba9568194e08ebccdd1b1c1db78f3.zip
gcc-62e1dfcf2f4ba9568194e08ebccdd1b1c1db78f3.tar.gz
gcc-62e1dfcf2f4ba9568194e08ebccdd1b1c1db78f3.tar.bz2
20030218-1.c: New.
2003-02-18 Nick Clifton <nickc@redhat.com> Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.dg/20030218-1.c: New. * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE. * target-def.h (TARGET_INITIALIZER): Add TARGET_VECTOR_TYPES_COMPATIBLE. (TARGET_VECTOR_TYPES_COMPATIBLE): New macro. * target.h (struct gcc_target): Add field vector_types_compatible. * c-typeck.c (comptypes): Take into account TARGET_VECTOR_TYPES_COMPATIBLE. (convert_for_assignment): Same. * config/rs6000/rs6000.c (is_ev64_opaque_type): New. (rs6000_spe_vector_types_compatible): New. (TARGET_VECTOR_TYPES_COMPATIBLE): Define. From-SVN: r63080
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index f671321..90660d9 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -320,6 +320,9 @@ struct gcc_target
/* True if MODE is valid for a pointer in __attribute__((mode("MODE"))). */
bool (* valid_pointer_mode) PARAMS ((enum machine_mode mode));
+ /* True if two vector types can be copied without an explicit cast. */
+ bool (* vector_types_compatible) PARAMS ((tree, tree));
+
/* Compute a (partial) cost for rtx X. Return true if the complete
cost has been computed, and false if subexpressions should be
scanned. In either case, *TOTAL contains the cost result. */