aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1997-12-20bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.Kaveh R. Ghazi24-69/+211
* bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration. * c-decl.c (finish_decl): Use parentheses around && within ||. * rtl.c: Include stdlib.h. (read_skip_spaces): Add parentheses around assignments used as truth values. (read_rtx): Initialize list_rtx. * cppexp.c (parse_number): Use || when operands are truth values. * alias.c (find_base_value): Add default case. (memrefs_conflict): Likewise. * combine.c (sets_function_arg_p): Likewise. * genemit.c (gen_exp): Likewise. * local-alloc.c (contains_replace_regs): Likewise. * rtlanal.c (jmp_uses_reg_or_mem): Likewise. * fold-const.c (fold_convert): Use "&&" for truth values. (fold): Add default case. * sdbout.c (sdbout_field_types): Fix typo in declaration. (sdbout_one_type): Add default case. * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS. (some_operand): Add default case. (input_operand): Likewise. (signed_comparison_operator): Likewise. (divmod_operator): Likewise. (alpha_set_memflags_1): Likewise. * reload1.c (reload_cse_simplify_operands): Ensure function always returns a value. * scan-decls.c (scan_decls): Likewise. * c-lex.c (skip_white_space): Fix typo in declaraion. * c-typeck.c (comp_target_types): Add parentheses around assignment used as truth value. (print_spelling): Likewise. (constructor_implicit, constructor_result): Remove unused variables. * collect2.c (scan_library): Protect prototype with #ifdef SCAN_LIBRARIES. * emit-rtl.c (find_line_note): Fix typo in declaration. * final.c (asm_insn_count): Protect prototype with #ifdef HAVE_ATTR_length. * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC. (try_pre_increment_1, try_pre_increment): Likewise. * regclass.c (auto_inc_dec_reg_p): Protect prototype with #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit. * gcov-io.h (__store_long, __write_long, __read_long): Fix unsigned/signed comparisons. * gcov.c (read_files): Remove unused "first_type" variable. (scan _for_source_files): Initialize s_ptr. (function_summary): Eliminate "%lf" formatting, use %ld for longs. (output_data): Initialize branch_probs and last_line_num. Eliminate "%lf" formatting, use "%ld" for longs. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r17158
1997-12-19* mips16.S: New file.Ian Lance Taylor2-0/+689
From-SVN: r17157
1997-12-19*** empty log message ***Jeff Law1-0/+3
From-SVN: r17156
1997-12-19expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.Ian Lance Taylor36-294/+250
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression. * stmt.c (expand_end_case): Likewise. * alpha.h (CASE_VECTOR_PC_RELATIVE): Update. * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise. * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise. From-SVN: r17155
1997-12-19*** empty log message ***Jeff Law1-3/+3
From-SVN: r17154
1997-12-18tweakJason Merrill1-1/+1
From-SVN: r17144
1997-12-18Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory.Andreas Schwab2-8/+19
* objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory. (libobjc.a): Update dependency list. (libobjc.dll): Likewise. Use libobjc_entry.o from the build directory. (objc/sendmsg.o): Add -Iobjc to find runtime-info.h. (objc.mostlyclean): Remove runtime-info.h. From-SVN: r17143
1997-12-18tree.c (build_range_type): Allow creation of ranges with no maximum.Richard Henderson8-25/+89
* tree.c (build_range_type): Allow creation of ranges with no maximum. * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE. * dwarf2out.c (add_subscript_info): Likewise. * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise. * sdbout.c (plain_type_1): Likewise. * stmt.c (pushcase_range, all_cases_count, node_has_high_bound): Likewise. * fold-const.c (int_const_binop, fold_convert, make_range, fold): Likewise. From-SVN: r17142
1997-12-18* com.c (ffecom_sym_transform_): Assumed arrays have no upper bound.Richard Henderson2-10/+18
From-SVN: r17141
1997-12-18* mips.c (fatal): Remove declaration.Jeff Law2-1/+15
From-SVN: r17140
1997-12-18integrate.c (get_label_from_map): New function.Jeff Law3-21/+60
* integrate.c (get_label_from_map): New function. (expand_inline_function): Use it. Initialize the label_map to NULL_RTX instead of gen_label_rtx. (copy_rtx_and_substitute): Use get_label_from_map. * integrate.h (get_label_from_map): New function. (set_label_from_map): New macro. * unroll.c (unroll_loop): Use them. (copy_loop_body): Ditto. From-SVN: r17139
1997-12-18pt.c (coerce_template_parms): Make sure to digest_init if possible.Mark Mitchell2-1/+7
* pt.c (coerce_template_parms): Make sure to digest_init if possible. From-SVN: r17138
1997-12-18mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.Ian Lance Taylor5-11/+49
* mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined. (INIT_TARGET_OPTABS): Define. * mips/ecoff.h: Include gofast.h before mips.h. (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS. * mips/elf64.h: Likewise. * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define. From-SVN: r17137
1997-12-18unroll.c (calculate_giv_inc): Handle constant increment found in a MEM with ↵Gavin Koch2-0/+13
an appropriate REG_EQUAL note. * unroll.c (calculate_giv_inc): Handle constant increment found in a MEM with an appropriate REG_EQUAL note. From-SVN: r17136
1997-12-18decl.c (duplicate_decls): Make the newdecl virtual if the olddecl was...Mark Mitchell2-0/+6
* decl.c (duplicate_decls): Make the newdecl virtual if the olddecl was, just as is done with other attributes of olddecl. From-SVN: r17135
1997-12-18typeck.c (unary_complex_lvalue): Ignore op0 when taking the address of an ↵Jason Merrill2-10/+4
OFFSET_REF. * typeck.c (unary_complex_lvalue): Ignore op0 when taking the address of an OFFSET_REF. From-SVN: r17134
1997-12-18* calls.c (expand_call): Implement LOAD_ARGS_REVERSED.Gavin Koch3-0/+14
From-SVN: r17133
1997-12-18except.c: Remove register_exception_table{,_p}.Jason Merrill9-124/+55
* except.c: Remove register_exception_table{,_p}. * decl2.c (finish_file): Remove call to register_exception_table. * cp-tree.def: Add AGGR_INIT_EXPR. * error.c, tree.c, typeck.c: Replace uses of NEW_EXPR with AGGR_INIT_EXPR where appropriate. * expr.c (cplus_expand_expr): Likewise. Simplify. From-SVN: r17132
1997-12-18dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer ↵Gavin Koch1-0/+33
in the prologue. / * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue. From-SVN: r17131
1997-12-18dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer ↵Gavin Koch1-0/+5
in the prologue. * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue. From-SVN: r17130
1997-12-18*** empty log message ***Benjamin Kosnik2-0/+161
From-SVN: r17129
1997-12-18c++: Don't inject friends while processing templatesBenjamin Kosnik2-9/+19
* pt.c (instantiate_class_template): Don't do injection when processing_template_decl is true, as pollutes current_binding_level for base classes. PR g++/13911/14438 From-SVN: r17128
1997-12-18* x-sco5 (CLIB) Deleted. (ALLOCA) Added.Robert Lipe3-1/+13
* xm-sco5.h (USE_C_ALLOCA) Added. From-SVN: r17127
1997-12-17* pt.c (maybe_fold_nontype_arg): Add prototype.Peter Schmid2-0/+5
From-SVN: r17126
1997-12-17Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files.Bill Moyer3-5/+13
From-SVN: r17125
1997-12-17sparc.md (jump): Don't use the annul bit around an empty loop.Richard Henderson2-1/+20
* sparc.md (jump): Don't use the annul bit around an empty loop. Patch from Kevin.Kelly@East.Sun.COM. From-SVN: r17124
1997-12-16jump.c: (optimize_jump): Don't use the return register as a source1 of a ↵Stan Cox2-0/+9
conditional move. * jump.c: (optimize_jump): Don't use the return register as a source1 of a conditional move. From-SVN: r17123
1997-12-16sparc.c (DF_MODES): Or the mask not the bit number.Richard Henderson2-4/+9
* sparc.c (DF_MODES): Or the mask not the bit number. (function_arg) [ARCH64]: Send unprototyped arg to fp reg first. From-SVN: r17122
1997-12-16* combine.c (force_to_mode): return immediately if operand is a CLOBBER.Christian Iseli2-2/+9
From-SVN: r17121
1997-12-16fixincludes (size_t): Add support for Motorola's stdlib.h which fails to ↵Manfred Hollstein2-3/+20
provide a definition for size_t. * fixincludes (size_t): Add support for Motorola's stdlib.h which fails to provide a definition for size_t. (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3. (strlen,strspn,strcspn return value): Handle different layout on sysV88. (hypot): Provide a fake for hypot for m88k-motorola-sysv3. Fixes from Manfred. From-SVN: r17120
1997-12-16profile1.C (XFAIL): Expect it to fail on m68k-motorola-sysv and ↵Jeff Law3-1/+19
m88k-motorola-sysv3. * g++.old-deja/g++.law/profile1.C (XFAIL): Expect it to fail on m68k-motorola-sysv and m88k-motorola-sysv3. * gcc.c-torture/execute/loop-2e.cexp: New file to indicate expected compile failures on m68k-motorola-sysv and m88k-motorola-sysv3. * gcc.c-torture/execute/loop-2f.cexp: Likewise. From-SVN: r17119
1997-12-16xm-mot3300.h (ADD_MISSING_POSIX, [...]): Define to prevent unresolved ↵Manfred Hollstein3-0/+14
externals in libio. * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to prevent unresolved externals in libio. * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise. From-SVN: r17118
1997-12-16linux64.h (LIBGCC_SPEC): Removed.H.J. Lu2-9/+10
* config/sparc/linux64.h (LIBGCC_SPEC): Removed. (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}. (LIB_SPEC): Updated for glibc 2. From-SVN: r17117
1997-12-16stdarg.h: Undo BeOS changes, they break hpux.Jeffrey A Law3-13/+7
* ginclude/stdarg.h: Undo BeOS changes, they break hpux. * ginclude/varargs.h: Likewise. From-SVN: r17116
1997-12-16tree.c (mapcar): Handle TRY_CATCH_EXPR et al.Jason Merrill3-0/+14
* tree.c (mapcar): Handle TRY_CATCH_EXPR et al. * error.c (dump_expr): Likewise. From-SVN: r17115
1997-12-15frame.h (__register_frame, [...]): New.Jeff Law4-6/+40
* frame.h (__register_frame, __register_frame_table, __deregister_frame): New. * frame.c (__register_frame, __register_frame_table, __deregister_frame): New. * frame.c (__deregister_frame_info): Return void *. * frame.h (__deregister_frame_info): Ditto. * collect2.c (__deregister_frame_info): Ditto. From-SVN: r17113
1997-12-15* version.c: Bump for snapshot.Jeffrey A Law2-1/+5
From-SVN: r17112
1997-12-15updateJason Merrill1-81/+172
From-SVN: r17110
1997-12-15typeck.c (build_function_call_real): Remove "inline called before ↵Jason Merrill3-9/+9
definition" pedwarn. * typeck.c (build_function_call_real): Remove "inline called before definition" pedwarn. * pt.c (coerce_template_parms): Use maybe_fold_nontype_arg. From-SVN: r17109
1997-12-15Missed this from the -mmemory-latency commit.Richard Henderson1-1/+25
From-SVN: r17108
1997-12-15* expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.Richard Henderson2-5/+14
From-SVN: r17107
1997-12-15alpha.c (alpha_cpu_name): New variable.Richard Henderson4-9/+95
* alpha.c (alpha_cpu_name): New variable. (alpha_mlat_string): Likewise. (alpha_memory_latency): Likewise. (override_options): Handle -mmemory-latency. (alpha_adjust_cost): Adjust load cost for latency. * alpha.h (TARGET_OPTIONS): Add meory-latency. (REGISTER_MOVE_COST): Define in terms of memory_latency. Take TARGET_CIX into account. (MEMORY_MOVE_COST): Define in terms of memory_latency. * invoke.texi (DEC Alpha Options): Document -mmemory-latency. * alpha.h (ASM_COMMENT_START): New macro. From-SVN: r17106
1997-12-15reload.h, [...]: Revert March 15 change.Richard Henderson9-79/+83
* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c, dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change. * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the SUBREG_REG if the word count is unchanged. * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve subregs of identical word size for push_reload. From-SVN: r17105
1997-12-15toplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're ↵Mark Mitchell2-24/+42
doing is dealing with -Wreturn-type. * toplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're doing is dealing with -Wreturn-type. From-SVN: r17104
1997-12-15alpha.md (zero_extendqihi2, [...]): Use and 255 instead of zapnot 1, since ↵Richard Henderson2-10/+15
it schedules better. * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2): Use and 255 instead of zapnot 1, since it schedules better. From-SVN: r17103
1997-12-15* com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.Richard Henderson2-1/+5
From-SVN: r17102
1997-12-15stmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as ↵Jeffrey A Law2-0/+9
volatile. * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile. From-SVN: r17100
1997-12-15cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.Jason Merrill3-2/+23
* cvt.c (cp_convert_to_pointer): Fix base conversion of pm's. * pt.c (type_unification_real): Change __null to type void* with a warning. From-SVN: r17098
1997-12-15Bring over changes from latest gcc-2.8 pre-release.Jeff Law18-46/+118
Mirror sched.c change into haifa-sched.c From-SVN: r17097
1997-12-14Change from latest gcc-2.8 prereleaseJeff Law1-0/+7
From-SVN: r17096