diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-12-04 12:00:04 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-12-04 12:00:04 -0500 |
commit | c00996a3ea28127b7392876352ad0dd32e00e1ca (patch) | |
tree | 7543491b113d205817aab1d11cfba53a22a40db7 /gcc/cp/error.c | |
parent | d611079baa5b039340541d7f1576a3e520280b4f (diff) | |
download | gcc-c00996a3ea28127b7392876352ad0dd32e00e1ca.zip gcc-c00996a3ea28127b7392876352ad0dd32e00e1ca.tar.gz gcc-c00996a3ea28127b7392876352ad0dd32e00e1ca.tar.bz2 |
mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
* mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
(write_builtin_type): Pass intSI_type_node and the like through
type_for_mode.
* method.c (process_overload_item): Mangle VECTOR_TYPEs with 'o'.
Pass intSI_type_node and the like through type_for_mode.
* decl2.c (arg_assoc_type): Handle VECTOR_TYPE like COMPLEX_TYPE.
* pt.c (tsubst, unify): Likewise.
* tree.c (walk_tree): Likewise.
* error.c (dump_type): Likewise.
(dump_type_prefix, dump_type_suffix): Don't bother with VECTOR_TYPE.
* Make-lang.in: Tweak top comment for emacs.
(cp/TAGS): Restore.
* except.c (expand_throw): Use push_throw_library_fn for _Jv_Throw.
* pt.c (tsubst_decl): Call clone_function_decl here.
(do_decl_instantiation): Not here.
* class.c (clone_function_decl): Robustify.
* decl.c (store_bindings): Only search in the non modified
old_bindings for duplicates.
From-SVN: r37999
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index a77edf5..45863e1 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -447,6 +447,11 @@ dump_type (t, flags) dump_type (TREE_TYPE (t), flags); break; + case VECTOR_TYPE: + OB_PUTS ("vector "); + dump_type (TREE_TYPE (t), flags); + break; + case INTEGER_TYPE: if (!TREE_UNSIGNED (TYPE_MAIN_VARIANT (t)) && TREE_UNSIGNED (t)) output_add_string (scratch_buffer, "unsigned "); @@ -503,7 +508,6 @@ dump_type (t, flags) reduces code size. */ case ARRAY_TYPE: case POINTER_TYPE: - case VECTOR_TYPE: case REFERENCE_TYPE: case OFFSET_TYPE: offset_type: @@ -662,15 +666,6 @@ dump_type_prefix (t, flags) switch (TREE_CODE (t)) { - case VECTOR_TYPE: - padding = dump_type_prefix (TREE_TYPE (t), flags); - if (padding != none) - output_add_space (scratch_buffer); - output_add_string (scratch_buffer, "vector"); - dump_qualifiers (t, before); - padding = before; - break; - case POINTER_TYPE: case REFERENCE_TYPE: { @@ -748,6 +743,7 @@ dump_type_prefix (t, flags) case VOID_TYPE: case TYPENAME_TYPE: case COMPLEX_TYPE: + case VECTOR_TYPE: dump_type (t, flags); padding = before; break; @@ -778,7 +774,6 @@ dump_type_suffix (t, flags) case POINTER_TYPE: case REFERENCE_TYPE: case OFFSET_TYPE: - case VECTOR_TYPE: if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE) print_right_paren (scratch_buffer); dump_type_suffix (TREE_TYPE (t), flags); @@ -844,6 +839,7 @@ dump_type_suffix (t, flags) case VOID_TYPE: case TYPENAME_TYPE: case COMPLEX_TYPE: + case VECTOR_TYPE: break; default: |