- 07 Jan, 2000 7 commits
-
-
From-SVN: r31270
Jeff Law committed -
* decl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT. * pt.c (instantiate_decl): Defer comdat templates that might not be needed. * cp-tree.h (DECL_NEEDED_P): Also true if !DECL_COMDAT. * decl2.c (finish_vtable_vardecl): Don't check !DECL_COMDAT. (finish_file): Likewise. From-SVN: r31269
Jason Merrill committed -
From-SVN: r31268
Jason Merrill committed -
* alpha.md (adddi_2+1): Limit offset such that it will be loadable with a single ldah+lda pair. (adddi_2+2): Explicitly fail split if we can't make it work. From-SVN: r31267
Richard Henderson committed -
2000-01-06 Mumit Khan <khan@xraylith.wisc.edu> * protoize.c: Conditionally include unistd.h. (IS_SAME_PATH_CHAR): New macro. (IS_SAME_PATH): New macro. (CPLUS_FILE_SUFFIX): New macro. (cplus_suffix): New static variable. (is_abspath): New static function. (in_system_include_dir): Handle DOS style pathnames. (file_could_be_converted): Likewise. (file_normally_convertible): Likewise. (directory_specified_p): Likewise. (file_excluded_p): Likewise. (abspath): Likewise. (shortpath): Likewise. (referenced_file_is_newer): Likewise. (save_def_or_dec): Likewise. (do_processing): Likewise. (main): Likewise. (edit_file): Likewise. Use rename instead of link. (rename_c_file): Likewise. Don't rename syscalls file. (munge_compile_params): Define null device for DOS based systems. (process_aux_info_file): Use binary mode if appliable. (edit_file): Likewise. * invoke.texi (Running Protoize): Document C++ suffixes used. From-SVN: r31265
Mumit Khan committed -
2000-01-06 Mumit Khan <khan@xraylith.wisc.edu> * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros. * collect2.c: Likewise. * cppinit.c: Likewise. * dwarf2out.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * prefix.c: Likewise. * rtl.c: Likewise. * toplev.c: Likewise. * system.h: And move to here. From-SVN: r31264
Mumit Khan committed -
From-SVN: r31263
Jason Merrill committed
-
- 06 Jan, 2000 9 commits
-
-
* error.c (dump_decl): operator new, not operatornew. * class.c (field_decl_cmp): A nontype is "greater" than a type. * search.c (lookup_field_1): Look for the last field with the desired name. From-SVN: r31262
Jason Merrill committed -
Fri Dec 24 00:25:29 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * Makefile.in (LIBDEPS): Added gcc's errors.o (../jcf-dump$(exeext):): Link with gcc's errors.o (../gcjh$(exeext):): Likewise. * expr.c (expand_java_NEW): Layout the entire target type instead of laying out its methods only. (lookup_field): Layout the class after having loaded it. * java-tree.h (java_debug_context): Declared. * jcf-io.c (toplev.h): Included. (find_class): Removed assignment to jcf's outofsynch field. Force source file to be read if newer than its matching class file. Tweaked debug messages. * jcf-parse.c (jcf_out_of_synch): Deleted. (read_class): Call to jcf_out_of_synch removed. * jcf.h (typedef struct JCF): Field `outofsynch' deleted. (jcf_out_of_synch): Prototype deleted. * parse.h (struct parser_ctxt): `minus_seen', `java_error_flag', `deprecated' and `class_err': integer turned into bit fields. New bit fields `saved_data_ctx' and `saved_data'. Fixed comments. * parse.y (package_list): New global. (package_declaration:): Record newly parsed package name. (extra_ctxp_pushed_p): Static global deleted. (java_parser_context_save_global): Create buffer context for the purpose of saving globals, if necessary. (java_parser_context_restore_global): Pop context pushed for the purpose of saving globals, if necessary. (java_debug_context_do): New prototype and function. (java_debug_context): Likewise. (do_resolve_class): Use already parsed package names to qualify and lookup class candidate. (java_pre_expand_clinit): Removed unnecessary local variable. From-SVN: r31261
Alexandre Petit-Bianco committed -
2000-01-06 Mumit Khan <khan@xraylith.wisc.edu> * prefix.c (update_path): Fix typo in variable name. From-SVN: r31260
Mumit Khan committed -
* 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
Richard Henderson committed -
* 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
Tom Tromey committed -
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
Gabriel Dos Reis committed -
* 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
Jan Hubicka committed -
From-SVN: r31255
Jeff Law committed -
* 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
Tom Tromey committed
-
- 05 Jan, 2000 24 commits
-
-
From-SVN: r31251
Nick Clifton committed -
From-SVN: r31250
Nick Clifton committed -
From-SVN: r31249
Tom Tromey committed -
* config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF, SI, or DI. From-SVN: r31248
Michael Hayes committed -
* 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
Michael Hayes committed -
* java/lang/Class.h (_getMethods): Correctly declare as private, not public. From-SVN: r31246
Tom Tromey committed -
* 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
Tom Tromey committed -
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
Zack Weinberg committed -
From-SVN: r31243
Nick Clifton committed -
* 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
Tom Tromey committed -
* 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
Tom Tromey committed -
From-SVN: r31240
Bernd Schmidt committed -
From-SVN: r31239
Nathan Sidwell committed -
* decl2.c (lookup_arg_dependent): Deal with FNS not being a FUNCTION_DECL. From-SVN: r31238
Nathan Sidwell committed -
From-SVN: r31237
Nathan Sidwell committed -
* typeck.c (build_static_cast): Don't strip target qualifiers when casting from a class. From-SVN: r31236
Nathan Sidwell committed -
From-SVN: r31235
Jeffrey A Law committed -
From-SVN: r31234
Jeff Law committed -
From-SVN: r31233
Jason Merrill committed -
From-SVN: r31232
Jeffrey A Law committed -
* 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
Joel Sherrill committed -
* final.c (shorten_branches): Correctly compute length of asms without operands. From-SVN: r31230
Denis Chertykov committed -
* 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
Jeff Law committed -
From-SVN: r31228
Jeff Law committed
-