summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Initial revisionlaw1998-04-271-0/+105
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19439 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionlaw1998-04-271-0/+70
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19438 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for x86 FP problem.wilson1998-04-272-23/+28
| | | | | | | | * reg-stack.c: Revert last patch (Apr 20). (convert_regs): Set insn to PREV_INSN (next) after do while loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19437 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix coldfire addsf3 bug, bug and patch from David Fiddes.wilson1998-04-272-2/+4
| | | | | | | * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19436 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix hppa miscompilation bug reported by Manfred Hollstein.wilson1998-04-272-6/+28
| | | | | | | | | | | * loop.c (check_dbra_loop): New locals jump, first_compare, and compare_and_branch. Call get_condition to set first_compare. Set compare_and_branch to number of compare/branch instructions. Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare. Replace '2' with compare_and_branch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19435 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (maybe_push_to_top_level): Always clearmmitchel1998-04-272-29/+21
| | | | | | | | | current_template_parms and processing_template_decl. (pushtag): Remove check of current_class_type and some comments, since maybe_push_to_top_level no longer creates confusion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19434 138bc75d-0d04-0410-961f-82ee72b054a4
* cplus-dem.c (demangle_qualified): Add a missing else which causedamacleod1998-04-272-1/+5
| | | | | | | qualified names with temp,lates to be demangled improperly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19433 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.amylaar1998-04-272-2/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19432 138bc75d-0d04-0410-961f-82ee72b054a4
* Comment about fix.fx1998-04-271-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19431 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.c (sh_expand_prologue, sh_expand_epilogue):amylaar1998-04-274-6/+28
| | | | | | | | If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment. * sh.h (STACK_BOUNDARY): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19430 138bc75d-0d04-0410-961f-82ee72b054a4
* updatejason1998-04-271-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19428 138bc75d-0d04-0410-961f-82ee72b054a4
* New test.fx1998-04-271-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19426 138bc75d-0d04-0410-961f-82ee72b054a4
* * g77.f-torture/compile/980427-0.f: New test.fx1998-04-271-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19425 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.amylaar1998-04-272-0/+64
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19424 138bc75d-0d04-0410-961f-82ee72b054a4
* Redefine abort to report linenumber and filename of the errormeissner1998-04-273-0/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19423 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix a warningmeissner1998-04-272-3/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19422 138bc75d-0d04-0410-961f-82ee72b054a4
* Make args to jump_optimize symbolicmeissner1998-04-273-6/+29
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19421 138bc75d-0d04-0410-961f-82ee72b054a4
* * alpha.h (CONST_COSTS): Zero is always free.rth1998-04-262-3/+44
| | | | | | | (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19420 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.mmitchel1998-04-2615-409/+778
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (DECL_CLASS_TEMPLATE_P): Likewise. (DECL_PRIMARY_TEMPLATE): Likewise. (PRIMARY_TEMPLATE_P): Use it. (push_template_decl_real): New function. (redeclare_class_template): Take new template parameters as input. (is_specialization_of): New function. (comp_template_args): Declare. * decl.c (pushtag): Handle friend template classes. (xref_tag): Likewise. Use new calling convention for redeclare_class_template. * decl2.c (grok_x_components): Handle friend templates. * friend.c (is_friend): Use is_specialization_of where appropriate. Deal with friend class templates. (make_friend_class): Let a class template be friends with itself. * pt.c (comp_template_args): Remove declaration. (tsubst_friend_class): New function. (push_template_decl_real): New function. (push_template_decl): Use it. (redeclare_class_template): Adjust for new calling convention. (comp_template_args): Give it external linkage. (instantiate_class_type): Use tsubst_friend_class to deal with friend templates. * typeck.c (comptypes): Use comp_template_args, rather than expanding it inline. * parse.y (component_decl): Handle a nested template type like other component type declarations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19418 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (gnu_special): Fix off-by-one bug when checking thejason1998-04-262-1/+6
| | | | | | | length in the name of a virtual table. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19417 138bc75d-0d04-0410-961f-82ee72b054a4
* newjason1998-04-261-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19416 138bc75d-0d04-0410-961f-82ee72b054a4
* * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.rth1998-04-262-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19415 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (mabybe_get_template_decl_from_type_decl): New function.mmitchel1998-04-263-3/+37
| | | | | | | (lookup_template_class): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19414 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (check_explicit_specialization): Handle overloadedmmitchel1998-04-263-5/+18
| | | | | | | constructors correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19413 138bc75d-0d04-0410-961f-82ee72b054a4
* Duh, remove the mail header before comitting, please.rth1998-04-261-24/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19412 138bc75d-0d04-0410-961f-82ee72b054a4
* Bump for snapshotlaw1998-04-252-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19410 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_convert): Fix typo.law1998-04-252-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19409 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c (alias_invariant): New variable.jfc1998-04-255-36/+96
| | | | | | | | | | | | | (record_base_value): New argument INVARIANT. (memrefs_conflict_p): If a register has an entry in the alias_invariant array, try substituting that value for the register. * rtl.h: Declare record_base_value. * loop.c, unroll.c: Update callers of record_base_value. * alias.c (find_base_value, find_base_term): SIGN_EXTEND and ZERO_EXTEND do not affect base values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19408 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c (dbxout_type): Fix typo.law1998-04-242-5/+15
| | | | | | | (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19407 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Use CC_FOR_BUILD, not BUILD_CC.law1998-04-243-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19406 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_Pjfc1998-04-243-2/+15
| | | | | | | | if the argument is the address of a structure or array. * configure.in: Enable Haifa scheduler by default for SPARC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19405 138bc75d-0d04-0410-961f-82ee72b054a4
* * cse.c (cse_set_around_loop): Don't do optimization whenamylaar1998-04-242-3/+23
| | | | | | | new pseudos are created. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19404 138bc75d-0d04-0410-961f-82ee72b054a4
* New test from Joern.law1998-04-241-0/+46
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19403 138bc75d-0d04-0410-961f-82ee72b054a4
* dlaw1998-04-241-25/+58
| | | | | | | | | | | | * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC appropriately. (dbxout_type_method_1, dbxout_type): Likewise. (print_int_cst_octal, print_octal, dbxout_symbol): Likewise. (dbxout_type): Fix check for when to print a type range in octal vs decimal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19402 138bc75d-0d04-0410-961f-82ee72b054a4
* law1998-04-241-0/+9
| | | | | | | | | | | | * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC appropriately. (dbxout_type_method_1, dbxout_type): Likewise. (print_int_cst_octal, print_octal, dbxout_symbol): Likewise. (dbxout_type): Fix check for when to print a type range in octal vs decimal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19401 138bc75d-0d04-0410-961f-82ee72b054a4
* * (gen_shl_and, in case 1): Fix comparison with mask.amylaar1998-04-242-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19400 138bc75d-0d04-0410-961f-82ee72b054a4
* * g77.f-torture/compile/980424-0.f: New test.fx1998-04-241-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19399 138bc75d-0d04-0410-961f-82ee72b054a4
* New test.fx1998-04-241-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19398 138bc75d-0d04-0410-961f-82ee72b054a4
* Disallow frame pointer as second register in REG+REG pair.nickc1998-04-242-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19397 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix a typo:ghazi1998-04-242-1/+6
| | | | | | | | * c-common.c (check_format_info): Don't check for the 'x' format character twice, instead check for 'x' and 'X' git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19396 138bc75d-0d04-0410-961f-82ee72b054a4
* dmanfred1998-04-231-1/+1
| | | | | | | | | * Makefile.in (libgcc2.ready): Add explicit dependancy from $(STMP_FIXPROTO) to ensure all necessary include files have been created and to guarantee proper parallel builds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19395 138bc75d-0d04-0410-961f-82ee72b054a4
* manfred1998-04-231-0/+6
| | | | | | | | | * Makefile.in (libgcc2.ready): Add explicit dependancy from $(STMP_FIXPROTO) to ensure all necessary include files have been created and to guarantee proper parallel builds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19394 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.def: Add WRAPPER. USER_CONV now only has two ops.jason1998-04-236-75/+174
| | | | | | | | | | | | | | | | | | | | | * cp-tree.h: Add WRAPPER support. * call.c (add_candidate): Split out from add_*_candidate fns. (build_over_call): Take the candidate instead of function and args. Enforce access control here. Emit overload warnings here. (add_warning): New fn. (joust): Add WARN parm. If not set, call add_warning instead of printing a warning. Reenable some warnings. (tourney): Pass it. (convert_like): Adjust. (build_new_op): Adjust. (build_new_function_call): Adjust. (build_user_type_conversion_1): Adjust. (USER_CONV_FN): Adjust. * tree.c (build_expr_wrapper, build_expr_ptr_wrapper, build_int_wrapper): New fns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19393 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for execute/980205.c failure on SH[123].amylaar1998-04-233-5/+13
| | | | | | | | | | * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra register for stdarg functions. * sh.h (current_function_varargs): Declare. (FUNCTION_ARG): Ignore NAMED for stdarg functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19391 138bc75d-0d04-0410-961f-82ee72b054a4
* Partial fix for problem reported by Don Bowman.wilson1998-04-233-0/+15
| | | | | | | | * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when inhibit_libc is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19390 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix macro usage error found by Martin von Loewis's checking patch.wilson1998-04-232-1/+6
| | | | | | | * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19389 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix gcov mips switch table interaction bug reported to bug-gcc.wilson1998-04-232-3/+47
| | | | | | | | | * profile.c (tablejump_entry_p): New function. (branch_prob): Add code to recognize MIPS tablejump entry branch. Use tablejump_entry_p in MIPS and HPPA tablejump checking code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19388 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (unify): Fix typo in previous change.mmitchel1998-04-232-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19387 138bc75d-0d04-0410-961f-82ee72b054a4
* find_barrier(): Return as soon as a BARRIER insn is found.nickc1998-04-232-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19386 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.amylaar1998-04-233-61/+16
| | | | | | | * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19385 138bc75d-0d04-0410-961f-82ee72b054a4