summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.law1999-01-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24911 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (strength_reduce): Size reg_map according to reg_iv_type.amylaar1999-01-292-5/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24910 138bc75d-0d04-0410-961f-82ee72b054a4
* * check-init.c (check_init): Fix CLEANUP_POINT_EXPR typo.rth1999-01-292-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24909 138bc75d-0d04-0410-961f-82ee72b054a4
* Fri Jan 29 18:26:07 1999 Dave Brolley <brolley@cygnus.com>brolley1999-01-294-12/+68
| | | | | | | | | * emit-rtl.c (remove_insn): New function. * rtl.h (remove_insn): Add prototype. * function.c (reposition_prologue_and_epilogue_notes): Call remove_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24908 138bc75d-0d04-0410-961f-82ee72b054a4
* * parse.h (BUILD_APPEND): If ARG is a non-String object reference,tromey1999-01-293-7/+19
| | | | | | | then cast it to Object before calling `append' method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24907 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (recombine_givs): Don't try to derive givs that have combined.amylaar1999-01-292-7/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24906 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,ghazi1999-01-294-7/+16
| | | | | | | | | when declaring arguments and calling va_arg() to initialize them. * collect2.c (notice): Likewise. * loop.c (find_life_end): Use PROTO() macro in the prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24905 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (error): Fix typo in declaration.ghazi1999-01-296-5/+18
| | | | | | | | | | | * cpperror.c (cpp_message): Likewise. * cpplib.c (cpp_warning): Likewise. * cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add ATTRIBUTE_PRINTF_1. * toplev.c (error): Fix typo in declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24904 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (strength_reduce): Fix HAVE_cc0 handling when scanningamylaar1999-01-292-3/+7
| | | | | | | forward from cont dominator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24903 138bc75d-0d04-0410-961f-82ee72b054a4
* * cccp.c (eprint_string): Constify a char*.ghazi1999-01-292-64/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (notice): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1. (vnotice): Constify a char*. (error): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1. (verror): Constify a char*. (warning): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1. (vwarning): Constify a char*. (error_with_line): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_2. (verror_with_line): Constify a char*. (vwarning_with_line): Likewise. (warning_with_line): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_2. (pedwarn): Constify a char*. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1. (pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2. (pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4. Also correct typo in parameter name declaration. (make_assertion): Constify a char*. (quote_string_for_make): Likewise. (deps_output): Likewise. (fatal): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1. Use ATTRIBUTE_NORETURN not an explicit "__attribute__ ((noreturn))". (fancy_abort): Likewise for ATTRIBUTE_NORETURN. (pfatal_with_name): Likewise. (pipe_closed): Likewise. (memory_full): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24902 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-01-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24901 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-01-282-2/+14
| | | | | | | | | * check-init.c (check_bool2_init, check_bool_init, check_init): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. * jcf-write.c (generate_bytecode_insns): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24900 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-01-281-0/+3
| | | | | | | | | * check-init.c (check_bool2_init, check_bool_init, check_init): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. * jcf-write.c (generate_bytecode_insns): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24899 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (strength_reduce): Grow set_in_loop / n_times_set /amylaar1999-01-282-4/+30
| | | | | | | | | | may_not_optimize to proper size when converting biv increments into givs. If necessary, reallocate reg_iv_type / reg_iv_info before calling recombine_givs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24898 138bc75d-0d04-0410-961f-82ee72b054a4
* add new testmeissner1999-01-282-0/+54
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24897 138bc75d-0d04-0410-961f-82ee72b054a4
* Happy new year.amylaar1999-01-282-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24896 138bc75d-0d04-0410-961f-82ee72b054a4
* * loop.c (recombine_givs): New parameter unroll_p. If set, don'tamylaar1999-01-282-5/+23
| | | | | | | | | generate complex adds. Changed caller. Don't generate adds that cost more than the original one. (strength_reduce): Warning fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24895 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (struct tree_binding): Replace scope field with a union.jason1999-01-283-3/+12
| | | | | | | | (BINDING_SCOPE): Adjust. * decl.c (BINDING_LEVEL): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24894 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (hppa1.0-hp-hpux10*): Use t-pa.law1999-01-283-92/+99
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24892 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-01-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24891 138bc75d-0d04-0410-961f-82ee72b054a4
* Move `normal_memory_operand' from gcc2 merge into the operandrth1999-01-271-11/+11
| | | | | | | predicates section of the file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24890 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.h (insn_first_p): Declare.amylaar1999-01-277-94/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rtlanal.c (insn_first_p): New function. * loop.h (varray.h): Include. (struct induction): Change combined_with to unsigned. New members derived, ix and last_use. (reg_iv_type, reg_iv_info): Now varray_type. All references changed. (REG_IV_TYPE, REG_IV_INFO): Define. (first_increment_giv, last_increment_giv): Declare. * loop.c (loop_number_loop_cont): New static variable. (loop_number_cont_dominator): Likewise. (reg_iv_type, reg_iv_info): Now varray_type. (first_increment_giv, last_increment_giv): New variables. (compute_luids, verify_dominator, find_life_end): New functions. (cmp_recombine_givs_stats, recombine_givs): Likewise. (loop_optimize): Allocate loop_number_loop_cont and loop_number_cont_dominator. Use compute_luids. (find_and_verify_loops): Initialize loop_number_loop_cont and loop_number_cont_dominator. (strength_reduce): Try to find bivs that can be expressed as givs of another biv, and to convert biv increments into givs. Call recombine_givs. Handle derived givs. (record_biv): New argument location. All callers changed. (record_giv): Initialize derived and last_use fields. (basic_induction_var): New argument location. All callers changed. (combine_givs): Don't combine a DEST_REG giv with a DEST_ADDR giv. Increment combined_with instead of setting to 1. * unroll.c (derived_regs): New static variable. (unroll_loop): Initialize it. Allocate local_regno according to max_reg_num. (copy_loop_body): Cope with derived givs. (find_splittable_givs): Check for Givs made from biv increments. Set derived_regs for givs. * Makefile.in (stmt.o, loop.o, unroll.o): Depend on loop.h . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24889 138bc75d-0d04-0410-961f-82ee72b054a4
* Add new testmeissner1999-01-272-1/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24888 138bc75d-0d04-0410-961f-82ee72b054a4
* * function.c (purge_addressof_1): Handle case when a registeramylaar1999-01-272-1/+19
| | | | | | | has been used in a wider mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24887 138bc75d-0d04-0410-961f-82ee72b054a4
* Add new testmeissner1999-01-272-0/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24886 138bc75d-0d04-0410-961f-82ee72b054a4
* Wed Jan 27 11:58:18 1999 Dave Brolley <brolley@cygnus.com>brolley1999-01-272-0/+5
| | | | | | | * cpplib.h (cpp_notice): Add prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24884 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove trigraph in commentzack1999-01-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24881 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog forlaw1999-01-2773-2258/+6011
| | | | | | | details. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24879 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.rth1999-01-273-5/+8
| | | | | | | * rs6000.md (movsi, movdi): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24877 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-01-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24876 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (instantiate_class_template): Set up the DECL_INITIAL ofjason1999-01-263-1/+11
| | | | | | | | | | | member constants. g++.ns/template6.C * init.c (expand_member_init): Pull out TYPE_MAIN_VARIANT in a ctor initializer. g++.other/typedef6.C git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24875 138bc75d-0d04-0410-961f-82ee72b054a4
* tweak formattingjason1999-01-261-17/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24874 138bc75d-0d04-0410-961f-82ee72b054a4
* add commentsjason1999-01-261-1/+58
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24873 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix i960 build failure with unrecognizable insn.wilson1999-01-262-2/+14
| | | | | | | | * function.c (expand_function_end): Pass arg_pointer_save_area to validize_mem before using it. Emit code into a sequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24872 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.md (doz + set cr and or + set cr patterns): Add missingdje1999-01-262-44/+51
| | | | | | | '#' to split patterns. Correct indentation of some new patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24871 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-01-26 12:11 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>brolley1999-01-264-133/+293
| | | | | | | | | | | | | | | | | | | | | | | | * cppfiles.c (safe_read): Deleted. (read_and_prescan): New function, replaces safe_read, converts and/or warns about trigraphs, silently converts odd line terminators (\r, \n\r, \r\n). Warns about no newline at EOF. (finclude): Use read_and_prescan; turn off nonblocking mode on the input descriptor; remove file-size-examination and no-newline-at-EOF gunk which is longer necessary; be more careful about checking that we've been handed a legitimate file to read (only real files, pipes, and ttys are acceptable). * cpplib.h (cpp_options): Rename no_trigraphs flag to `trigraphs' and invert its sense. (trigraph_table): Declare. (cpp_warning_with_line): Prototype. * cpplib.c: Remove all references to trigraph_pcp. Define trigraph_table; initialize it in initialize_char_syntax. Open files in nonblocking mode. s/no_trigraphs/trigraphs/ throughout, and invert sense. Put cpp_warning_with_line back in and export it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24870 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (equal_functions): Fix name in prototype.jason1999-01-265-15/+26
| | | | | | | | | | | * decl.c (push_local_binding): Add FLAGS argument. (pushdecl, push_overloaded_decl): Pass it. * decl2.c (do_local_using_decl): Likewise. * cp-tree.h: Adjust prototype. * decl.c (poplevel): Fix logic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24869 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Jan 26 23:21:49 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>m.hayes1999-01-263-9/+29
| | | | | | | | | | | | * config/c4x/c4x.h (COUNTER_REGS): New register class. * config/c4x/c4x.md (*rptb_init): Change constraints. (rptb_end): Emit alternate looping instructions if RC register not allocated for loop counter. (decrement_and_branch_on_count): Allow other registers for loop counter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24868 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.jason1999-01-263-15/+34
| | | | | | | | | | (poplevel): Handle that. Fix logic for removing TREE_LISTs. (cat_namespace_levels): Don't loop forever. Fixes 733Y14. * typeck.c (build_reinterpret_cast): Fix typo in duplicated test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24867 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-01-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24866 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (resolve_address_of_overloaded_function): Mark thejason1999-01-257-21/+41
| | | | | | | | | | | | | | | | | chosen function used. * call.c (build_call): Make sure that a function coming in has been marked used already. * decl.c (expand_static_init): Call mark_used instead of assemble_external. * except.c (call_eh_info, do_pop_exception, expand_end_eh_spec, alloc_eh_object, expand_throw): Likewise. * init.c (build_builtin_delete_call): Likewise. * rtti.c (call_void_fn, get_tinfo_fn, build_dynamic_cast_1, expand_si_desc, expand_class_desc, expand_ptr_desc, expand_attr_desc, expand_generic_desc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24862 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (equal_functions): New function.loewis1999-01-252-2/+22
| | | | | | | (ovl_member): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24861 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-01-25 14:26 -0500 Zack Weinberg <zack@rabi.columbia.edu>brolley1999-01-252-212/+229
| | | | | | | | | | | | | | | | | | * cppexp.c: (struct arglist): Removed. (parse_number): Use HOST_WIDE_INT for the accumulator. Allow two `l' suffixes unless C89. Clean up. Make static. (parse_charconst): New function broken out of cpp_lex. Code cleaned up drastically. Don't use a token_buffer. (token_buffer): Removed. (cpp_lex): Don't call parse_number on a constant string. Use parse_charconst. (cpp_parse_expr): Properly handle an ERROR op returned by cpp_lex. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24859 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-01-25 14:10 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>brolley1999-01-252-55/+46
| | | | | | | | | | | | | | * cpplib.c: Don't include signal.h, sys/times.h, or sys/resource.h. Don't declare localtime. (macroexpand): Handle special symbols here. (push_macro_expansion): Chop off the trailing '@ ' if possible here. (cpp_get_token): Don't do either of the above two things here. Move `string' label just after case '"' so that wide strings don't crash the preprocessor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24858 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Jan 25 17:39:19 1999 Andrew Haley <aph@cygnus.com>aph1999-01-254-10/+18
| | | | | | | | | | * except.c, java-except.h (expand_resume_after_catch): new function. * expr.c (java_lang_expand_expr): call expand_resume_after_catch to branch back to main flow of control after a catch block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24857 138bc75d-0d04-0410-961f-82ee72b054a4
* New test case.loewis1999-01-251-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24854 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-01-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24853 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixup changelog commentmeissner1999-01-241-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24852 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix problems found by David Edelsohn I causedmeissner1999-01-242-16/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24851 138bc75d-0d04-0410-961f-82ee72b054a4
* * cvt.c (cp_convert_to_pointer): Fix conversion of 0 to pmf.jason1999-01-242-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24850 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud