- 13 Sep, 1999 9 commits
-
-
From-SVN: r29374
Mark Klein committed -
From-SVN: r29373
Jeffrey A Law committed -
* call.c (build_conditional_expr): Always use a TARGET_EXPR for class rvalues again. From-SVN: r29372
Jason Merrill committed -
From-SVN: r29371
Nick Clifton committed -
From-SVN: r29370
Jeff Law committed -
* tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and TYPE_SIZE_UNIT. From-SVN: r29369
Andreas Schwab committed -
From-SVN: r29368
Kaveh Ghazi committed -
* Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h. * gcc.h: New file. (lang_specific_driver): Don't take a function pointer parameter. All callers changed. * gcc.c: Include gcc.h. (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link, lang_specific_extra_outfiles, fatal): Don't declare. (multilib_defaults_raw): Constify. (read_specs): Call memset, rather than bzero. (main): Call return, not exit. (lookup_compiler): Call memcpy, not bcopy. (fatal): Make extern. * cppspec.c: Include gcc.h. (lang_specific_driver): Initialize variable `quote'. Constify a char*. All calls to the function pointer parameter now explicitly call `fatal'. * gccspec.c (lang_specific_driver): Include gcc.h. cp: * Make-lang.in (g++spec.o): Depend on system.h and gcc.h. * g++spec.c: Include gcc.h. (lang_specific_driver): Constify a char*. Call xcalloc, not xmalloc/bzero. All calls to the function pointer parameter now explicitly call `fatal'. f: * Make-lang.in (g77spec.o): Depend on system.h and gcc.h. * g77spec.c: Include gcc.h. (g77_xargv): Constify. (g77_fn): Add parameter prototypes. (lookup_option, append_arg): Add static prototypes. (g77_newargv): Constify. (lookup_option, append_arg, lang_specific_driver): Constify a char*. (lang_specific_driver): All calls to the function pointer parameter now explicitly call `fatal'. java: * Make-lang.in (jvspec.o): Depend on system.h and gcc.h. * jvspec.c: Include gcc.h. Don't include gansidecl.h. (do_spec, lang_specific_pre_link, lang_specific_driver, input_filename, input_filename_length): Don't declare. (main_class_name, jvgenmain_spec, lang_specific_driver): Constify a char*. (lang_specific_driver): All calls to the function pointer parameter now explicitly call `fatal'. From-SVN: r29367
Kaveh R. Ghazi committed -
* call.c (implicit_conversion): Robustify. Handle OFFSET_REFs. * cvt.c (ocp_convert): Complete the from and destination types. Adjust warning about functions always being `true' in conditionals. * decl.c (duplicate_decls): Don't play funny games with abort. * error.c (dump_expr): Handle OVERLOADs. * spew.c (probe_obstack): Remove. * typeck.c (condition_conversion): Use perform_implicit_conversion. From-SVN: r29366
Mark Mitchell committed
-
- 12 Sep, 1999 18 commits
-
-
* decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion. (init_decl_processing): Don't set TREE_PERMANENT for the error_mark_node. (start_decl): Don't rebuild non-permanent ARRAY_TYPEs. (grokdeclarator): Likewise. (grokparms): Don't check TREE_PERMANENT when building up lists. * decl2.c (grokfield): Don't assert TREE_PERMANENT. (mark_inline_for_output): Likewise. * expr.c (cplus_expand_expr): Don't check TREE_PERMANENT. * init.c (build_offset_ref): Don't check TREE_PERMANENT. * lex.c (check_newline): Don't check ggc_p; it is always one. * pt.c (process_template_parm): Don't check TREE_PERMANENT. * spew.c (yylex): Don't copy_node or probe_obstacks for non-permanent CONSTANTs and STRINGs. * tree.c (build_cplus_array_type_1): Don't fuss with TREE_PERMANENT on ARRAY_TYPEs. From-SVN: r29365
Mark Mitchell committed -
* arm.c (note_invalid_constants): Use recog_data.operand_type for recog_op_type. From-SVN: r29364
Richard Earnshaw committed -
From-SVN: r29363
Bernd Schmidt committed -
From-SVN: r29362
Bernd Schmidt committed -
From-SVN: r29361
Bernd Schmidt committed -
From-SVN: r29360
Bernd Schmidt committed -
From-SVN: r29359
Richard Henderson committed -
From-SVN: r29358
Richard Henderson committed -
* config/c4x/c4x.h (c4x_rpts_cycles_string, c4x_cpu_version_string): Constify char *. * config/c4x/c4x.c (c4x_rpts_cycles_string, c4x_cpu_version_string): Likewise. From-SVN: r29357
Michael Hayes committed -
From-SVN: r29356
Jeff Law committed -
* tree.c (save_tree_status): Revert 10 Sep change. (restore_tree_status): Likewise. Call obstack_free with NULL before freeing the obstack proper. From-SVN: r29355
Richard Henderson committed -
From-SVN: r29354
Richard Henderson committed -
* ggc-simple.c (ggc_pop_context): Fold outstanding bytes into surrounding context. From-SVN: r29353
Richard Henderson committed -
Sat Sep 11 16:46:44 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (find_applicable_accessible_methods_list): Search abstract classes as interfaces. (Fix to Java PR #18: http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00015.html) From-SVN: r29352
Alexandre Petit-Bianco committed -
* tree.c (type_hash_canon): Put all types in the hash-table, when GC'ing. From-SVN: r29351
Mark Mitchell committed -
* decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion. (init_decl_processing): Don't set TREE_PERMANENT for the error_mark_node. (start_decl): Don't rebuild non-permanent ARRAY_TYPEs. (grokdeclarator): Likewise. (grokparms): Don't check TREE_PERMANENT when building up lists. * decl2.c (grokfield): Don't assert TREE_PERMANENT. (mark_inline_for_output): Likewise. * expr.c (cplus_expand_expr): Don't check TREE_PERMANENT. * init.c (build_offset_ref): Don't check TREE_PERMANENT. * lex.c (check_newline): Don't check ggc_p; it is always one. * pt.c (process_template_parm): Don't check TREE_PERMANENT. * spew.c (yylex): Don't copy_node or probe_obstacks for non-permanent CONSTANTs and STRINGs. * tree.c (build_cplus_array_type_1): Don't fuss with TREE_PERMANENT on ARRAY_TYPEs. From-SVN: r29350
Mark Mitchell committed -
From-SVN: r29349
Richard Henderson committed -
* cp-tree.def (CLEANUP_STMT): New node. * cp-tree.h (language_function): Add name_declared. (current_function_name_declared): New macro. (CLEANUP_DECL): New macro. (CLEANUP_EXPR): Likewise. (emit_local_var): Likewise. (finish_decl_cleanup): New function. * cvt.c (build_up_reference): Simplify. (ocp_convert): Remove dead code. * decl.c (start_decl): Remove call to add_decl_stmt. (grok_reference_init): Adjust, to handle bindings temporaries to references. Remove dead code. (initialize_local_var): Don't generate RTL for declarations here, or build cleanups here. Don't fuss with obstacks. Replace expand_start_target_temps calls with explicit setting of stms_are_full_exprs_p. (destroy_local_var): New function. (emit_local_var): Likewise. (cp_finish_decl): Use them, as appropriate. (start_function): Announce template functions. (store_parm_decls): Don't call declare_function_name here. (finish_stmt): Don't start emit base-initialization code when just building the statement-tree. * init.c (create_temporary_var): Move add_decl_stmt call ... (get_temp_regvar): Here. * pt.c (tsubst_expr): Make DECL_INITIAL look like what cp_finish_decl would expect. Don't call add_decl_stmt. * semantics.c (begin_compound_stmt): Call declare_function_name, if appropriate. (finish_decl_cleanup): New function. (expand_stmt): Use emit_local_var to output variables. (expand_body): Set current_funtion_name_declared. From-SVN: r29348
Mark Mitchell committed
-
- 11 Sep, 1999 7 commits
-
-
Thu Sep 9 17:33:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (finish_class): We're now outside a valid method declaration. Tell the rest of gcc so. From-SVN: r29347
Alexandre Petit-Bianco committed -
From-SVN: r29346
Craig Burley committed -
From-SVN: r29283
Zack Weinberg committed -
From-SVN: r29282
Richard Henderson committed -
* ggc.h (rtvec_def): Forward declare. (tree_node): Likewise. (ggc_root): Define. (roots): Declare. (ggc_set_mark_rtx): Add prototype. (ggc_set_mark_rtvec): Likewise. (ggc_set_mark_tree): Likewise. * ggc-simple.c (ggc_root): Don't define. (roots): Don't declare. (ggc_mark_rtx): Remove. (ggc_mark_rtvec): Likewise. (ggc_mark_tree): Likewise. (ggc_mark_varray): Likewise. (ggc_mark_tree_hash_table_entry): Likewise. (ggc_mark_tree_hash_table): Likewise. (ggc_set_mart_rtx): New function. (ggc_set_mark_rtvec): Likewise. (ggc_set_mark_tree): Likewise. (ggc_add_root): Remove. (ggc_add_rtx_root): Likewise. (ggc_remove_tree_root): Likewise. (ggc_add_string_root): Likewise. (ggc_add_tree_varray_root): Likewise. (ggc_add_tree_hash_table_root): Likewise. (ggc_del_root): Likewise. (ggc_mark_rtx_ptr): Likewise. (ggc_mark_tree_ptr): Likewise. (ggc_mark_string_ptr): Likewise. (ggc_mark_tree_varray_ptr): Likewise. (ggc_mark_tree_hash_table_ptr): Likewise. * ggc-common.c: New file. * Makefile.in (OBJS): Add ggc-common.o. (ggc-common.o): List dependencies. From-SVN: r29281
Alex Samuel committed -
From-SVN: r29280
Jeff Law committed -
1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com> * cppalloc.c (xstrdup): Use memcpy. * cpperror.c (cpp_print_containing_files): Don't use cpp_notice. * cpplib.c (conditional_skip): Set temp->lineno. (do_endif): Make error message less obscure. (if_directive_name): New function. (cpp_get_token [case EOF]): Unwind the if stack and generate error messages for each unterminated conditional in this file. (parse_string): Do not behave differently if -traditional. From-SVN: r29279
Zack Weinberg committed
-
- 10 Sep, 1999 6 commits
-
-
* configure: Rebuilt. * configure.in: Build include/Makefile. * Makefile.in: Rebuilt. * Makefile.am (SUBDIRS): Added gcj and include. (install-data-local): New target. (extra_headers): New macro. * include/Makefile.in: New file. * include/Makefile.am: New file. * interpret.cc: Don't include gcj/field.h or gcj/cni.h. * java/lang/reflect/natField.cc: Don't include gcj/field.h or gcj/cni.h. * boehm.cc: Don't include java-threads.h or gcj/field.h. * resolve.cc: Include config.h. * defineclass.cc: Include config.h. * include/java-interp.h: Don't include config.h. * include/jvm.h: Include java-threads.h, Object.h, java-gc.h, cni.h. * gcj/javaprims.h: Regenerated namespace decls. * classes.pl (scan): Don't put `;' after closing brace. * Makefile.in: Rebuilt. * Makefile.am (INCLUDES): Added -I for top_srcdir. * configure.in: Create gcj/Makefile. * gcj/Makefile.in: New file. * gcj/Makefile.am: New file. * java/lang/Object.h: Don't include any other headers. * gcj/array.h: Renamed from include/java-array.h. * gcj/field.h: Renamed from include/java-field.h. * gcj/method.h: Renamed from include/java-method.h. * gcj/cni.h, gcj/javaprims.h: Moved from include/. Updated all files to reflect new include structure. From-SVN: r29278
Tom Tromey committed -
* gjavah.c (add_class_decl): Generate include for gcj/array.h, not java-array.h. (decode_signature_piece): Don't emit "::" in JArray<>. (print_namelet): Only print trailing `;' when printing a class. From-SVN: r29277
Tom Tromey committed -
* builtins.c (expand_builtin_va_arg): Cope with an array-type va_list decomposing to pointer-type. * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields. (rs6000_va_arg): Likewise. From-SVN: r29276
Richard Henderson committed -
* except.c (start_dynamic_handler): Compute size using STACK_SAVEAREA_MODE. From-SVN: r29275
Jim Wilson committed -
* protoize.c: Remove various __STDC__ and POSIX hacks. Don't include directory headers. Don't define strrchr. Don't provide my_* replacement functions. Prefer PTR over `pointer_type'. Don't prototype system functions. Don't redefine getopt. (shortpath, fancy_abort, notice, savestring, dupnstr, substr, safe_read, safe_write, save_pointers, restore_pointers, is_id_char, in_system_include_dir, directory_specified_p, file_excluded_p, unexpand_if_needed, abspath, check_aux_info, find_corresponding_lparen, referenced_file_is_newer, save_def_or_dec, munge_compile_params, gen_aux_info_file, process_aux_info_file, identify_lineno, check_source, seek_to_line, forward_to_next_token_char, output_bytes, output_string, output_up_to, other_variable_style_function, find_rightmost_formals_list, do_cleaning, careful_find_l_paren, do_processing, is_syscalls_file, rename_c_file, find_extern_def, find_static_definition, connect_defs_and_decs, add_local_decl, add_global_decls, needs_to_be_converted, visit_each_hash_node, add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list, edit_fn_declaration, edit_formals_lists, edit_fn_definition, scan_for_missed_items, edit_file, string_list_cons): Add static prototypes. (standard_exec_prefix, target_machine, target_version, default_syscalls_dir, string_list, string_list_cons, find_file, do_cleaning): Constify a char*. (safe_read, safe_write): Use PTR, not a char*. (is_id_char): Take an int, not a char. (main): Add prototype. Call return, not exit. From-SVN: r29274
Kaveh R. Ghazi committed -
* loop.c (basic_induction_var): Typo NULL_RTX -> NULL. (strength_reduce): Release the varrays from the no-bivs early exit. * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before the loop over the registers. * tree.c (save_tree_status): Set maybepermanent_firstobj NULL for a new obstack. (restore_tree_status): Check that instead when freeing the obstack. From-SVN: r29273
Richard Henderson committed
-