aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-def.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-def.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-def.h')
-rw-r--r--gcc/target-def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h
index 985d651..57d6e98 100644
--- a/gcc/target-def.h
+++ b/gcc/target-def.h
@@ -256,6 +256,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define TARGET_VALID_POINTER_MODE default_valid_pointer_mode
#endif
+#ifndef TARGET_VECTOR_TYPES_COMPATIBLE
+#define TARGET_VECTOR_TYPES_COMPATIBLE hook_bool_tree_tree_false
+#endif
+
/* In hook.c. */
#define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false
#define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false
@@ -303,6 +307,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
TARGET_ENCODE_SECTION_INFO, \
TARGET_STRIP_NAME_ENCODING, \
TARGET_VALID_POINTER_MODE, \
+ TARGET_VECTOR_TYPES_COMPATIBLE, \
TARGET_RTX_COSTS, \
TARGET_ADDRESS_COST, \
TARGET_HAVE_NAMED_SECTIONS, \