aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-01-06flow.c (mark_set_1): Use loop_depth+1 as reference weight.Richard Henderson4-17/+26
* flow.c (mark_set_1): Use loop_depth+1 as reference weight. (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise. (count_reg_sets_1, count_reg_references): Likewise. (flow_loops_level_compute): Start counting actual loop depth at 1. (flow_loops_find): Likewise. * local-alloc.c (update_equiv_regs): Likewise. * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change. From-SVN: r31259
2000-01-06natClass.cc (_getConstructors): Correctly check whether method name is the ↵Tom Tromey2-3/+9
init name. * java/lang/natClass.cc (_getConstructors): Correctly check whether method name is the init name. (getMethod): Look at accflags on method in `klass', not `this'. From-SVN: r31258
2000-01-06defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to ↵Gabriel Dos Reis5-5/+18
FIRST_PSEUDO_REGISTER 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to FIRST_PSEUDO_REGISTER * dwarf2out.c: Don't include frame.h * dwarfout.c: Likewise * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on frame.h From-SVN: r31257
2000-01-06reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of dead registers.Jan Hubicka3-4/+23
* reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of dead registers. * i386.c (movsf splitter): Fix typo in my last checkin. From-SVN: r31256
2000-01-06Daily bump.Jeff Law5-5/+5
From-SVN: r31255
2000-01-06natClass.cc (getMethod): Compute offset relative to `klass's methods table, ↵Tom Tromey3-25/+38
not `this's table. * java/lang/natClass.cc (getMethod): Compute offset relative to `klass's methods table, not `this's table. * java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In unwrapping/widening case, check whether `k' is null, not whether it is primitive. Initialize `num' from `argelts', not `paramelts'. Correct create and pass arguments to ffi_call. Don't let presence of `this' argument affect index used to look in argument arrays. (COPY): Set appropriate element in `values' vector. From-SVN: r31253
2000-01-05oops - typo in previous deltaNick Clifton1-1/+1
From-SVN: r31251
2000-01-05Add support for generating unique sections for unitialised data.Nick Clifton9-69/+188
From-SVN: r31250
2000-01-05* java/lang/natClass.cc: Include <gcj/method.h>.Tom Tromey2-0/+3
From-SVN: r31249
2000-01-05t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF, SI, or DI.Michael Hayes2-2/+7
* config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF, SI, or DI. From-SVN: r31248
2000-01-05c4x.md (udivqi3, divqi3): Delete.Michael Hayes3-132/+139
* config/c4x/c4x.md(udivqi3, divqi3): Delete. (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise. (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New. (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise. (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise. * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls. From-SVN: r31247
2000-01-05Class.h (_getMethods): Correctly declare as private, not public.Tom Tromey2-2/+5
* java/lang/Class.h (_getMethods): Correctly declare as private, not public. From-SVN: r31246
2000-01-05Class.h (_getMethods): Declare.Tom Tromey4-8/+143
* java/lang/Class.h (_getMethods): Declare. * java/lang/Class.java (_getMethods): Declare. * java/lang/natClass.cc (getDeclaringClass): Always return NULL. (getDeclaredClasses): Always return empty array. (_getMethods): New method. (getMethods): Wrote. (getDeclaredMethod): Return `rmethod'. (finit_name): New global. (getDeclaredMethods): Check for finit_name. (_getMethods): Likewise. (getMethod): Only return public methods. From-SVN: r31245
2000-01-05c-decl.c (finish_enum): Simplify code to determine minimum and maximum ↵Zack Weinberg4-82/+151
values of the enum... 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu> * c-decl.c (finish_enum): Simplify code to determine minimum and maximum values of the enum, and calculate the type. Remove check for FUNCTION_DECLs in the values list, which cannot happen. Replace the DECL_INITIAL of each enumeration constant with a copy converted to the enumeration type. When updating variant types, don't bother updating the type itself. * c-typeck.c (build_binary_op): Simplify conditional expressions when weeding out spurious signed-unsigned warnings. Add new spurious warning category: if the unsigned quantity is an enum and its maximum value fits in signed_type(result_type). Update commentary. (build_conditional_expr): Warn here if one alternative is signed and the other is unsigned. From-SVN: r31244
2000-01-05Remove extraneous commentsNick Clifton2-2752/+108
From-SVN: r31243
2000-01-05natMethod.cc (get_ffi_type): Test size of jboolean and select correct ffi ↵Tom Tromey2-4/+24
type on that basis. * java/lang/reflect/natMethod.cc (get_ffi_type): Test size of jboolean and select correct ffi type on that basis. (_Jv_CallNonvirtualMethodA): Handle `void' return type. Constructor call always has `void' return type. From-SVN: r31242
2000-01-05Class.h (getSignature): Updated.Tom Tromey4-10/+24
* java/lang/Class.h (getSignature): Updated. * java/lang/Class.java (getSignature): Updated. * java/lang/natClass.cc (getSignature): Added `is_constructor' argument. (getConstructor): Ensure constructor is public. (_getConstructors): Check for public-ness of constructor when `declared' is false, not when it is true. From-SVN: r31241
2000-01-05Incorrect code gen fix in reloadBernd Schmidt2-0/+6
From-SVN: r31240
2000-01-05* g++.old-deja/g++.ns/koenig8.C: New test.Nathan Sidwell2-0/+18
From-SVN: r31239
2000-01-05decl2.c (lookup_arg_dependent): Deal with FNS not being a FUNCTION_DECL.Nathan Sidwell2-2/+10
* decl2.c (lookup_arg_dependent): Deal with FNS not being a FUNCTION_DECL. From-SVN: r31238
2000-01-05* g++.old-deja/g++.other/cast4.C: New test.Nathan Sidwell2-0/+67
From-SVN: r31237
2000-01-05typeck.c (build_static_cast): Don't strip target qualifiers when casting ↵Nathan Sidwell2-3/+10
from a class. * typeck.c (build_static_cast): Don't strip target qualifiers when casting from a class. From-SVN: r31236
2000-01-05* gcc.c-torture/compile/20000105-2.c: New test.Jeffrey A Law2-0/+6
From-SVN: r31235
2000-01-05Daily bump.Jeff Law5-5/+5
From-SVN: r31234
2000-01-05fix typoJason Merrill2-211/+222
From-SVN: r31233
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-04* Makefile.in: Rebuilt with newer automake.Tom Tromey3-135/+154
From-SVN: r31220
2000-01-04natPlainDatagramSocketImpl.cc (peek): Removed unnecesary comment.Warren Levy2-3/+8
* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary comment. (receive): Set the sender's address in the DatagramPacket. From-SVN: r31218
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-04pexecute.c: Conditionally include string.h.Mumit Khan2-1/+48
2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> * pexecute.c: Conditionally include string.h. (fix_argv): Handle embedded whitespace in args for Mingw32. From-SVN: r31214
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-04Update copyrightKaveh Ghazi1-1/+1
From-SVN: r31206
2000-01-04configure.in (ac_libiberty_warn_cflags): Turn on warnings if we're using gcc.Kaveh R. Ghazi4-87/+101
* configure.in (ac_libiberty_warn_cflags): Turn on warnings if we're using gcc. * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@ From-SVN: r31205