Skip to content
Snippets Groups Projects
  1. Apr 02, 2000
    • green's avatar
      2000-03-26 Anthony Green <green@redhat.com> · aa834753
      green authored
      	* misc.c (GC_enable): Always define GC_enable and GC_disable.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32867 138bc75d-0d04-0410-961f-82ee72b054a4
      aa834753
    • green's avatar
      JVMPI changes... · 89d1c158
      green authored
      Sun Apr  2 08:27:18 2000  Anthony Green  <green@redhat.com>
      
              * configure: Rebuilt.
      	* configure.in: Add --disable-jvmpi.
              * include/config.h.in: Rebuilt.
              * acconfig.h: Add ENABLE_JVMPI.
      
      	* include/jvm.h: Declare _Jv_DisableGC and _Jv_EnableGC.
              (_Jv_JVMPI_Notify_OBJECT_ALLOC): New define.
              (_Jv_JVMPI_Notify_THREAD_END): New define.
              (_Jv_JVMPI_Notify_THREAD_END): New define.
              * prims.cc (_Jv_JVMPI_Notify_OBJECT_ALLOC): Declare.
      	(_Jv_JVMPI_Notify_THREAD_END): Declare.
              (_Jv_JVMPI_Notify_THREAD_END): Declare.
      
      	* prims.cc (_Jv_AllocObject): Generate JVMPI object allocation
              events.
      
              * java/lang/natThread.cc: Include JVMPI headers if necessary.
              (finish_): Generate JVMPI thread end events.
              (run_): Generate JVMPI thread start events.
      	* gnu/gcj/runtime/natFirstThread.cc (run): Call JNI_OnLoad for any
              preloaded JNI library.
              Include JVMPI headers if necessary.
              (run): Generate JVMPI thread start events.
      
              * boehm.cc: Define GC_disable and GC_enable.
      	(_Jv_DisableGC): New function.
              (_Jv_EnableGC): New function.
              (disable_gc_mutex): Declare.
              * nogc.cc (_Jv_DisableGC): New function.
      	(_Jv_EnableGC): New function.
      
              * jni.cc (_Jv_JNI_GetEnv): Handle JVMPI interface requests.
              (_Jv_JVMPI_Interface): Define.
              (jvmpiEnableEvent): New function.
              (_Jv_JNI_Init): Initialize _Jv_JVMPI_Interface.
      
              * include/jvmpi.h: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32866 138bc75d-0d04-0410-961f-82ee72b054a4
      89d1c158
    • m.hayes's avatar
      * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node · e28c262c
      m.hayes authored
       	before checking MUST_PASS_IN_STACK.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32865 138bc75d-0d04-0410-961f-82ee72b054a4
      e28c262c
    • law's avatar
      Daily bump. · f7455f23
      law authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32864 138bc75d-0d04-0410-961f-82ee72b054a4
      f7455f23
    • neil's avatar
      * cppexp.c: New FINISHED dummy token. Combine operator initial · 1840c529
      neil authored
      	flags and initial priority into a single constant.  New
      	EQUALITY macro.  New operator flag SHORT_CIRCUIT.
      	(_parse_cpp_expr): Implement new constants.  Take left operand
      	checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
      	parse indicated by reducing FINISHED token.  Remove new lines
      	from cpp_error messages.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32863 138bc75d-0d04-0410-961f-82ee72b054a4
      1840c529
    • neil's avatar
      2000-04-02 Neil Booth <NeilB@earthling.net> · a9281cdf
      neil authored
      	* gcc.dg/cpp-cond.c  New tests.
      	* gcc.dg/cpp-ifparen.c New tests.  Amend existing tests to make
      	accidental success less likely.
      	* gcc.dg/cpp-missingop.c  New tests.
      	* gcc.dg/cpp-missingparen.c  New tests.
      	* gcc.dg/cpp-shift.c  New tests.
      	* gcc.dg/cpp-shortcircuit.c  New tests.
      	* gcc.dg/cpp-unary.c  New tests.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32862 138bc75d-0d04-0410-961f-82ee72b054a4
      a9281cdf
    • mmitchel's avatar
      * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the · 78f54fd5
      mmitchel authored
      	permanent obstack.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32861 138bc75d-0d04-0410-961f-82ee72b054a4
      78f54fd5
  2. Apr 01, 2000
    • zack's avatar
      * cpplib.c: Include symcat.h. Add 'origin' field to struct · ef33b55c
      zack authored
      	directive.  Add origin values to DIRECTIVE_TABLE.  Generate
      	the strings and function names on the fly.  Take the #sccs
      	entry out of the table if SCCS_DIRECTIVE is not defined.
      	(_cpp_handle_directive): Decide if the # was at the beginning
      	of the line here.  Issue -pedantic warnings for extended
      	directives here.  Warn about K+R directives with the #
      	indented, and C89/extended directives with the # not indented,
      	here.
      	(do_import, do_include_next, do_warning, do_ident, do_sccs,
      	do_assert, do_unassert): Don't issue pedantic warning here.
      
      	* cpphash.h: Add CPP_WTRADITIONAL macro.
      	* cpplib.h (struct cpp_options): Rename warn_stringify to
      	warn_traditional; update comments.
      	* cppinit.c (handle_option): Set warn_traditional not
      	warn_stringify.
      	* cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
      	CPP_WTRADITIONAL (pfile).
      	* cpplex.c (_cpp_lex_token): Don't decide if directives should
      	be ignored in -traditional mode here.
      
      	* cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
      	to initialize speccase[] and trigraph_map[].  Delete all
      	references to pfile->input_speccase.  Always treat '?' as a
      	special character.  Remove table-initialization code from
      	_cpp_init_input_buffer.
      
      	* cpplib.h (struct cpp_reader): Remove input_speccase field.
      	* cppinit.c (cpp_cleanup): Don't free input_speccase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32860 138bc75d-0d04-0410-961f-82ee72b054a4
      ef33b55c
    • zack's avatar
      Add dg-do tag · ac05f7dc
      zack authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32859 138bc75d-0d04-0410-961f-82ee72b054a4
      ac05f7dc
    • zack's avatar
      * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them · 732cb4c9
      zack authored
      	to initialize speccase[] and trigraph_map[].  Delete all
      	references to pfile->input_speccase.  Always treat '?' as a
      	special character.  Remove table-initialization code from
      	_cpp_init_input_buffer.
      
      	* cpplib.h (struct cpp_reader): Remove input_speccase field.
      	* cppinit.c (cpp_cleanup): Don't free input_speccase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32858 138bc75d-0d04-0410-961f-82ee72b054a4
      732cb4c9
    • rth's avatar
      * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once. · 713a4057
      rth authored
      	(mostlyclean): Likewise.
      
      	* toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
      	(struct dump_file_info, enum dump_file_index, dump_file): New.
      	(open_dump_file): Take a dump_file_index not a suffix, and a decl
      	not a string.  Clean out file if we havn't yet done so.  Do nothing
      	if the dump isn't enabled.
      	(close_dump_file): Do nothing if the dump isn't open.  Dump
      	graph data if requested.
      	(dump_rtl, clean_dump_file): Remove.
      	(compile_file): Don't clean the dump files.  Only finalize .bp dump
      	if flag_test_coverage or flag_branch_probabilities.  Only finalize
      	.combine dump if optimizing.  Iterate over dump_file to finalize the
      	graph dumps.
      	(rest_of_compilation): Update for open_dump_file/close_dump_file.
      	Convert all uses of dump_rtl.
      	(decode_d_option): Iterate over dump_file to implement 'a' and to
      	locate pass-specific dumps.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32857 138bc75d-0d04-0410-961f-82ee72b054a4
      713a4057
    • law's avatar
      Daily bump. · 5cf07f45
      law authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32856 138bc75d-0d04-0410-961f-82ee72b054a4
      5cf07f45
    • neil's avatar
      * cppexp.c: Redefine priority constants. · 61922975
      neil authored
              (_cpp_parse_expr): Replace left and right priority scheme with
      	single priority logic.  Move LOGICAL to same place as COMPARE.
      	Remove bogus check for multiple unary +/- operators.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32855 138bc75d-0d04-0410-961f-82ee72b054a4
      61922975
    • neil's avatar
      * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed · c05f346e
      neil authored
              within the switch statement.  Binary operations break out of
              the switch naturally.  '(' tokens handled by forcing
              immediate shift.  ')' handled by forcing immediate reduce to
              the previous '('.  New error messages.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32854 138bc75d-0d04-0410-961f-82ee72b054a4
      c05f346e
    • geoffk's avatar
      * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low · 4056df14
      geoffk authored
      part', it's already in use.  Use %K instead.  Add a return at the
      end of what is now %K.
      * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32853 138bc75d-0d04-0410-961f-82ee72b054a4
      4056df14
    • apbianco's avatar
      Fixed email address typo in Thu Mar 30, 2000 ChangeLog entry. · f626df99
      apbianco authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32852 138bc75d-0d04-0410-961f-82ee72b054a4
      f626df99
    • hubicka's avatar
      * builtins.c (expand_builtin_apply): Pass proper parameters to · 91b70175
      hubicka authored
      	allocate_dynamic_stack_space.
      	* calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
      	update stack_pointer_delta; do not update arg_size_so_far.
      	(compute_argument_block_size): Use stack_delta instead of
      	stack_pointer_pending and arg_size_so_far.
      	(expand_call): Add sanity checking for stack_pointer_delta;
      	save and restore stack_pointer_delta for SIB, use
      	stack_pointer_delta for alignment; do not update arg_space_so_far.
      	(emit_library_call_value): Use stack_pointer_delta for alignment.
      	(store_one_arg): Do not update arg_space_so_far.
      	* explow.c (adjust_stack, anti_adjust_stack): Update
      	stack_pointer_delta.
      	(allocate_dynamic_stack_space): Add sanity checking for
      	stack_pointer_delta.
      	* expr.c (init_expr, clear_pending_stack_adjust): Clear
      	stack_pointer_delta.
      	(emit_push_insn): Update stack_pointer_delta.
      	* function.h (struct expr_status): Add x_stack_pointer_delta;
      	remove x_arg_space_so_far.
      	(arg_space_so_far): Remove.
      	(stack_pointer_delta): New macro.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32851 138bc75d-0d04-0410-961f-82ee72b054a4
      91b70175
  3. Mar 31, 2000
    • zack's avatar
      * cpplib.h: Merge struct cpp_options into struct cpp_reader. · 2ff3ad1d
      zack authored
      	Reorder struct cpp_options and struct cpp_reader for better
      	packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
      	takes two args.  Change all 'char' flags to 'unsigned char'.
      	Move show_column flag into struct cpp_options.  Don't
      	prototype cpp_options_init.
      	* cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
      	cppinit.c, cpplex.c, cpplib.c:
      	Replace CPP_OPTIONS (pfile)->whatever with
      	CPP_OPTION (pfile, whatever), and likewise for
      	opts = CPP_OPTIONS (pfile); ... opts->whatever;
      
      	* cppinit.c (merge_include_chains): Take a cpp_reader *.
      	Extract CPP_OPTION (pfile, pending) and work with that
      	directly.
      	(cpp_options_init): Delete.
      	(cpp_reader_init): Turn on on-by-default options here.
      	Allocate the pending structure here.
      	(cl_options, enum opt_code): Define these from the same table,
      	kept in a large macro.  Add -fshow-column and -fno-show-column
      	options.
      
      	* cpperror.c (v_message): If show_column is off, don't print
      	the column number.
      
      	* cppmain.c: Update for new interface.
      	* fix-header.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32850 138bc75d-0d04-0410-961f-82ee72b054a4
      2ff3ad1d
    • geoffk's avatar
      * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new · aa787722
      geoffk authored
      definition.
      * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
      are passed to any invocation of AR_FOR_TARGET.
      (AR_CREATE_FOR_TARGET): New macro.
      (AR_EXTRACT_FOR_TARGET): New macro.
      (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
      AR_EXTRACT_FOR_TARGET.
      (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
      in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
      `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
      AR_EXTRACT_FOR_TARGET to sub-makes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32849 138bc75d-0d04-0410-961f-82ee72b054a4
      aa787722
    • neil's avatar
      * cppexp.c: Delete SKIP_OPERAND. Correct priority · e60ec180
      neil authored
      	PAREN_INNER_PRIO.
      	(_cpp_parse_expr): Check for multiple unary +/- operators.
      	Correct priorities of ':' and '?'.  Treat ')' as having a
      	value.	Ensure conditional expression is not void.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32848 138bc75d-0d04-0410-961f-82ee72b054a4
      e60ec180
    • mmitchel's avatar
      * alias.c (canon_rtx): Make it global. · 7cfb9bcf
      mmitchel authored
      	(rtx_equal_for_memref_p): CONST_INT equality is now pointer
      	equality.
      	* cse.c (struct table_elt): Add canon_exp.
      	(insert): Clear it.
      	(invalidate): Canonicalize expressions only once.
      	* rtl.h (canon_rtx): Declare.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32845 138bc75d-0d04-0410-961f-82ee72b054a4
      7cfb9bcf
    • mmitchel's avatar
      * Makefile.in (emit-rtl.o): Depend on HASHTAB_H. · 73f5c1e3
      mmitchel authored
      	* alias.c (reg_known_value): Add comments.
      	(init_alias_analysis): Likewise.
      	* cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
      	address.
      	(cse_basic_block): Fix typo in comment.
      	* emit-rtl.c: Include hashtab.h.
      	(const_int_htab): New variable.
      	(const_int_htab_hash): New function.
      	(const_int_htab_eq): Likewise.
      	(rtx_htab_mark_1): Likewise.
      	(rtx_htab_mark): Likewise.
      	(gen_rtx_CONST_INT): Cache all CONST_INTs.
      	(unshare_all_rtx): Fix formatting.
      	(init_emit_once): Initialize const_int_htab.
      	* rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
      	address.
      	* rtl.texi: Document the fact that all CONST_INTs with the same
      	value are shared.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32844 138bc75d-0d04-0410-961f-82ee72b054a4
      73f5c1e3
    • law's avatar
      Daily bump. · 17532d15
      law authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32843 138bc75d-0d04-0410-961f-82ee72b054a4
      17532d15
    • mmitchel's avatar
      * hashtab.h (hashval_t): New type. · 7669680f
      mmitchel authored
      	(htab_find_with_hash): Use it as an argument.
      	(htab_find_slot_with_hash): Likewise.
      
      	* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
      	codes.
      	(htab_find_with_hash): Likewise.
      	(htab_find_slot_with_hash): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32842 138bc75d-0d04-0410-961f-82ee72b054a4
      7669680f
    • rth's avatar
      * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits. · fafa45d0
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32841 138bc75d-0d04-0410-961f-82ee72b054a4
      fafa45d0
    • law's avatar
      * c-parse.in (cast_expr): Move change from March 21 into c-parse.in · 9378baf4
      law authored
              since it is used to generate c-parse.y.
              * objc-parse.c, objc-parse.y: Regenerated.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32840 138bc75d-0d04-0410-961f-82ee72b054a4
      9378baf4
  4. Mar 30, 2000
Loading