summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright.kenner1995-06-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10057 138bc75d-0d04-0410-961f-82ee72b054a4
* (find_splittable_regs): When completely unrolling loop, check forkenner1995-06-261-3/+4
| | | | | | | non-invariant initial biv values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10056 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_expr, case COND_EXPR): Protect the condition from being evaluated morekenner1995-06-261-0/+3
| | | | | | | | than once. (do_jump, case TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10055 138bc75d-0d04-0410-961f-82ee72b054a4
* (string.h): Fix return value for mem{ccpy,chr,cpy,set} andkenner1995-06-261-1/+9
| | | | | | | str{len,spn,cspn} on sysV68. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10054 138bc75d-0d04-0410-961f-82ee72b054a4
* Make long double == double.meissner1995-06-261-2/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10053 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_return): Correctly handle returning BLKmode structures inkenner1995-06-231-35/+44
| | | | | | | | registers when the size of the structure is not a multiple of word_size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10052 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_call): Correctly handle returning BLKmode structures inkenner1995-06-231-28/+41
| | | | | | | | registers when the size of the structure is not a multiple of word_size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10051 138bc75d-0d04-0410-961f-82ee72b054a4
* Rename called function.kenner1995-06-2311-11/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10050 138bc75d-0d04-0410-961f-82ee72b054a4
* mrs@cygnus.comkenner1995-06-231-7/+217
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10049 138bc75d-0d04-0410-961f-82ee72b054a4
* (start_function): For pre-parsed functions, layout all of the parm decls again.kenner1995-06-231-1/+9
| | | | | | | (grokvardecl): TREE_PUBLIC depends on DECL_THIS_EXTERN, not DECL_EXTERNAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10048 138bc75d-0d04-0410-961f-82ee72b054a4
* Unknown; from MRS.kenner1995-06-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10047 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_signature_table_constructor): Use DECL_CONTEXT instead ofkenner1995-06-231-92/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DECL_CLASS_CONTEXT for calculating the vfield offset so abstract virtual functions are handled correctly. (build_signature_table_constructor): Store the correct delta in signature table entries. It does not yet work for classes with virtual base classes as implementations of signatures. (build_signature_method_call): Add the delta to the object_ptr before generating the function call. (build_signature_method_call): Dereference the optr for the direct and virtual calls. (build_signature_table_constructor): Make the tag for default implementations -1 instead of 2. (build_signature_method_call): Change the generated conditional expression correspondingly. (build_signature_pointer_constructor): Deleted the sorry message that said we can't handle multiple inheritance for implementations of signatures (build_signature_method_call): Use the offset from the sigtable entry instead of the vptr field from the signature pointer for building a virtual function call. (build_vptr_ref): Deleted. (build_signature_pointer_or_reference_type): Deleted construction of the vptr field. (build_signature_pointer_constructor): Deleted initialization of/assignment to the vptr field. (build_signature_table_constructor): Convert the signature table entry fields to their correct types. (build_signature_table_constructor): Don't call digest_init for the fields of a sigtable entry, it's wasted time. (build_signature_table_constructor): Correctly set the offset and index fields of a sigtable entry. Build the constructor the way digest_init does, digest_init can't handle initializing an anonymous union inside a struct. (build_signature_method_call): Use the index field instead of the delta field to get the vtable index. (build_signature_table_constructor): Rename code and offset to tag and delta, respectively. (build_signature_method_call): Ditto. Use above variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10046 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_opfncall): Use DECL_CHAIN, not TREE_CHAIN for results fromkenner1995-06-231-33/+88
| | | | | | | | | | | | | | lookup_fnfields. Always give warning/error on bad code. (build_overload_int): New routine. Break out functionality from build_overload_value so we can reuse it. (build_overload_value): Handle pointer to member functions as value parameters for templates. (build_overload_identifier): Since template parameters are shared among all instantiations, we have to substitute in the real types in TREE_TYPE (parm). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10045 138bc75d-0d04-0410-961f-82ee72b054a4
* (dont_allow_type_definitions): Define.kenner1995-06-231-4/+5
| | | | | | | | | | | | (SIGNATURE_VPTR_NAME): Deleted. We use the right vptr field in the object now instead of in the signature pointer/ref. (build_vptr_ref): Deleted extern declaration. (tag_identifier, offset_identifier): Added extern decls. (SIGTABLE_CODE_NAME): Renamed to SIGTABLE_TAG_NAME. (SIGTABLE_PFN_NAME): Deleted, we'll use VTABLE_PFN_NAME instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10044 138bc75d-0d04-0410-961f-82ee72b054a4
* (can_convert): Also check for distance > 0.kenner1995-06-231-7/+18
| | | | | | | | | | (can_convert_arg): Ditto. (user_harshness): Ditto. (build_method_call): Make instance_ptr the signature pointer itself instead of dereferencing the optr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10043 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_delete): If the TYPE_DOMAIN is not set, give an error insteadkenner1995-06-231-5/+18
| | | | | | | | | | of core dumping. (build_vec_delete): Resolve an offset ref before we try to use it. (member_init_ok_or_else): Don't allow initialization of an ancestor's member from within a constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10042 138bc75d-0d04-0410-961f-82ee72b054a4
* (instantiate_class_template): Add the new instantiation to template_classes.kenner1995-06-231-50/+26
| | | | | | | | | | | | | (do_pending_expansions): Call instantiate_member_templates on all of the classes in template_classes. (coerce_template_parms): Since template parameters are shared among all instantiations, we have to substitute in the real types in TREE_TYPE (parm). (push_template_decls): Ditto. (grok_template_type): Deleted as template parameters are shared among all instantiations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10041 138bc75d-0d04-0410-961f-82ee72b054a4
* (get_vbase): New routine to switch hierarchies from the CLASSTYPE_VBASECLASSESkenner1995-06-231-1/+54
| | | | | | | | | to the normal one. (expand_indirect_vtbls_init): Use get_vbase to figure out how we want to convert to a vbase pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10040 138bc75d-0d04-0410-961f-82ee72b054a4
* Call cplus_decl_attributes with prefix_attributes where appropriate.kenner1995-06-231-14/+38
| | | | | | | (primary, handler_seq): Set it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10039 138bc75d-0d04-0410-961f-82ee72b054a4
* (finish_struct): A data member with the same name as the class doesn'tkenner1995-06-231-2/+10
| | | | | | | | | | | suppress constructors. (dont_allow_type_definitions): New variable set when types cannot be defined. (finish_struct): Use it. (build_vfn_ref): Deleted signature specific code, we don't call this function anymore from build_signature_method_call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10038 138bc75d-0d04-0410-961f-82ee72b054a4
* (build_conditional_expr): Use convert (boolean_type_node instead ofkenner1995-06-231-15/+23
| | | | | | | | | | | | | truthvalue_conversion. (build_modify_expr): If the class lacks a constructor or assignment operator, return error_mark_node. (common_type): Use build_cplus_array_type. (commonparms): Don't abort if simple_cst_equal returns < 0. (build_c_cast): Don't tack on a NON_LVALUE_EXPR when casting to reference type. (build_indirect_ref): Fix check for *&. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10037 138bc75d-0d04-0410-961f-82ee72b054a4
* (finish_function): Clear current_class_decl.kenner1995-06-231-25/+138
| | | | | | | | | | | | | | | | | | | | | | | | | (start_function): If current_class_decl is a signature pointer, don't dereference it but set C_C_D to current_class_decl. (duplicate_decls): Complain about virtual functions redeclared to be inline. (get_unique_name): New routine to name unnamed namespaces. (push_namespace): Use get_unique_name for naming unnamed namespaces. (complete_array_type): Fill in the TYPE_DOMAIN of our TYPE_MAIN_VARIANT if it is not filled in. (start_function): Complain about redefinition of a function even when the pending_inline version is compiled after the other version. (init_decl_processing): Fix number of fields for building sigtable_entry_type. (tag_identifier, offset_identifier): New variables to hold the identifiers for the sigtable fields tag and offset. (init_decl_processing): Initialize these variables. (init_decl_processing): Use these variables to build the sigtable_entry_type structure. Rename the code and offset fields to tag and delta, respectively; add offset and index fields. Changed types of fields from short_integer_type_node to delta_type_node. (lookup_name_real): Don't try to look anything up in an erroneous object. (grokdeclarator): Always give errors on constant overflow for array indices. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10036 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_expr, TARGET_EXPR): Use original_target.kenner1995-06-231-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10035 138bc75d-0d04-0410-961f-82ee72b054a4
* (LIB_SPEC): Undefine before redefining.kenner1995-06-221-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10034 138bc75d-0d04-0410-961f-82ee72b054a4
* (LIB_SPEC): Undefine before redefiningkenner1995-06-221-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10033 138bc75d-0d04-0410-961f-82ee72b054a4
* (if DO_LINK): Skip c-parse.* processing when only relinking.kenner1995-06-221-13/+31
| | | | | | | | (gas_message): Update to reflect current version, and give a different message if/when no version of gas is found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10032 138bc75d-0d04-0410-961f-82ee72b054a4
* Work around hpux8 /bin/sh case bug.kenner1995-06-221-9/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10031 138bc75d-0d04-0410-961f-82ee72b054a4
* (i386-sequent-ptx): Properly get version number.kenner1995-06-221-1/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10030 138bc75d-0d04-0410-961f-82ee72b054a4
* (___modsi3): Correctly set SIGN register for modulo involving negativekenner1995-06-221-2/+3
| | | | | | | numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10029 138bc75d-0d04-0410-961f-82ee72b054a4
* (STAGESTUFF): Add stamp-crt.kenner1995-06-221-6/+8
| | | | | | | | (crtbegin.o, crtend.o): Now depend on stamp-crt. (stamp-crt): New rule, to actually build crt{begin,end}.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10028 138bc75d-0d04-0410-961f-82ee72b054a4
* (mips:*:4*:UMIPS): New case.kenner1995-06-221-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10027 138bc75d-0d04-0410-961f-82ee72b054a4
* (HZ): Now 100 and don't define if already defined.kenner1995-06-221-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10026 138bc75d-0d04-0410-961f-82ee72b054a4
* (LIB_SPEC): Define to avoid -lg.kenner1995-06-221-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10025 138bc75d-0d04-0410-961f-82ee72b054a4
* (locatelib): Fix parsing of LD_LIBRARY_PATH.kenner1995-06-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10024 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix spelling errors in comments.kenner1995-06-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10023 138bc75d-0d04-0410-961f-82ee72b054a4
* (main): Unlink export_file before we return.kenner1995-06-221-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10022 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix aix 4.1 compiler warnings.meissner1995-06-221-16/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10021 138bc75d-0d04-0410-961f-82ee72b054a4
* Edit to add a missing $(exeext) for CCCP.kenner1995-06-202-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10020 138bc75d-0d04-0410-961f-82ee72b054a4
* (default_include): Use name and two ints to be compatible withkenner1995-06-201-11/+11
| | | | | | | definition of INCLUDE_DEFAULTS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10019 138bc75d-0d04-0410-961f-82ee72b054a4
* (integrate_decl_tree): Only set DECL_ABSTRACT_ORIGIN if the declkenner1995-06-191-3/+10
| | | | | | | returned by pushdecl is the one we started with. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10018 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_DECLARE_FUNCTION_NAME): Don't emit function label.kenner1995-06-191-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10017 138bc75d-0d04-0410-961f-82ee72b054a4
* (simple_cst_equal): Work around enum bug in vax ultrix 4.3 pcc.kenner1995-06-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10016 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_ASCII): Always reset line count when starting new line.kenner1995-06-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10015 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't define wchar_t under C++.kenner1995-06-191-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10014 138bc75d-0d04-0410-961f-82ee72b054a4
* Will bring over with next merge.mrs1995-06-192-19/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10013 138bc75d-0d04-0410-961f-82ee72b054a4
* (collect_expansion): Work around enum bug in vax ultrix 4.3 pcc.kenner1995-06-191-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10012 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1995-06-191-0/+73
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10011 138bc75d-0d04-0410-961f-82ee72b054a4
* (save_call_clobbered_regs): If AUTO_INC_DEC, mark register indicatedkenner1995-06-191-1/+8
| | | | | | | by REG_INC notes as live so they will be saved. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10010 138bc75d-0d04-0410-961f-82ee72b054a4
* (PRINT_OPERAND_ADDRESS, case LOW_SUM): Fix logic bug in last change.kenner1995-06-191-7/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10009 138bc75d-0d04-0410-961f-82ee72b054a4
* (scan_decls): Fix typo when resetting PREV_ID_START.kenner1995-06-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10008 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud