aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-01-21Typo fix.Joern Rennecke1-1/+1
From-SVN: r31548
2000-01-21Daily bump.Jeff Law2-2/+2
From-SVN: r31547
2000-01-20* jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.Richard Henderson2-3/+7
From-SVN: r31546
2000-01-20* gcc.c-torture/execute/20000120-2.c: New test.Jeffrey A Law2-0/+19
From-SVN: r31545
2000-01-20* gcc.c-torture/execute/20000120-1.c: New test.Jeffrey A Law2-0/+17
From-SVN: r31544
2000-01-20Fix typo in last commitZack Weinberg1-2/+0
From-SVN: r31543
2000-01-20Makefile.in (fixinc.sh): Depend on specs.Zack Weinberg13-203/+279
* Makefile.in (fixinc.sh): Depend on specs. * fixinc/Makefile.in: Add rule to create machname.h. (fixlib.o): Depend on machname.h. * fixinc/fixtests.c (machine_name): New test. * fixinc/fixfixes.c (machine_name): New fix. * fixinc/fixlib.c (mn_get_regexps): New helper function for the machine_name test and fix. * fixinc/fixlib.h: Prototype it. * fixinc/inclhack.def (machine_name): Use the C test and fix. * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild. * gcc.c (do_spec_1) [case P]: Take care not to create identifiers with three leading or trailing underscores. * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC. (fixincl): Don't specify libraries twice on link line. (gnu-regex.o): Remove special rule. * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was defined by config.h. Do not define _REGEX_RE_COMP. (regcomp): Allocate and initialize a fastmap. * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP. From-SVN: r31542
2000-01-20* Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.Brad Lucier2-1/+5
From-SVN: r31540
2000-01-20Remap dynamic cast hint values to be consistent across ABIs.Nathan Sidwell5-23/+37
* search.c (dynamic_cast_base_recurse): Remap generated value. (get_dynamic_cast_base_type): Adjust documentation. * tinfo.h (__user_type_info::dyncast): Likewise. (__user_type_info::find_public_subobj): Remap BOFF meaning. * tinfo.cc (__si_type_info::do_dyncast): Remap BOFF meaning. (__class_type_info::do_dyncast): Likewise. (__class_type_info::do_find_public_subobj): Likewise. * tinfo2.cc (__dynamic_cast): Remap BOFF parameter. From-SVN: r31538
2000-01-20typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn.Gabriel Dos Reis3-8/+15
2000-01-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * typeck.c (build_unary_op): Use cp_pedwarn, not pedwarn. * typeck2.c (incomplete_type_error): Restore previous cp_error and cp_error_at call sequence. From-SVN: r31537
2000-01-20Daily bump.Jeff Law2-2/+2
From-SVN: r31536
2000-01-20class.c (dump_class_hierarchy): Make format agree with argument; cast ↵Brad Lucier2-2/+7
pointer to unsigned long and print with %lx. * class.c (dump_class_hierarchy): Make format agree with argument; cast pointer to unsigned long and print with %lx. From-SVN: r31535
2000-01-19flow.c (propagate_block): Replace FIRST, LAST and BNUM arguments with BB.Richard Henderson2-25/+28
* flow.c (propagate_block): Replace FIRST, LAST and BNUM arguments with BB. Update all callers. Tidy line wrapping. From-SVN: r31534
2000-01-19emit-rtl.c (try_split): Return last_insn if we split the last_insn.Clinton Popetz2-1/+8
* emit-rtl.c (try_split): Return last_insn if we split the last_insn. From-SVN: r31530
2000-01-20i386-protos.h (ix86_compute_frame_size): Remove prototype.Jan Hubicka4-100/+173
* i386-protos.h (ix86_compute_frame_size): Remove prototype. (ix86_initial_elimination_offset): Declare. * i386.c (ix86_nsaved_regs): Break out from ... (ix86_can_use_return_insn_p): ... here. (ix86_emit_save_regs): Break out from ... (ix86_expand_prologue): ... here. (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break out from ... (ix86_expand_epilogue): ... here. (ix86_compute_frame_size): Make static, add prototype. (ix86_initial_elimination_offset): Break out from ... * i386.h (INITIAL_ELIMINATION_OFFSET): ... here. From-SVN: r31529
2000-01-19more copyright nitsKaveh Ghazi5-5/+5
From-SVN: r31527
2000-01-19update copyrights in config dir.Kaveh Ghazi6-6/+6
From-SVN: r31526
2000-01-19recog.h (OUT_FCN): Delete.Kaveh R. Ghazi3-7/+9
* recog.h (OUT_FCN): Delete. * vax.md: Call `get_insn_template' instead of OUT_FCN. From-SVN: r31524
2000-01-19cppalloc.c: PROTO -> PARAMS.Kaveh R. Ghazi6-49/+55
* cppalloc.c: PROTO -> PARAMS. * cpperror.c: Likewise. * cppfiles.c: Likewise. * cpplib.c: Likewise. * cpplib.h: Likewise. From-SVN: r31521
2000-01-19arm-protos.h: PROTO -> PARAMS.Kaveh R. Ghazi11-230/+243
* config/arm/arm-protos.h: PROTO -> PARAMS. * config/arm/arm.c: Likewise. * config/c4x/c4x.c: Likewise. * config/fr30/fr30-protos.h: Likewise. * config/nextstep.c: Likewise. * config/pa/pa.c: Likewise. * config/pj/pj.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/v850/v850-protos.h: Likewise. * config/v850/v850.c: Likewise. From-SVN: r31520
2000-01-19i370-protos.h: New file.Kaveh R. Ghazi5-56/+113
* i370-protos.h: New file. * i370.c: Include tm_p.h. Fix compile time warnings. * i370.h: Move prototypes to i370-protos.h. Fix compile time warnings. * i370.md: Likewise. From-SVN: r31519
2000-01-19real.c (enan, [...]): Wrap in NANS.Kaveh R. Ghazi2-11/+42
* real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS. (target_isinf, target_isnan, eisnan): Mark parameter with ATTRIBUTE_UNUSED. (eiisinf): Wrap in INFINITY. (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY. (ibmtoe): Remove unused variable `rndsav'. From-SVN: r31518
2000-01-19Back out prepare_scc_operands changes from this afternoon.J"orn Rennecke2-10/+4
From-SVN: r31515
2000-01-19* sh.c (prepare_scc_operands): Add EQ case.J"orn Rennecke2-0/+6
From-SVN: r31514
2000-01-19sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.J"orn Rennecke2-2/+7
* sh.h (PASS_IN_REG_P): Remove extraneous paranthesis. (GO_IF_LEGITIMATE_ADDRESS): Added missing tab. From-SVN: r31513
2000-01-19Makefile.in: Correct dependencies of fixincl and fixincl.o.Zack Weinberg9-348/+560
* fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o. * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes. (fix_char_macro_defines, fix_char_macro_uses): New functions. * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp. Recognize Emacs mode markers also. * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of C++ comments in C++ headers. Call is_cxx_header only if necessary. * fixinc/inclhack.def (avoid_bool): Add select for the problem and bypass for ncurses. (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with... (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes): ... these, which use the new C fixes. (math_exception): Escape literal '+' in bypass expression. * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate. From-SVN: r31512
2000-01-19rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs inside the MEM.Geoff Keating2-0/+11
* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs inside the MEM. From-SVN: r31509
2000-01-19loop.c (loop_optimize): Allocate loop_info structure for each loop prior to ↵Michael Hayes2-3/+14
calling scan_loop. * loop.c (loop_optimize): Allocate loop_info structure for each loop prior to calling scan_loop. From-SVN: r31508
2000-01-19sh.c (prepare_scc_operands): Abort if no compare insn is available.J"orn Rennecke2-52/+58
* sh.c (prepare_scc_operands): Abort if no compare insn is available. (find_barrier, gen_block_redirect, split_branches): Fix indentation. (calc_live_regs): Likewise. From-SVN: r31507
2000-01-19* sh.md (fpu_single, fp_mode): New attributes.J"orn Rennecke2-36/+93
From-SVN: r31506
2000-01-19decl2.c (lang_decode_option): Set default line-wrap length to 72.Gabriel Dos Reis4-95/+110
2000-01-19 Gabriel Dos Reis <gdr@codesourcery> * decl2.c (lang_decode_option): Set default line-wrap length to 72. * typeck.c (composite_pointer_type, common_type, comp_target_parms, c_sizeof, expr_sizeof, build_array_ref, build_function_call_real, convert_arguments, build_binary_op_nodefault, pointer_int_sum, pointer_diff, build_unary_op, mark_addressable, build_compound_expr, build_static_cast, build_reinterpret_cast, build_const_cast, build_c_cast, build_modify_expr, get_delta_difference, build_ptrmemfunc, check_return_expr): Replace 'ANSI C++' with 'ISO C++'. Fusion consecutive calls to diagnotic message routines into a single one. * typeck2.c (readonly_error, abstract_virtuals_error, process_init_constructor, check_for_new_type): Likewise. From-SVN: r31502
2000-01-19loop.c (current_loop_info): Renamed from loop_info_data and changed to a ↵Michael Hayes1-5/+8
pointer. * loop.c (current_loop_info): Renamed from loop_info_data and changed to a pointer. (loop_optimize): Allocate loop_info structure for each loop and initialise to zero. (scan_loop): Set current_loop_info. * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set on iteration_var. From-SVN: r31501
2000-01-19loop.cMichael Hayes2-4/+19
From-SVN: r31500
2000-01-19stupid.c: Die die die.Richard Henderson18-1025/+120
* stupid.c: Die die die. * Makefile.in (OBJS): Remove stupid.o. (stupid.o): Likewise. * except.c (emit_eh_context): Don't emit USEs for stupid. * explow.c (probe_stack_range): Likewise. * flags.h (obey_regdecls): Remove. * flow.c (find_basic_blocks): Don't run try_merge_blocks when not optimizing. (life_analysis): Limit data collection when not optimizing. (mark_regs_live_at_end): Always mark the return value registers. (mark_used_regs): Remove dummy RETURN case. (print_rtl_with_bb): Don't consult obey_regdecls. * function.c (use_variable, use_variable_after): Remove. (assign_parms): Consult optimize not obey_regdecls. (expand_function_start): Don't emit USEs for stupid. (expand_function_end): Likewise. * global.c (build_insn_chain): Export. * integrate.c (expand_inline_function): Kill return-value USE handling code. * jump.c (jump_optimize_1): Do simple jump optimizations and dead code elimination. (calculate_can_reach_end): Remove check_deleted argument. (delete_insn): Patch out insns even when not optimizing. * local-alloc.c (block_alloc): Don't do tying when not optimizing. * rtl.h (use_variable, use_variable_after): Remove declarations. (build_insn_chain): Declare. * stmt.c (expand_value_return): Don't emit USEs for stupid. (expand_end_bindings): Likewise. (expand_decl): Likewise. Consult optimize not obey_regdecls. * toplev.c (obey_regdecls): Remove. (rest_of_compilation): Don't set it. Kill stupid in favour of flow1, local-alloc, and reload. (main): Don't set obey_regdecls. * config/nextstep.c (handle_pragma): Likewise. * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid. * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid. From-SVN: r31499
2000-01-19tree.c (bot_manip): Set DECL_CONTEXT for newly created VAR_DECLs.Mark Mitchell3-2/+30
* tree.c (bot_manip): Set DECL_CONTEXT for newly created VAR_DECLs. From-SVN: r31498
2000-01-19Daily bump.Jeff Law2-2/+2
From-SVN: r31497
2000-01-18alpha-protos.h: PROTO -> PARAMS.Kaveh R. Ghazi13-352/+367
* alpha-protos.h: PROTO -> PARAMS. * alpha.c: Likewise. * elf.h: Likewise. * h8300.c: Likewise. * i386-protos.h: Likewise. * i386.c: Likewise. * m32r-protos.h: Likewise. * m32r.c: Likewise. * mips.c: Likewise. * mips.md: Likewise. * gmon-sol2.c: Likewise. * sparc.c: Likewise. From-SVN: r31495
2000-01-18ns32k-protos.h: New file.Kaveh R. Ghazi5-71/+104
* ns32k-protos.h: New file. * ns32k.c: Fix compile time warnings. * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time warnings. * ns32k.md: Likewise. From-SVN: r31494
2000-01-18vax-protos.h: New file.Kaveh R. Ghazi6-17/+76
* vax-protos.h: New file. * vax.c: Fix compile time warnings. * vax.h: Move prototypes to vax-protos.h. Fix compile time warnings. * vax.md: Likewise. * vaxv.md: Likewise. From-SVN: r31493
2000-01-18romp-protos.h: New file.Kaveh R. Ghazi5-33/+109
* romp-protos.h: New file. * romp.c: Fix compile time warnings. * romp.h: Move prototypes to romp-protos.h. Fix compile time warnings. * romp.md: Likewise. From-SVN: r31492
2000-01-18we32k-protos.h: New file.Kaveh R. Ghazi4-17/+55
* we32k-protos.h: New file. * we32k.c: Fix compile time warnings. * we32k.h: Move prototypes to we32k-protos.h. Fix compile time warnings. From-SVN: r31491
2000-01-18calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.Kaveh R. Ghazi5-5/+15
* calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED. * except.c (eh_regs): Likewise. * final.c (output_operand): Likewise. * fold-const.c (target_isinf, target_isnan): Likewise. From-SVN: r31490
2000-01-18i386.h (BIGGEST_ALIGNMENT): Set to 128.Jan Hubicka2-6/+15
* i386.h (BIGGEST_ALIGNMENT): Set to 128. (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32) From-SVN: r31489
2000-01-18i386.md (memstr): Do not use rep stosb for counts divisible by 4 when ↵Jan Hubicka4-122/+239
optimize_size. * i386.md (memstr): Do not use rep stosb for counts divisible by 4 when optimize_size. (clrstrsi): Rewrite. (strsethi, strsetqi): New expanders. (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns. (cmpstrsi): Emit compare insn before cmpstrsi_1 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1. (strlensi_1): Likewise. (cmpstrsi_1): Likewise; do not output compare. (strlen expander): Do not unroll when optimizing for size. (*subsi3_carry): Rename to subsi3_carry (addqi3_cc): New pattern. * i386.h (processor_costs): Add move_ratio field. (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE * i386.c (*_cost): Set move_ratio. (x86_unroll_strlen): Enable for Athlon, PPro and K6 too. (x86_expand_strlensi_1): Rewrite the main loop. From-SVN: r31488
2000-01-18cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.Nathan Sidwell8-85/+87
* cp-tree.h (get_tinfo_fn_dynamic): Remove prototype. (build_x_typeid): Likewise. (get_tinfo_fn): Likewise. (get_tinfo_fn_unused): Rename to ... (get_tinfo_decl): ... here. * rtti.c (build_headof): Replace logic error with assertion. (get_tinfo_fn_dynamic): Rename to ... (get_tinfo_decl_dynamic): ... here. Make static. Use complete_type_or_else. (build_x_typeid): Move into ... (build_typeid): ... here. Adjust call to get_tinfo_decl_dynamic. Use tinfo_from_decl. Simplify throw_bad_typeid expression. (get_tinfo_fn_unused): Rename to ... (get_tinfo_decl): ... here. Adjust comment. (get_tinfo_fn): Delete. (tinfo_from_decl): New static function. (get_typeid_1): Call get_tinfo_decl and tinfo_from_decl. (get_typeid): Use complete_type_or_else. (build_dynamic_cast_1): Adjust calls to get_tinfo_decl_dynamic. Simplify throw_bad_cast expression. * parse.y (primary): Adjust call to build_typeid. * except.c (build_eh_type_type_ref): Adjust call to get_tinfo_decl. Mark as used. * class.c (set_rtti_entry): Adjust call to get_tinfo_decl. * decl2.c (build_expr_from_tree): Adjust call to build_typeid. * parse.c: Regenerated. From-SVN: r31485
2000-01-18Daily bump.Jeff Law2-2/+2
From-SVN: r31484
2000-01-18class.c (fixed_type_or_null): Don't clear NONNULL.Mark Mitchell3-6/+10
* class.c (fixed_type_or_null): Don't clear NONNULL. Document calling convention. (resolves_to_fixed_type_p): Document calling convention. * rtti.c (build_x_typeid): Initialize NONNULL. From-SVN: r31481
2000-01-17combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.Richard Henderson7-21/+55
* combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode. * cse.c (find_comparison_args, fold_rtx): Likewise. * integrate.c (subst_constants): Likewise. * loop.c (get_condition): Likewise. * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs. * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF. From-SVN: r31479
2000-01-18c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.Martin v. Löwis7-41/+65
* c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST. (RESTORE_WARN_FLAGS): Unpack it. Change semantic type of extension to ttype. * c-common.c (split_specs_attrs): Expect an INTEGER_CST. * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c: Regenerate. From-SVN: r31478
2000-01-17re GNATS gcj/128 (weak error message when expecting final modifier)Joerg Brunsmann2-3/+17
Mon Jan 17 11:58:17 2000 Joerg Brunsmann <joerg.brunsmann@fernuni-hagen.de> * parse.y (format_parameter:): Use final: rule instead of modifiers:. (final:): New rule. Joerg Brunsmann's contribution to fix the Java PR #128. From-SVN: r31477