aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-01-05* gcc.c-torture/compile/20000105-1.c: New test.Jeffrey A Law2-0/+31
From-SVN: r31232
2000-01-05configure.in (m68*-*-rtemscoff*): New target, formal name for old m68*-*-rtems*.Joel Sherrill15-117/+167
* configure.in (m68*-*-rtemscoff*): New target, formal name for old m68*-*-rtems*. (m68*-*-rtemself*): New target. (mips64orion-*-rtems*): Remove duplicate definition of tm_file. (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*. (sparc*-*-rtemself*): New target. (sparc*-*-rtems*): Now elf not a.out. * config/i386/rtems.h: Include config/rtems.h. * config/i386/rtemself.h: Include config/rtems.h. * config/i960/rtems.h: Include config/rtems.h. * config/m68k/rtems.h: Include config/rtems.h. * config/m68k/rtemself.h: Include config/rtems.h. * config/mips/rtems64.h: Include config/rtems.h. * config/pa/rtems.h: Include config/rtems.h. * config/rs6000/rtems.h: Include config/rtems.h. * config/sh/rtems.h: Include config/rtems.h. * config/sh/rtemself.h: Include config/rtems.h. * config/sparc/rtems.h: Include config/rtems.h. * config/sparc/rtemself.h: Include config/rtems.h From-SVN: r31231
2000-01-05final.c (shorten_branches): Correctly compute length of asms without operands.Denis Chertykov2-3/+9
* final.c (shorten_branches): Correctly compute length of asms without operands. From-SVN: r31230
2000-01-04cse.c (cse_insn): Missing cast added.Jeff Law7-12/+12
* cse.c (cse_insn): Missing cast added. * loop.c (loop_reg_used_before_p): Ditto. * gcse.c (Pre_gcse, hoist_code): Ditto. * varasm.c (decode_rtx_const): Ditto. * except.c (push_ehqueue): Ditto. * cccp.c (index0): Ditto. * toplev.c (main): Useless `&' removed before function name. From-SVN: r31229
2000-01-04Copyright dateJeff Law1-1/+1
From-SVN: r31228
2000-01-04Update copyright dates.Jeff Law1-1/+1
From-SVN: r31227
2000-01-04Update copyright date.Jeff Law1-1/+1
From-SVN: r31226
2000-01-04configure.in: Add pj target.Steve Chamberlain12-88/+4053
* configure.in: Add pj target. * configure: Regenerate. * config/pj: New directory. * config/pj/lib1funcs.S: New file. * config/pj/linux.h: New file. * config/pj/pj.c: New file. * config/pj/pj.md: New file. * config/pj/pjl.h: New file. * config/pj/t-pj: New file. * config/pj/xm-pj.h: New file From-SVN: r31225
2000-01-04toplev.c (rest_of_compilation): Run shorten-branches before reg-stack for now.Jeffrey A Law2-6/+14
* toplev.c (rest_of_compilation): Run shorten-branches before reg-stack for now. From-SVN: r31224
2000-01-04c4x.h (IS_XXX_REG, [...]): Swap behaviour of macros so that they're ↵Michael Hayes4-138/+150
consistent with their names. * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of macros so that they're consistent with their names. * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise. * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise. From-SVN: r31221
2000-01-04c4x.md (*addqi3_noclobber_reload): Ensure that CC never modified inadvertently.Michael Hayes2-9/+26
* config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never modified inadvertently. From-SVN: r31217
2000-01-04Applied Joel Sherrill's patch to add v850-rtems targetJoel Sherrill4-0/+66
From-SVN: r31216
2000-01-04gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.Mumit Khan6-36/+99
2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime. (__gthread_key_create): Likewise. (__gthread_key_dtor): Likewise. (__gthread_once): Fix logic. (__gthread_key_delete): Cast away constness. * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option. * invoke.texi: Document. * i386/mingw32.h (CPP_SPEC): Use. (LIBGCC_SPEC): Likewise. * i386/crtdll.h (LIBGCC_SPEC): Likewise. From-SVN: r31215
2000-01-04sysv4.h (ASM_OUTPUT_DEF): Undefine.David Edelsohn3-4/+22
* rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine. (HANDLE_PRAGMA_PACK): Undefine. (SLOW_UNALIGNED_ACCESS): Define. From-SVN: r31213
2000-01-04- Document SLOW_UNALIGNED_ACCESS change.David Edelsohn1-5/+6
- Update copyright. From-SVN: r31212
2000-01-04expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters to default ↵David Edelsohn11-54/+107
definition. * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters to default definition. (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment. (store_fixed_bit_field): Call macro with word_mode and alignment. (extract_bit_field): Call macro with relevant mode and alignment. * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters to default definition. (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode and alignment. (move_by_pieces_ninsns): Likewise. (clear_by_pieces): Likewise. (emit_push_insn): Likewise. (store_field): Call macro with relevant mode and alignment. (expand_expr): Likewise. (expand_expr_unaligned): Likewise. * rs6000.h (HANDLE_PRAGMA_PACK): Define. (SLOW_UNALIGNED_ACCESS): Define. (CASE_VECTOR_MODE): Always use 32-bit offsets. (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode. (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op. (toc_section): Likewise and .toc pseudo-op. (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in 64-bit mode. (TEXT_SECTION_ASM_OP): Likewise. (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use 32-bit offsets. * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters. * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise. * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise. * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise. * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise. From-SVN: r31211
2000-01-04* regclass.c: Revert my Jan 4 change to loop cost computation.Jeffrey A Law2-8/+8
From-SVN: r31210
2000-01-04regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing compilation.Jan Hubicka2-1/+8
* regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing compilation. From-SVN: r31209
2000-01-04haifa-sched.c (build_control_flow): Change unreachable simple loop test to ↵Stan Cox2-3/+11
check if... 2000-01-04 Stan Cox <scox@cygnus.com> * haifa-sched.c (build_control_flow): Change unreachable simple loop test to check if current block has only one predecessor. (find_rgns): Initialize degree. Use dest as degree index, not src. From-SVN: r31208
2000-01-04builtins.c (expand_builtin_strlen): Initialize variable `icode'.Kaveh R. Ghazi23-49/+103
* builtins.c (expand_builtin_strlen): Initialize variable `icode'. * calls.c (expand_call): Likewise for `old_stack_arg_under_construction'. * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'. * function.c (pad_to_arg_alignment): Likewise for `save_var' and `save_constant'. * gcc.c (execute): Likewise for `ut' and `st'. * genattrtab.c (attr_rtx): Likewise for `rt_val'. * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'. * jump.c (jump_optimize_1): Likewise for `temp2'. * local-alloc.c (block_alloc): Likewise for `r1'. * loop.c (recombine_givs): Likewise for `life_start' and `life_end'. * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'. (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'. * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node' and `set2'. * reload.c (find_reloads): Likewise for `goal_alternative_number' and `goal_earlyclobber'. * scan-decls.c (scan_decls): Likewise for `prev_id_end'. * sdbout.c (sdbout_one_type): Likewise for `member_scl'. * stupid.c (stupid_life_analysis): Likewise for `chain'. * unroll.c (copy_loop_body): Likewise for `copy'. * varasm.c (output_constructor): Likewise for `byte'. ch: * actions.c (update_else_range_for_int_const): Initialize variables `lowval' and `highval'. (update_else_range_for_range): Likewise for `low_range_val' and `high_range_val'. cp: * class.c (warn_hidden): Initialize variable `fndecl'. From-SVN: r31207
2000-01-04array1.C: Modify explicit external libc references to printf & atoi to ↵Kaveh R. Ghazi79-83/+162
conform to ANSI... * g++.old-deja/g++.brendan/array1.C: Modify explicit external libc references to printf & atoi to conform to ANSI standard. * g++.old-deja/g++.brendan/code-gen1.C: Likewise. * g++.old-deja/g++.brendan/code-gen2.C: Likewise. * g++.old-deja/g++.brendan/code-gen3.C: Likewise. * g++.old-deja/g++.brendan/code-gen4.C: Likewise. * g++.old-deja/g++.brendan/code-gen6.C: Likewise. * g++.old-deja/g++.brendan/complex1.C: Likewise. * g++.old-deja/g++.brendan/copy1.C: Likewise. * g++.old-deja/g++.brendan/copy2.C: Likewise. * g++.old-deja/g++.brendan/copy3.C: Likewise. * g++.old-deja/g++.brendan/copy4.C: Likewise. * g++.old-deja/g++.brendan/copy5.C: Likewise. * g++.old-deja/g++.brendan/copy6.C: Likewise. * g++.old-deja/g++.brendan/copy7.C: Likewise. * g++.old-deja/g++.brendan/copy8.C: Likewise. * g++.old-deja/g++.brendan/crash11.C: Likewise. * g++.old-deja/g++.brendan/crash14.C: Likewise. * g++.old-deja/g++.brendan/ctors1.C: Likewise. * g++.old-deja/g++.brendan/ctors2.C: Likewise. * g++.old-deja/g++.brendan/delete2.C: Likewise. * g++.old-deja/g++.brendan/dtors1.C: Likewise. * g++.old-deja/g++.brendan/dtors2.C: Likewise. * g++.old-deja/g++.brendan/dtors3.C: Likewise. * g++.old-deja/g++.brendan/eh1.C: Likewise. * g++.old-deja/g++.brendan/groff1.C: Likewise. * g++.old-deja/g++.brendan/init3.C: Likewise. * g++.old-deja/g++.brendan/misc12.C: Likewise. * g++.old-deja/g++.brendan/misc7.C: Likewise. * g++.old-deja/g++.brendan/new2.C: Likewise. * g++.old-deja/g++.brendan/operators4.C: Likewise. * g++.old-deja/g++.brendan/operators5.C: Likewise. * g++.old-deja/g++.brendan/overload2.C: Likewise. * g++.old-deja/g++.brendan/overload7.C: Likewise. * g++.old-deja/g++.brendan/redecl2.C: Likewise. * g++.old-deja/g++.brendan/reference1.C: Likewise. * g++.old-deja/g++.brendan/sizeof5.C: Likewise. * g++.old-deja/g++.brendan/template24.C: Likewise. * g++.old-deja/g++.brendan/template3.C: Likewise. * g++.old-deja/g++.brendan/vtables1.C: Likewise. * g++.old-deja/g++.jason/inline3.C: Likewise. * g++.old-deja/g++.jason/opeq.C: Likewise. * g++.old-deja/g++.law/arg5.C: Likewise. * g++.old-deja/g++.law/arm7.C: Likewise. * g++.old-deja/g++.law/ctors11.C: Likewise. * g++.old-deja/g++.law/cvt8.C: Likewise. * g++.old-deja/g++.law/init9.C: Likewise. * g++.old-deja/g++.law/refs4.C: Likewise. * g++.old-deja/g++.law/template2.C: Likewise. * g++.old-deja/g++.law/visibility24.C: Likewise. * g++.old-deja/g++.law/vtable3.C: Likewise. * g++.old-deja/g++.mike/asm2.C: Likewise. * g++.old-deja/g++.mike/eh1.C: Likewise. * g++.old-deja/g++.mike/misc1.C: Likewise. * g++.old-deja/g++.mike/misc13.C: Likewise. * g++.old-deja/g++.mike/misc14.C: Likewise. * g++.old-deja/g++.mike/ns12.C: Likewise. * g++.old-deja/g++.mike/p1248.C: Likewise. * g++.old-deja/g++.mike/p3708.C: Likewise. * g++.old-deja/g++.mike/p3708a.C: Likewise. * g++.old-deja/g++.mike/p3708b.C: Likewise. * g++.old-deja/g++.mike/p646.C: Likewise. * g++.old-deja/g++.mike/p700.C: Likewise. * g++.old-deja/g++.mike/p783.C: Likewise. * g++.old-deja/g++.mike/p783a.C: Likewise. * g++.old-deja/g++.mike/p783b.C: Likewise. * g++.old-deja/g++.mike/p786.C: Likewise. * g++.old-deja/g++.mike/p789.C: Likewise. * g++.old-deja/g++.mike/p789a.C: Likewise. * g++.old-deja/g++.mike/p807a.C: Likewise. * g++.old-deja/g++.other/delete3.C: Likewise. * g++.old-deja/g++.other/dyncast1.C: Likewise. * g++.old-deja/g++.other/dyncast2.C: Likewise. * g++.old-deja/g++.other/dyncast3.C: Likewise. * g++.old-deja/g++.other/empty1.C: Likewise. * g++.old-deja/g++.other/temporary1.C: Likewise. * g++.old-deja/g++.pt/memtemp14.C: Likewise. * g++.old-deja/g++.pt/t16.C: Likewise. * g++.old-deja/g++.pt/tiemann2.C: Likewise. From-SVN: r31204
2000-01-04i386.c (ix86_expand_move): Allow pushes of memory, offload to memory all FP ↵Jan Hubicka4-31/+119
constants for constant->reg moves. * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory all FP constants for constant->reg moves. (ix86_split_to_parts): Try to convert memory address into immediate when available in the constant pool. * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg moves. (LEGITIMATE_CONSTANT_P): Return 1. * i386.md (pushsf): New splitter to convert constant pool memory reference to immediate. (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before reload. From-SVN: r31203
2000-01-04Restrict i386 flag setting shift patternsBernd Schmidt2-117/+62
From-SVN: r31202
2000-01-04* ginclude/stdbool.h: Support compilation as C++.Martin v. Löwis2-1/+16
From-SVN: r31201
2000-01-04Daily bump.Jeff Law2-2/+2
From-SVN: r31198
2000-01-04* fold-const.c (make_range): Don't try to reverse an unbounded range.J"orn Rennecke2-4/+9
From-SVN: r31197
2000-01-04Update copyrightJeff Law1-1/+1
From-SVN: r31196
2000-01-04Update copyrightsJeff Law8-8/+8
From-SVN: r31195
2000-01-04Update copyrightJeff Law1-1/+1
From-SVN: r31194
2000-01-04Update copyrights.Jeff Law2-2/+2
From-SVN: r31193
2000-01-04regclass.c (regclass): Properly compute loop_cost.Jeffrey A Law2-4/+11
* regclass.c (regclass): Properly compute loop_cost. Adjust comments. From-SVN: r31192
2000-01-04* regclass.c: Fix minor whitespace problems.Jeffrey A Law2-3/+7
From-SVN: r31191
2000-01-04i386.md (builtin_setjmp_receiver): New pattern.Anthony Green2-1/+15
* config/i386/i386.md (builtin_setjmp_receiver): New pattern. Restore the pic register if required. From-SVN: r31190
2000-01-03(time_char_table): Revert change; this was not intended.Ulrich Drepper1-1/+1
From-SVN: r31189
2000-01-03(format_char_info): Update comment.Ulrich Drepper1-43/+42
(format_char_info): Update comment. (check_format_info): Recognize 'z' modifier in the same way 'Z' was recognized. Emit warning for formats new in ISO C99 only if flag_isoc9x is not set. From-SVN: r31188
2000-01-03Update.Ulrich Drepper1-0/+7
From-SVN: r31187
2000-01-03Update.Ulrich Drepper1-0/+5
From-SVN: r31186
2000-01-03(flag_isoc9x): New variable to be able to use code in c-common.c.Ulrich Drepper1-297/+300
For now always zero. From-SVN: r31185
2000-01-03cp-tree.h (CLASSTYPE_VBASECLASSES): Improve documentation.Mark Mitchell4-11/+29
* cp-tree.h (CLASSTYPE_VBASECLASSES): Improve documentation. * class.c (layout_basetypes): Don't set BINFO_INHERITANCE_CHAIN or unshare_base_binfos for virtual bases here. * search.c (dfs_get_vbase_types): Do it here. (get_vbase_types): Adjust. From-SVN: r31184
2000-01-03* config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.Mark Mitchell2-1/+5
From-SVN: r31182
2000-01-03combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to ↵Jan Hubicka2-28/+69
SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND. * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND. (make_compound_operation): Choose cheaper alternative between ZERO_EXTEND and SIGN_EXTEND when sign bit is not set. From-SVN: r31180
2000-01-03regclass.c (op_costs): Remove global variable.Jan Hubicka2-76/+122
* regclass.c (op_costs): Remove global variable. (record_reg_classes): New parameter "op_costs" and "reg_pref". (record_operand_costs): Break out from ... (scan_one_insn): ... here. (dump_regclass): Make dumps nicer. (regclass): Dump preferrences choosed and changes done during passes. From-SVN: r31179
2000-01-03* config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.Jakub Jelinek2-1/+5
From-SVN: r31178
2000-01-03sparc.c (gen_df_reg): New function.Jakub Jelinek4-43/+46
* config/sparc/sparc.c (gen_df_reg): New function. * config/sparc/sparc-protos.h (gen_df_reg): Add prototype. * config/sparc/sparc.md (movtf_no_e_insn_sp64+1, movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1, movtf_cc_reg_sp64+1): Use it. From-SVN: r31177
2000-01-03Daily bump.Jeff Law2-2/+2
From-SVN: r31176
2000-01-03cp-tree.h (CLASSTYPE_VFIELDS): Move definition.Mark Mitchell4-203/+174
2000-01-02 Mark Mitchell <mark@codesourcery.com> * cp-tree.h (CLASSTYPE_VFIELDS): Move definition. (BINFO_PRIMARY_MARKED_P): Use flag 5. (SET_BINFO_PRIMARY_MARKED_P): Likewise. (CLEAR_BINFO_PRIMARY_MARKED_P): Likewise. (unmark_primary_bases): Remove declaration. (unmarkedp): Declare. (dfs_vbase_unmark): Likewise. * class.c (determine_primary_base): Return immediately if there are no base classes. Call mark_primary_bases here. (modify_all_direct_vtables): Remove. (modify_all_indirect_vtables): Remove. (dfs_modify_vtables_queue_p): New function. (dfs_modify_vtables): New function. (modify_all_vtables): Use them. (build_base_fields): Build FIELD_DECLs for primary virtual base classes. (create_vtable_ptr): Don't call determine_primary_base here. (dfs_mark_primary_bases_and_set_vbase_offsets): Rename to ... (dfs_set_offset_for_vbases): ... this. (layout_virtual_bases): Use it. (layout_class_type): Call determine_primary_base here. * search.c (unmarkedp): Make it global. (shared_marked_p): Simplify. (shared_unmarked_p): Likewise. (dfs_primary_bases_queue_p): Remove. (dfs_unmark_primary_bases): Likewise. (unmark_primary_bases): Likewise. (mark_primary_bases): Simplify. (get_pure_virtuals): Don't call mark_primary_bases here. (dfs_vbase_unmark): New function. (get_vbase_types): Simplify. From-SVN: r31175
2000-01-03class.c (struct base_info): Remove.Mark Mitchell2-86/+44
* class.c (struct base_info): Remove. (determine_primary_base): Take has_virtual_p rather than a base_info as input. Don't calculate max_has_virtual. (finish_struct_bits): Remove max_has_virtual argument. (create_vtable_ptr): Remove max_has_virtual_p argument. (layout_virtual_bases): Remove max argument. (layout_basetypes): Likewise. (layout_class_type): Remove max_has_virtual_p argument. (finish_struct_1): Remove max_has_virtual. From-SVN: r31174
2000-01-03integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on copied ↵Mark Mitchell3-1/+37
LABEL_DECLs. * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on copied LABEL_DECLs. From-SVN: r31173
2000-01-03i386.c (ix86_expand_unary_operator): Function definition made void.Hans-Peter Nilsson3-8/+12
* config/i386/i386.c (ix86_expand_unary_operator): Function definition made void. (ix86_expand_binary_operator): Update outdated preceding comment. * config/i386/i386-protos.h (ix86_expand_unary_operator): Update prototype. From-SVN: r31172
2000-01-03Oops, forgot to update copyright dateHans-Peter Nilsson1-1/+1
From-SVN: r31171