gcc.git
20 years agoerror.c (show_locus): Handle mapped locations.
Per Bothner [Tue, 7 Sep 2004 14:43:37 +0000 (07:43 -0700)]
error.c (show_locus): Handle mapped locations.

2004-09-07  Per Bothner  <per@bothner.com>
Paul Brook  <paul@codesourcery.com>

* error.c (show_locus): Handle mapped locations.
* f95-lang.c (gfc_be_parse_file): Initialize mapped locations.
* gfortran.h: Include input.h.
(struct gfc_linebuf): Use source_location.
* scanner.c (get_file): Initialize linemap.
(preprocessor_line): Pass extra argument to get_file.
(load_file): Ditto.  Setup linemap.
(gfc_new_file): Handle mapped locations.
* trans-common.c (build_field, build_equiv_decl, build_common_decl):
Set decl source locations.
(gfc_trans_common): Set blank common block location.
* trans-decl.c (gfc_set_decl_location): New function.
(gfc_get_label_decl, gfc_get_symbol_decl): Use it.
(trans_function_start): Move call to gfc_set_backend_locus..
(build_function_decl): ... to here.
(build_entry_thunks): Set and restore the backend locus.
(gfc_generate_constructors): Remove excess arguments to
init_function_start.
(gfc_generate_block_data): Add comments.  Set the decl locus.
* trans-io.c (set_error_locus): Handle mapped locations.
* trans.c (gfc_get_backend_locus, gfc_get_backend_locus): Ditto.
(gfc_trans_code): Use SET_EXPR_LOCATION.
(gfc_generate_code): Override the location of the new symbol.
* trans.h (gfc_set_decl_location): Add prototype.

Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r87142

20 years agobuiltins.c (fold_builtin_strchr): Use build_int_cst, not fold_convert.
Nathan Sidwell [Tue, 7 Sep 2004 10:22:44 +0000 (10:22 +0000)]
builtins.c (fold_builtin_strchr): Use build_int_cst, not fold_convert.

* builtins.c (fold_builtin_strchr): Use build_int_cst, not
fold_convert.
(fold_builtin_strpbrk): Likewise.
* expr.c (array_ref_low_bound): Likewise.
* tree-scalar-evolution.c (chrec_is_positive, add_to_evolution_1,
interpret_rhs_modify_expr, number_of_iterations_in_loop): Likewise.
* tree-sra.c (generate_element_zero): Likewise.
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
* tree-ssa-loop-ivopts.c (determine_biv_step, idx_find_step,
add_old_iv_candidates, add_iv_candidates): Likewise.
* tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.

From-SVN: r87141

20 years agoc-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable.
Nathan Sidwell [Tue, 7 Sep 2004 10:19:00 +0000 (10:19 +0000)]
c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable.

* c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable.
* c-common.c (c_type_hash, c_common_nodes_and_builtins,
c_expand_expr, boolean_increment, nonnull_check_p,
check_function_arguments_recurse, fold_offsetof_1): Likewise.
* c-cppbuiltin.c (define__GNUC__, builtin_define_stdint_macros,
builtin_define_type_max): Likewise.
* c-decl.c (bind, pop_scope, merge_decls, pushdecl_top_level,
implicit_decl_warning, builtin_function, build_compound_literal,
complete_array_type, grokdeclarator, get_parm_info,
start_function, store_parm_decls_oldstyle,
c_write_global_declarations): Likewise.
* c-format.c (get_constant, decode_format_attr,
maybe_read_dollar_number, get_flag_spec, check_format_arg,
check_format_types, format_type_warning,
find_char_info_specifier_index, init_dynamic_asm_fprintf_info,
init_dynamic_diag_info, handle_format_attribute): Likewise.
* c-gimplify.c (push_context, pop_context, finish_bc_block):
* c-lex.c (c_lex_with_flags, lex_string): Likewise.
* c-objc-common.c (c_tree_printer): Likewise.
* c-pch.c (pch_init): Likewise.
* c-pragma.c (maybe_apply_pragma_weak): Likewise.
* c-pretty-print.c (pp_c_tree_decl_identifier): Likewise.
* c-typeck.c (c_incomplete_type_error, composite_type,
common_pointer_type, common_type, same_translation_unit_p,
tagged_types_tu_compatible_p, finish_init, pop_init_level,
set_designator, set_nonincremental_init_from_string,
process_init_element, c_finish_if_stmt): Likewise.
* caller-save.c (init_caller_save, save_call_clobbered_regs,
insert_restore, insert_save, insert_one_insn): Likewise.
* calls.c (emit_call_1, compute_argument_block_size,
precompute_arguments, expand_call, emit_library_call_value_1,
store_one_arg): Likewise.

From-SVN: r87140

20 years agoconfigure.ac (enable-checking): Add release option.
Nathan Sidwell [Tue, 7 Sep 2004 09:56:31 +0000 (09:56 +0000)]
configure.ac (enable-checking): Add release option.

* configure.ac (enable-checking): Add release option. Reorganize
to avoid repetition.
* configure: Rebuilt.
* doc/install.texi (enable-checking): Amend documentation.

From-SVN: r87139

20 years agomissing: Import latest version from master repository.
Paolo Bonzini [Tue, 7 Sep 2004 08:33:10 +0000 (08:33 +0000)]
missing: Import latest version from master repository.

2004-09-07  Paolo Bonzini  <bonzini@gnu.org>

* missing: Import latest version from master repository.

From-SVN: r87138

20 years agoDaily bump.
GCC Administrator [Tue, 7 Sep 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r87136.2

20 years agoDaily bump.
GCC Administrator [Tue, 7 Sep 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r87135.2

20 years agore PR bootstrap/17313 (fixinc.sh isn't parallel build safe)
H.J. Lu [Mon, 6 Sep 2004 23:58:14 +0000 (23:58 +0000)]
re PR bootstrap/17313 (fixinc.sh isn't parallel build safe)

2004-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR bootstrap/17313
* Makefile.in (specs.ready): Depend on cc1$(exeext).

From-SVN: r87133

20 years agoAnother MIPS vector cleanup patch, fix bad type attribute for FP zero moves.
James E Wilson [Mon, 6 Sep 2004 23:55:44 +0000 (23:55 +0000)]
Another MIPS vector cleanup patch, fix bad type attribute for FP zero moves.

* config/mips/mips.md (movsf_hardfloat, movdf_hardfloat_64bit,
movdf_hardfloat_32bit): Split fG into two alternatives.
(movv2sf_hardfloat_64bit): Split fYG into two alternatives.

From-SVN: r87132

20 years agore PR other/16633 (C tests don't use the newly built libgcc.so.1)
H.J. Lu [Mon, 6 Sep 2004 23:36:11 +0000 (23:36 +0000)]
re PR other/16633 (C tests don't use the newly built libgcc.so.1)

2004-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR c/16633:
* lib/gcc-dg.exp: Set up LD_LIBRARY_PATH, SHLIB_PATH,
LD_LIBRARYN32_PATH, LD_LIBRARY64_PATH and DYLD_LIBRARY_PATH.

From-SVN: r87131

20 years agoifc-20040816-1.c: Use -ftree-vectorize.
Devang Patel [Mon, 6 Sep 2004 23:14:43 +0000 (16:14 -0700)]
ifc-20040816-1.c: Use -ftree-vectorize.

2004-09-06  Devang Patel  <dpatel@apple.com>

      * gcc.dg/tree-ssa/ifc-20040816-1.c: Use -ftree-vectorize.
      * gcc.dg/tree-ssa/ifc-20040816-2.c: Use -ftree-vectorize.

From-SVN: r87130

20 years ago* semantics.c (expand_body): Assert that we are not nested.
Daniel Jacobowitz [Mon, 6 Sep 2004 22:02:34 +0000 (22:02 +0000)]
* semantics.c (expand_body): Assert that we are not nested.

From-SVN: r87126

20 years agoFix ppc-darwin bootstrap failure.
James E Wilson [Mon, 6 Sep 2004 21:05:44 +0000 (21:05 +0000)]
Fix ppc-darwin bootstrap failure.

* emit-rtl.c (try_split): Check INSN_P before may_trap_p call.

From-SVN: r87125

20 years agofinal.c (output_in_slot): Delete.
Eric Botcazou [Mon, 6 Sep 2004 19:59:30 +0000 (21:59 +0200)]
final.c (output_in_slot): Delete.

* final.c (output_in_slot): Delete.
(final_scan_insn): Revert 2004-09-03 change.
(output_asm_insn): Likewise.
* config/sparc/sparc.c (output_return): Likewise.
(output_sibcall): Likewise.

From-SVN: r87124

20 years agoloop.c (loop_dump_aux): Do not print RTL when not available.
Jan Hubicka [Mon, 6 Sep 2004 18:38:27 +0000 (20:38 +0200)]
loop.c (loop_dump_aux): Do not print RTL when not available.

* loop.c (loop_dump_aux): Do not print RTL when not available.
* tree-ssa-loop-ivopts.c (add_standard_iv_candidates): Do not use
frontend specific type nodes.
(produce_memory_decl_rtl): Break out from ...
(prepare_decl_rtl): ... here.  Handle ADDR_EXPR correctly.
(get_computation_at): Avoid random tree sharing.
(tree_ssa_iv_optimize): Verify tree sharing; dump loops.

From-SVN: r87123

20 years agoMakefile.in (rtl.o, bitmap.o): Correct dependencies, remove unnecessary commands.
Zack Weinberg [Mon, 6 Sep 2004 18:37:21 +0000 (18:37 +0000)]
Makefile.in (rtl.o, bitmap.o): Correct dependencies, remove unnecessary commands.

* Makefile.in (rtl.o, bitmap.o): Correct dependencies, remove
unnecessary commands.

From-SVN: r87122

20 years agodecl.c (build_enumerator): Use add_double and int_fits_type_p instead of cp_build_bin...
Zack Weinberg [Mon, 6 Sep 2004 17:38:18 +0000 (17:38 +0000)]
decl.c (build_enumerator): Use add_double and int_fits_type_p instead of cp_build_binary_op...

cp:
* decl.c (build_enumerator): Use add_double and int_fits_type_p
instead of cp_build_binary_op, to avoid creating short-lived trees.
* parser.c (cp_parse_type_specifier <RID_ENUM>): Use two-token
lookahead instead of backtracking.  Move some code to avoid a
conditional branch.
(cp_parser_enum_specifier): Avoid duplication of effort with caller.
Use cp_lexer_next_token_is/cp_lexer_next_token_is_not as appropriate.
(cp_parser_enumerator_list, cp_parser_enumerator_definition):
Use cp_lexer_next_token_is/cp_lexer_next_token_is_not as appropriate.
testsuite:
* g++.old-deja/g++.other/enum2.C: Move dg-error markers to
reflect changed line numbering of diagnostics.

From-SVN: r87121

20 years agoPut ChangeLog entry in the right place.
Paul Brook [Mon, 6 Sep 2004 16:58:16 +0000 (16:58 +0000)]
Put ChangeLog entry in the right place.

From-SVN: r87120

20 years ago[multiple changes]
Paul Brook [Mon, 6 Sep 2004 16:33:52 +0000 (16:33 +0000)]
[multiple changes]

2004-09-06  Steven G. Kargl  <kargls@comcast.net>

* io/write.c (output_float): Typo in comment.  Remove debugging
printf.  Fix format for FP of form 1e10.

2004-09-06  Paul Brook  <paul@codesourcery.com>

* gfortran.dg/edit_real_1.f90: Add new test.

From-SVN: r87119

20 years agoMakefile.in (rtl.o): Remove -DGENERATOR_FILE.
Mohan Embar [Mon, 6 Sep 2004 14:48:43 +0000 (14:48 +0000)]
Makefile.in (rtl.o): Remove -DGENERATOR_FILE.

* Makefile.in (rtl.o): Remove -DGENERATOR_FILE.
(bitmap.o): Likewise.

From-SVN: r87118

20 years agore PR preprocessor/14699 (abort() in hashtable.c in approx_sqrt() with -fmem-report)
Serge Belyshev [Mon, 6 Sep 2004 13:22:48 +0000 (13:22 +0000)]
re PR preprocessor/14699 (abort() in hashtable.c in approx_sqrt() with -fmem-report)

2004-09-06  Serge Belyshev  <belyshev@lubercy.com>

PR preprocessor/14699
* symtab.c (ht_dump_statistics): Change type of sum_of_squares
from size_t to double.

From-SVN: r87116

20 years agorestore missing changelog entry
Nathan Sidwell [Mon, 6 Sep 2004 10:23:00 +0000 (10:23 +0000)]
restore missing changelog entry
2004-08-30  Nathan Sidwell  <nathan@codesourcery.com>

* alias.c (mems_in_disjoint_alias_sets_p, record_alias_subset,
record_set, rtx_equal_for_memref_p, init_alias_analysis): Use
gcc_assert and gcc_unreachable instead of abort.
* alloc-pool.c (abort, fancy_abort): Remove.
(create_alloc_pool, free_alloc_pool, pool_alloc, pool_free): Use
gcc_assert or gcc_unreachable.
* attribs.c (init_attributes, decl_attributes): Likewise.
* bb-reorder.c (FREE, find_traces_1_round, copy_bb,
mark_bb_for_unlikely_executed_section,
add_labels_and_missing_jumps, fix_crossing_conditional_branches,
fix_crossing_unconditional_branches):  Likewise.
* bitmap.c (bitmap_first_set_bit, bitmap_last_set_bit,
bitmap_operation):  Likewise.
* bt-load.c (insn_sets_btr_p, augment_live_range,
move_btr_def):  Likewise.
* builtins.c (c_readstr, expand_builtin_longjmp, apply_args_size,
apply_result_size, expand_builtin_apply, expand_builtin_mathfn,
expand_builtin_mathfn_2, expand_builtin_mathfn_3,
builtin_memcpy_read_str, expand_movstr, expand_builtin_stpcpy,
expand_builtin_memcmp, expand_builtin_args_info,
std_gimplify_va_arg_expr, expand_builtin_unop,
expand_builtin_fputs, expand_builtin_profile_func,
expand_builtin_fork_or_exec, fold_builtin_bitop,
fold_builtin_classify, fold_builtin_fputs): Likewise.

From-SVN: r87114

20 years agoUnify the management of RTL and tree-level dump files.
Paolo Bonzini [Mon, 6 Sep 2004 10:08:17 +0000 (10:08 +0000)]
Unify the management of RTL and tree-level dump files.

2004-09-06  Paolo Bonzini  <bonzini@gnu.org>

Unify the management of RTL and tree-level dump files.

* cfgexpand.c (tree_expand_cfg): Fix incorrect comment.
Don't print function name to the dump file, the pass manager
would do this for us. Add code from the top of
rest_of_compilation, up to the initial RTL dump.
* passes.c (rest_of_handle_jump): Call fixup_tail_calls and
close the DFI_sibling dump file.
(rest_of_compilation): Don't do that here.  Remove code up to the
initial RTL dump.
(init_optimization_passes): Remove.
(pass_rest_of_compilation): Change pass name to NULL.
* toplev.c (lang_dependent_init): Do not use an empty dump file prefix.
Do not call init_optimization_passes.
* toplev.h (init_optimization_passes): Remove.

* graph.c (print_rtl_graph_with_bb, clean_graph_dump_file,
finish_graph_dump_file): Remove SUFFIX parameter.
* graph.h (print_rtl_graph_with_bb, clean_graph_dump_file,
finish_graph_dump_file): Likewise.

* tree-pass.h (struct tree_opt_pass): Add `letter' field.
* cfgexpand.c (pass_expand): Adjust.
* gimple-low.c (pass_lower_cf, pass_remove_useless_vars): Adjust.
* passes.c (pass_rest_of_compilation): Adjust.
* predict.c (pass_profile): Adjust.
* tree-alias-common.c (pass_build_pta, pass_del_pta): Adjust.
* tree-cfg.c (pass_build_cfg, pass_remove_useless_stmts,
pass_split_crit_edges, pass_warn_function_return): Adjust.
* tree-complex.c (pass_lower_vector_ssa, pass_pre_expand): Adjust.
* tree-dfa.c (pass_referenced_vars): Adjust.
* tree-eh.c (pass_lower_eh): Adjust.
* tree-if-conv.c (pass_build_ssa): Adjust.
* tree-into-ssa.c (pass_build_ssa): Adjust.
* tree-mudflap.c (pass_mudflap_1, pass_mudflap_2): Adjust.
* tree-nomudflap.c (pass_mudflap_1, pass_mudflap_2): Adjust.
* tree-nrv.c (pass_nrv): Adjust.
* tree-optimize.c (pass_gimple, pass_all_optimizations,
pass_cleanup_cfg_post_optimizing, pass_free_datastructures,
pass_init_datastructures): Adjust.
* tree-outof-ssa.c (pass_del_ssa): Adjust.
* tree-profile.c (pass_tree_profile): Adjust.
* tree-sra.c (pass_sra): Adjust.
* tree-ssa-alias.c (pass_may_alias): Adjust.
* tree-ssa-ccp.c (pass_ccp, pass_fold_builtins): Adjust.
* tree-ssa-copyrename.c (pass_rename_ssa_copies): Adjust.
* tree-ssa-dce.c (pass_dce, pass_cd_dce): Adjust.
* tree-ssa-dom.c (pass_dominator): Adjust.
* tree-ssa-dse.c (pass_dse): Adjust.
* tree-ssa-forwprop.c (pass_forwprop): Adjust.
* tree-ssa-if-conv.c (pass_if_conversion): Adjust.
* tree-ssa-loop-ch.c (pass_ch): Adjust.
* tree-ssa-loop.c (pass_loop, pass_loop_init, pass_lim,
pass_loop_done, pass_complete_unroll, pass_iv_canon,
pass_iv_optimize, pass_vectorize): Adjust.
* tree-ssa-phiopt.c (pass_phiopt): Adjust.
* tree-ssa-pre.c (pass_pre, pass_fre): Adjust.
* tree-ssa.c (pass_redundant_phi, pass_early_warn_uninitialized,
pass_late_warn_uninnitialized): Adjust.
* tree-tailcall.c (pass_tail_recursion, pass_tail_calls): Adjust.

* Makefile.in (tree-dump.o): Add new dependencies.
* cgraph.c (cgraph_remove_node): TDF_all -> TDF_tree_all.
* cgraphunit.c (cgraph_preserve_function_body_p, cgraph_optimize):
Likewise.
* toplev.c (dump_file_name): New.
* tree-dump.c (dump_enable_all): Add LETTER parameter.
(struct dump_file_info): Add NUM and LETTER fields.
(dump_files): Adjust and add RTL dump files.
(dump_register): Add NUM and LETTER fields.
(get_dump_file_name, dump_initialized_p, enable_rtl_dump_file): New.
(dump_begin): Use get_dump_file_name.
(dump_switch_p_1): Adjust call to dump_enable_all.
* tree-dump.h (dump_register): Adjust prototype.
* tree-optimize.c (register_one_dump_file): Take dump file index.
Support flags for RTL dumps.
(register_dump_files): Fill in NUM field of struct dump_file_info.
Track properties both when the gate is executed and when it is not.
(execute_todo): Dump RTL.  Add PROPERTIES parameter.
(execute_one_pass): Pass properties to execute_todo.  Handle VCG
dumps of RTL.
* tree-pass.h (dump_file_name): New.
* tree.h (TDF_TREE, TDF_RTL, get_dump_file_name, dump_initialized_p):
New.

* Makefile.in (passes.o): Add new dependencies.
* passes.c (struct dump_file_info, enum dump_file_index,
dump_file_tbl, init_optimization_passes): Remove.
(open_dump_file, close_dump_file): Use tree-dumping infrastructure.
(rest_of_handle_new_regalloc, rest_of_handle_old_regalloc): Use
dump_enabled_p.
(finish_optimization_passes): Update finish_graph_dump_file loop.
(enable_rtl_dump_file): Remove.
* tree-dump.c (dump_files): Adjust and add RTL dump files.
(enable_rtl_dump_file): Add here.
* tree.h (enum tree_dump_index): Add RTL dump file indices.
* doc/invoke.texi (Debugging options): Document new RTL debugging
options.  Update.

From-SVN: r87113

20 years agoconfig.sub: Import latest version from master repository.
Nick Clifton [Mon, 6 Sep 2004 08:52:57 +0000 (08:52 +0000)]
config.sub: Import latest version from master repository.

* config.sub: Import latest version from master repository.
* config.guess: Likewise.

From-SVN: r87112

20 years agoDaily bump.
GCC Administrator [Mon, 6 Sep 2004 00:16:30 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r87108

20 years agoc-common.c, [...]: Fix comment formatting.
Kazu Hirata [Sun, 5 Sep 2004 16:05:06 +0000 (16:05 +0000)]
c-common.c, [...]: Fix comment formatting.

* c-common.c, c-decl.c, combine.c, defaults.h, fold-const.c,
gimplify.c, gthr-nks.h, hooks.c, lambda-code.c, lambda-mat.c,
stor-layout.c, target.h, tree-cfg.c, tree-chrec.c,
tree-if-conv.c, tree-inline.c, tree-into-ssa.c,
tree-mudflap.c, tree-optimize.c, tree-scalar-evolution.c,
tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dce.c,
tree-ssa-pre.c, tree-vectorizer.c, tree-vectorizer.h, tree.h,
vec.h: Fix comment formatting.

From-SVN: r87105

20 years agoc-common.c, [...]: Fix comment typos.
Kazu Hirata [Sun, 5 Sep 2004 15:24:15 +0000 (15:24 +0000)]
c-common.c, [...]: Fix comment typos.

* c-common.c, cfgexpand.c, cgraphunit.c, defaults.h,
et-forest.c, expr.c, gimplify.c, global.c, gthr-lynx.h,
hard-reg-set.h, modulo-sched.c, optabs.c, postreload-gcse.c,
tree-data-ref.c, tree-flow.h, tree-if-conv.c, tree-inline.c,
tree-sra.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c,
tree-ssa-loop-niter.c, tree-ssa-operands.c,
tree-ssa-operands.h, tree-ssa-propagate.c,
tree-ssa-propagate.h, tree-ssa-threadupdate.c, value-prof.c,
vec.c, vec.h: Fix comment typos.  Follow spelling conventions.

From-SVN: r87104

20 years agotree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled.
Diego Novillo [Sun, 5 Sep 2004 11:43:42 +0000 (11:43 +0000)]
tree-if-conv.c (gate_tree_if_conversion): Enable only if the vectorizer is enabled.

* tree-if-conv.c (gate_tree_if_conversion): Enable only if the
vectorizer is enabled.

From-SVN: r87103

20 years agoRemove extra whitespace.
Andreas Jaeger [Sun, 5 Sep 2004 10:55:43 +0000 (12:55 +0200)]
Remove extra whitespace.

From-SVN: r87102

20 years ago* tree-if-conv.c: Spell check comments and clean up whitespace.
Andreas Jaeger [Sun, 5 Sep 2004 10:54:26 +0000 (12:54 +0200)]
* tree-if-conv.c: Spell check comments and clean up whitespace.

From-SVN: r87101

20 years agotree-ssa-loop-ivopts.c: New file.
Zdenek Dvorak [Sun, 5 Sep 2004 09:25:37 +0000 (11:25 +0200)]
tree-ssa-loop-ivopts.c: New file.

* tree-ssa-loop-ivopts.c: New file.
* Makefile.in (tree-ssa-loop-ivopts.c): Add.
* cfgloop.h (target_avail_regs, target_res_regs, target_small_cost,
target_pres_cost, target_spill_cost): Declare.
* cfgloopanal.c (avail_regs, res_regs, small_cost, pres_cost,
spill_cost): Renamed to ...
(target_avail_regs, target_res_regs, target_small_cost,
target_pres_cost, target_spill_cost): ... and exported.
(init_set_costs, global_cost_for_size): Work with renamed variables.
* common.opt (flag_ivopts): New flag.
* expr.c (expand_expr_real_1): Handle SSA_NAME case.  Handle
REF_ORIGINAL.
* gimplify.c (struct gimplify_ctx): Add into_ssa field.
(internal_get_tmp_var, gimplify_modify_expr, gimplify_expr): Support
generating SSA form.
(force_gimple_operand): New function.
* timevar.def (TV_TREE_LOOP_IVOPTS): New timevar.
* tree-cfg.c (stmt_bsi): New function.
* params.def (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND,
PARAM_IV_MAX_CONSIDERED_USES): New.
* tree-flow.h (stmt_bsi, tree_ssa_iv_optimize, split_loop_exit_edge,
bsi_insert_on_edge_immediate_loop. standard_iv_increment_position,
ip_end_pos, ip_normal_pos, force_gimple_operand): Declare.
* tree-gimple.c (is_gimple_formal_tmp_var): Accept ssa names.
* tree-nested.c (build_addr): Export.
* tree-optimize.c (init_tree_optimization_passes): Add
pass_iv_optimize.
* tree-pass.h (pass_iv_optimize): Declare.
* tree-ssa-loop-im.c (for_each_index): Handle REALPART_EXPR and
IMAGPART_EXPR.
* tree-ssa-loop-manip.c (create_iv): Force the base to be acceptable
as a phi node argument.
(split_loop_exit_edge, bsi_insert_on_edge_immediate_loop,
ip_end_pos, ip_normal_pos, standard_iv_increment_position): New
functions.
* tree-ssa-loop-niter.c (zero_p, unsigned_type_for): Export.
* tree-ssa-loop.c (tree_ssa_loop_ivopts, gate_tree_ssa_loop_ivopts,
pass_iv_optimize): New pass.
* tree-ssa-operands.c (get_indirect_ref_operands): Handle REF_ORIGINAL.
* tree-ssanames.c (release_ssa_name): Allow calling with var = NULL.
* tree.c (build_int_cst_type, cst_and_fits_in_hwi): New functions.
* tree.h (REF_ORIGINAL): New macro.
(build_int_cst_type, unsigned_type_for, zero_p,
cst_and_fits_in_hwi, build_addr): Declare.
* doc/invoke.texi (-fivopts): Document.
(PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND,
PARAM_IV_MAX_CONSIDERED_USES): Document.
* doc/passes.texi: Document induction variable optimizations pass.

* gcc.dg/tree-ssa/loop-2.c: New test.
* gcc.dg/tree-ssa/loop-3.c: New test.
* gcc.dg/tree-ssa/loop-4.c: New test.
* gcc.dg/tree-ssa/loop-5.c: New test.

From-SVN: r87100

20 years agonatNetworkInterfaceWin32.cc (getRealNetworkInterfaces): Changed pfn from static local...
Mohan Embar [Sun, 5 Sep 2004 03:36:19 +0000 (03:36 +0000)]
natNetworkInterfaceWin32.cc (getRealNetworkInterfaces): Changed pfn from static local to local.

* java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
Changed pfn from static local to local.

From-SVN: r87099

20 years agobuiltin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New.
Kaveh R. Ghazi [Sun, 5 Sep 2004 02:55:28 +0000 (02:55 +0000)]
builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New.

* builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New.
* builtins.def (BUILT_IN_EXECLE): Set ATTR_NOTHROW_SENTINEL_1.
* c-common.c (c_common_attribute_table): Accept parameters to
sentinel attribute.
(check_function_sentinel, handle_sentinel_attribute): Likewise.
* doc/extend.texi: Update accordingly.

testsuite:
* gcc.dg/format/sentinel-1.c: Update for parameter option.

From-SVN: r87098

20 years agoFix ChangeLog
Kaveh Ghazi [Sun, 5 Sep 2004 02:51:44 +0000 (02:51 +0000)]
Fix ChangeLog

From-SVN: r87097

20 years agobuiltin-attrs.def (ATTR_SENTINEL, [...]): New.
Kaveh Ghazi [Sun, 5 Sep 2004 02:50:09 +0000 (02:50 +0000)]
builtin-attrs.def (ATTR_SENTINEL, [...]): New.

gcc:
* builtin-attrs.def (ATTR_SENTINEL, ATTR_SENTINEL_NOTHROW_LIST):
New.
* builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP): Add `sentinel'
attribute.
* c-common.c (handle_sentinel_attribute, check_function_sentinel):
New functions.
(c_common_attribute_table): Add `sentinel' attribute.
(check_function_arguments): Handle `sentinel' attribute.
* doc/extend.texi: Document `sentinel' attribute.

gcc/testsuite:
* gcc.dg/format/sentinel-1.c: New test.

include:
* ansidecl.h (ATTRIBUTE_SENTINEL): Define.
* libiberty.h (concat, reconcat, concat_length, concat_copy,
concat_copy2): Use ATTRIBUTE_SENTINEL.

From-SVN: r87096

20 years agoDaily bump.
GCC Administrator [Sun, 5 Sep 2004 00:16:38 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r87094

20 years agomany_win32.c: Remove whitespaces.
Andreas Tobler [Sat, 4 Sep 2004 22:41:53 +0000 (00:41 +0200)]
many_win32.c: Remove whitespaces.

2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/many_win32.c: Remove whitespaces.
* testsuite/libffi.call/promotion.c: Likewise.
* testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup
whitespaces.
* testsuite/libffi.call/return_sc.c: Likewise.
* testsuite/libffi.call/return_uc.c: Likewise.

From-SVN: r87091

20 years agodarwin.S: Fix comments and identation.
Andreas Tobler [Sat, 4 Sep 2004 22:09:20 +0000 (00:09 +0200)]
darwin.S: Fix comments and identation.

2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/darwin.S: Fix comments and identation.
* src/powerpc/darwin_closure.S: Likewise.

From-SVN: r87090

20 years agorevert: fold-const.c (operand_equal_p): Remove code to allow null ARG0/1.
Richard Kenner [Sat, 4 Sep 2004 19:17:52 +0000 (15:17 -0400)]
revert: fold-const.c (operand_equal_p): Remove code to allow null ARG0/1.

Revert:
* fold-const.c (operand_equal_p): Remove code to allow null ARG0/1.
Define locals macros OP_SAME and OP_SAME_WITH_NULL and use throughout.

From-SVN: r87089

20 years ago* gimplify.c (internal_get_tmp_var): Remove unused var CLASS.
Richard Kenner [Sat, 4 Sep 2004 18:24:15 +0000 (18:24 +0000)]
* gimplify.c (internal_get_tmp_var): Remove unused var CLASS.

From-SVN: r87088

20 years agoconfigure: Regenerated.
H.J. Lu [Sat, 4 Sep 2004 14:43:45 +0000 (14:43 +0000)]
configure: Regenerated.

2004-09-04  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

From-SVN: r87087

20 years agoFix some too-long lines and move a comment.
Richard Kenner [Sat, 4 Sep 2004 13:18:16 +0000 (09:18 -0400)]
Fix some too-long lines and move a comment.

From-SVN: r87086

20 years agodecl.c (grok_declarator): Remove a redundant semicolon.
Kriang Lerdsuwanakij [Sat, 4 Sep 2004 12:43:27 +0000 (12:43 +0000)]
decl.c (grok_declarator): Remove a redundant semicolon.

* decl.c (grok_declarator): Remove a redundant semicolon.

* parser.c (cp_parser_decl_specifier_seq, cp_parser_type_specifier):
Correct comments describing function parameters.

From-SVN: r87085

20 years agoTrivial reformatting.
Richard Kenner [Sat, 4 Sep 2004 12:41:42 +0000 (08:41 -0400)]
Trivial reformatting.

From-SVN: r87084

20 years ago* tree.c (save_expr): No longer TREE_READONLY.
Richard Kenner [Sat, 4 Sep 2004 12:39:59 +0000 (12:39 +0000)]
* tree.c (save_expr): No longer TREE_READONLY.

From-SVN: r87083

20 years agofold-const.c (operand_equal_p): Remove code to allow null ARG0/1.
Richard Kenner [Sat, 4 Sep 2004 12:35:41 +0000 (12:35 +0000)]
fold-const.c (operand_equal_p): Remove code to allow null ARG0/1.

* fold-const.c (operand_equal_p): Remove code to allow null ARG0/1.
Define locals macros OP_SAME and OP_SAME_WITH_NULL and use throughout.

From-SVN: r87082

20 years agopasses.c (rest_of_clean_state): Fix merge conflict made during commiting the patch.
Jan Hubicka [Sat, 4 Sep 2004 10:12:42 +0000 (12:12 +0200)]
passes.c (rest_of_clean_state): Fix merge conflict made during commiting the patch.

* passes.c (rest_of_clean_state):  Fix merge conflict made during
commiting the patch.

From-SVN: r87081

20 years ago* passes.c (rest_of_clean_state): Decompose the instruction stream.
Jan Hubicka [Sat, 4 Sep 2004 09:05:53 +0000 (11:05 +0200)]
* passes.c (rest_of_clean_state):  Decompose the instruction stream.

From-SVN: r87080

20 years agomd.texi (shift patterns): New anchor.
Richard Sandiford [Sat, 4 Sep 2004 08:50:36 +0000 (08:50 +0000)]
md.texi (shift patterns): New anchor.

* doc/md.texi (shift patterns): New anchor.  Add reference to
TARGET_SHIFT_TRUNCATION_MASK.
* doc/tm.texi (TARGET_SHIFT_TRUNCATION_MASK): Document.
* target.h (shift_truncation_mask): New target hook.
* targhook.h (default_shift_truncation_mask): Declare.
* targhook.c (default_shift_truncation_mask): Define.
* target-def.h (TARGET_SHIFT_TRUNCATION_MASK): Define.
(TARGET_INITIALIZER): Include it.
* simplify-rtx.c (simplify_binary_operation): Combine ASHIFT, ASHIFTRT
and LSHIFTRT cases.  Truncate arg1 if SHIFT_COUNT_TRUNCATED, otherwise
reject all out-of-range values.  Fix sign-extension code for modes
whose width is smaller than HOST_BITS_PER_WIDE_INT.
* optabs.c (simplify_expand_binop, force_expand_binop): New functions.
(expand_superword_shift, expand_subword_shift): Likewise.
(expand_doubleword_shift_condmove, expand_doubleword_shift): Likewise.
(expand_binop): Use them to implement double-word shifts.
* config/arm/arm.c (arm_shift_truncation_mask): New function.
(TARGET_SHIFT_TRUNCATION_MASK): Define.

From-SVN: r87079

20 years agotree.c (iterate_hash_expr): Optimize, avoid use of iterative_hash_object.
Jan Hubicka [Sat, 4 Sep 2004 08:42:06 +0000 (10:42 +0200)]
tree.c (iterate_hash_expr): Optimize, avoid use of iterative_hash_object.

* tree.c (iterate_hash_expr): Optimize, avoid use of iterative_hash_object.
(mix): New macro copied from hashtab.c
(iterative_hash_hashval_t, iterative_hash_pointer,
iterative_hash_host_wide_int): New functions based on hashtab.c
implementation.

From-SVN: r87078

20 years agomips.md (mask): New mode attribute.
Richard Sandiford [Sat, 4 Sep 2004 08:00:32 +0000 (08:00 +0000)]
mips.md (mask): New mode attribute.

* config/mips/mips.md (mask): New mode attribute.
(zero_extendsidi2): Add memory alternative.
(*zero_extendsidi2_mem): Delete.
(zero_extend[qh]i[sd]i2): Redefine using :GPR and :SHORT.  Use
memory_operand in the TARGET_MIPS16 check.
(*zero_extend[qh]i[sd]i2{,_mips16}): Name previously unnamed patterns.
Redefine using :GPR and :SHORT.
(zero_extendqihi2): Use memory_operand in the TARGET_MIPS16 check.

From-SVN: r87077

20 years agobuiltins.c (expand_builtin_mathfn): Handle BUILT_IN_RINT{,F,L} using rint_optab.
Uros Bizjak [Sat, 4 Sep 2004 07:55:12 +0000 (09:55 +0200)]
builtins.c (expand_builtin_mathfn): Handle BUILT_IN_RINT{,F,L} using rint_optab.

2004-09-04  Uros Bizjak  <uros@kss-loka.si>

* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_RINT{,F,L}
using rint_optab.
(expand_builtin): Expand BUILT_IN_RINT{,F,L} using
expand_builtin_mathfn.
* genopinit.c (optabs): Rename trunc_optab to btrunc_optab. Use
btrunc?f patterns for btrunc_optab. Implement rint_optab using
rint?f patterns.
* optabs.c (init_optabs): Initialize rint_optab.
* optabs.h (enum optab_index): Rename OTI_trunc to OTI_btrunc.
Add new OTI_rint.
(btrunc_optab): Rename macro from trunc_optab.
(rint_optab): Define corresponding macro.

* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT_FLOOR,
UNSPEC_FRNDINT_CEIL, UNSPEC_FRNDINT_TRUNC, UNSPEC_FRNDINT_MASK_PM.

* config/i386/i386-protos.h (emit_i387_cw_initialization):
Change prototype. Add new int parameter.
* config/i386/i386.c (emit_i387_cw_initialization):
Handle new rounding modes.

* config/i386/i386.h (enum fp_cw_mode): Delete.
(MODE_NEEDED): Handle new rounding modes.
(EMIT_MODE_SET): Change condition to handle new rounding modes.

* config/i386/i386.md (UNSPEC_FRNDINT_FLOOR, UNSPEC_FRNDINT_CEIL,
UNSPEC_FRNDINT_TRUNC, UNSPEC_FRNDINT_MASK_PM): New unspecs to
represent different rounding modes of frndint insn.
(type): Add frndint type.
(i387, length, memory): Handle this type.
(i387_cw): New attribute definition.
(*fix_truncdi_1, fix_truncdi_nomemory, fix_truncdi_memory,
*fix_truncsi_1, fix_truncsi_nomemory, fix_truncsi_memory,
*fix_trunchi_1, fix_trunchi_nomemory, fix_trunchi_memory):
Add "i387_cw" attribute defined to "trunc".
(x86_fnstcw_1): Remove comment.
(*frndintxf2): Rename insn definition to frndintxf2. Move
insn definition near rint?f2 expanders.
(rintdf2, rintsf2, rintxf2): New expanders to implement rint,
rintf and rintl built-ins as inline x87 intrinsics.
(frndintxf2_floor): New pattern to implement floor rounding
mode with frndint x87 instruction.
(floordf2, floorsf2, floorxf2): New expanders to implement floor,
floorf and floorl built-ins as inline x87 intrinsics.
(frndintxf2_ceil): New pattern to implement ceil rounding
mode with frndint x87 instruction.
(ceildf2, ceilsf2, ceilxf2): New expanders to implement ceil,
ceilf and ceill built-ins as inline x87 intrinsics.
(frndintxf2_trunc): New pattern to implement trunc rounding
mode with frndint x87 instruction.
(btruncdf2, btruncsf2, btruncxf2): New expanders to implement trunc,
truncf and truncl built-ins as inline x87 intrinsics.
(frndintxf2_mask_pm): New pattern to implement rounding
mode with exceptions with frndint x87 instruction.
(nearbyintdf2, nearbyintsf2, nearbyintxf2): New expanders to
implement nearbyint, nearbyintf and nearbyintl built-ins as
inline x87 intrinsics.

* testsuite/gcc.dg/builtins-46.c: New.

From-SVN: r87076

20 years agomips.md (SHORT): New mode macro.
Richard Sandiford [Sat, 4 Sep 2004 07:28:15 +0000 (07:28 +0000)]
mips.md (SHORT): New mode macro.

* config/mips/mips.md (SHORT): New mode macro.
(size): New mode attribute.
(extend[qh]i[sd]i2): Redefine using :GPR and :SHORT.
(*extend[qh]i[sd]i2): New define_insn_and_split, combining previous
*extend[qh]i[sd]i2 and *extend[qh]i[sd]i2_mem patterns.  Use only if
!ISA_HAS_SEB_SEH.
(*extend[qh]i[sd]i2_se[bh]): New pattern, combining previous
*extend[qh]isi2_hw patterns and extending them to di.
(extendqihi2): Implement as define_insn_and_split that produces
extendqisi2 after reload.

From-SVN: r87075

20 years agore PR libgcj/17290 (Wrong Java dependencies are generated)
Bryce McKinlay [Sat, 4 Sep 2004 03:30:12 +0000 (03:30 +0000)]
re PR libgcj/17290 (Wrong Java dependencies are generated)

2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
            H.J. Lu  <hongjiu.lu@intel.com>

PR libgcj/17290
* Makefile.am (GCJCOMPILE): Remove definition.
(AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
* Makefile.in: Rebuilt.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r87074

20 years agoTree level if-conversion for vectorizer.
Devang Patel [Sat, 4 Sep 2004 03:27:01 +0000 (20:27 -0700)]
Tree level if-conversion for vectorizer.

        * Makefile.in (OBJS-common): Add tree-if-conv.o
        (tree-if-conv.o): New rule.
        * cfgloop.c (flow_loop_exit_edges_find): Set EDGE_LOOP_EXIT flag.
        (get_loop_body_in_bfs_order): New.
        * cfgloop.h (get_loop_body_in_bfs_order): New.
        * tree-flow.h (enum move_pos): Move here from ..
        * tree-ssa-loop-im.c (enum move_pos): here.
        (movement_possibility): Make externally visible.
        * tree-optimize.c (init_tree_optimization_passes): New entry for
        if conversion pass.
        * tree-pass.h (pass_if_conversion): New.
        * tree-ssa-operands.c (get_expr_operands): Handle COND_EXPR.
        * tree-if-conv.c: New file.
        * doc/passes.texi: Document tree if-conversion pass.
        * doc/tree-ssa.texi: Same.

        testsuite:

        * gcc.dg/tree-ssa/ifc-20040816-1.c: New test.
        * gcc.dg/tree-ssa/ifc-20040816-2.c: New test.

From-SVN: r87073

20 years agoconfigure.ac (enable-gc-debug): Update help for new syntax.
Kelley Cook [Sat, 4 Sep 2004 00:23:29 +0000 (00:23 +0000)]
configure.ac (enable-gc-debug): Update help for new syntax.

2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>

* configure.ac (enable-gc-debug): Update help for new syntax.
* configure: Regenerate.

From-SVN: r87071

20 years agoDaily bump.
GCC Administrator [Sat, 4 Sep 2004 00:16:18 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r87069

20 years agore PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1)
H.J. Lu [Sat, 4 Sep 2004 00:15:42 +0000 (00:15 +0000)]
re PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1)

2004-09-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/14925:
Makefile.in (LIB2ADDEHSTATIC): New.
(LIB2ADDEHSHARED): New.
(LIBUNWIND): New.
(LIBUNWINDDEP): New.
(SHLIBUNWIND_LINK): New.
(SHLIBUNWIND_INSTALL): New.
(libgcc.mk): Pass LIB2ADDEHSTATIC, LIB2ADDEHSHARED, LIBUNWIND,
LIBUNWINDDEP, SHLIBUNWIND_LINK and SHLIBUNWIND_INSTALL.
(clean): Remove libunwind*
(stage1-start): Remove and copy stage1/libunwind*.
(stage2-start): Remove and copy stage2/libunwind*.
(stage3-start): Remove and copy stage3/libunwind*.
(stage4-start): Remove and copy stage4/libunwind*.
(stageprofile-start): Remove and copy stageprofile/libunwind*.
(stagefeedback-start): Remove and copy stagefeedback/libunwind*.

* config.gcc (ia64*-*-linux*): Always add t-libunwind to
tmake_file. Add t-libunwind-elf and ia64/t-glibc-libunwind to
tmake_file if --with-system-libunwind isn't used.

* config/ia64/t-glibc-libunwind: New file.
* config/t-libunwind-elf: Likewise.
* unwind-compat.c: Likewise.
* unwind-compat.h: Likewise.
* unwind-dw2-fde-compat.c: Likewise.

* config/ia64/t-glibc (LIB2ADDEH): Updated.
* config/ia64/t-hpux (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS.

* config/ia64/unwind-ia64.c: Include "unwind-compat.h". Define
aliases if needed.
* unwind-dw2-fde-glibc.c: Likewise.
* unwind-dw2.c: Likewise.

* config/t-libunwind (LIB2ADDEH): Updated.
(LIB2ADDEHSTATIC): New.
(T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS.
(TARGET_LIBGCC2_CFLAGS): Set to -DUSE_GAS_SYMVER.

* configure.ac: Change --enable-libunwind-exceptions to
--with-system-libunwind. Don't define USE_LIBUNWIND_EXCEPTIONS.
* configure: Regenerated.
* config.in: Updated.

* doc/install.texi (ia64-*-linux): Require libunwind 0.98 or
above and mention --with-system-libunwind.
(ia64-*-hpux*): Mention --enable-libunwind-exceptions is
removed in gcc 3.4.3 and later.

* gcc.c (init_spec): Add -lunwind to -lgcc_s if
USE_LIBUNWIND_EXCEPTIONS is defined.

* mklibgcc.in: Support libunwind.

From-SVN: r87066

20 years agoi386.c (x86_branch_hints): Remove m_PENT4 and m_NOCONA.
H.J. Lu [Sat, 4 Sep 2004 00:11:10 +0000 (00:11 +0000)]
i386.c (x86_branch_hints): Remove m_PENT4 and m_NOCONA.

2004-09-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (x86_branch_hints): Remove m_PENT4 and
m_NOCONA.

From-SVN: r87065

20 years agore PR middle-end/9997 (Coelesce stack slots for disjoint scopes.)
Richard Henderson [Fri, 3 Sep 2004 23:50:11 +0000 (16:50 -0700)]
re PR middle-end/9997 (Coelesce stack slots for disjoint scopes.)

        PR middle-end/9997
        * cfgexpand.c (LOCAL_ALIGNMENT): Provide default.
        (STACK_ALIGNMENT_NEEDED, FRAME_GROWS_DOWNWARD): Likewise.
(struct stack_var, EOC, stack_vars, stack_vars_alloc, stack_vars_num,
        stack_vars_sorted, stack_vars_conflict, stack_vars_conflict_alloc,
        frame_phase, get_decl_align_unit, add_stack_var, triangular_index,
        resize_stack_vars_conflict, add_stack_var_conflict,
        stack_var_conflict_p, add_alias_set_conflicts, stack_var_size_cmp,
        union_stack_vars, partition_stack_vars, dump_stack_var_partition,
        expand_one_stack_var_at, expand_stack_vars, expand_one_stack_var,
        expand_one_static_var, expand_one_hard_reg_var,
        expand_one_register_var, expand_one_error_var, defer_stack_allocation,
        expand_one_var, expand_used_vars_for_block, clear_tree_used): New.
        (expand_used_vars): Rewrite.
        * Makefile.in (cfgexpand.o): Update dependencies.

From-SVN: r87064

20 years agoCompile speed improvement.
Matt Austern [Fri, 3 Sep 2004 23:12:38 +0000 (23:12 +0000)]
Compile speed improvement.

* parser.c (cp_lexer_print_token): Only define if ENABLE_CHECKING set.
Otherwise define a stub macro that expands to nothing.
(cp_lexer_debugging_p): Only define if ENABLE_CHECKING set.  Otherwise
define a stub macro that expands to 0.
(cp_lexer_start_debugging): Only define if ENABLE_CHECKING set.
(cp_lexer_stop_debugging): Likewise.
(cp_lexer_debug_stream): Only define if ENABLE_CHECKING set.  Otherwise
define a stub macro that expands to NULL.
(cp_lexer_new_main): Only set debugging_p if ENABLE_CHECKING set.
(cp_lexer_new_from_tokens): Likewise.

From-SVN: r87059

20 years agocfg.c (free_edge): Use ggc_free.
Jan Hubicka [Fri, 3 Sep 2004 22:38:33 +0000 (00:38 +0200)]
cfg.c (free_edge): Use ggc_free.

2004-09-04  Jan Hubicka  <jh@suse.cz>

* cfg.c (free_edge): Use ggc_free.
(expunge_block): Use ggc_free.
* passes.c (rest_of_clean_state): Free after compilation.
* tree-ssa.c (delete_tree_ssa): Free annotations; call release_defs
* tree-ssanames.c (release_defs): Ignore non-SSA_NAME arguments.

From-SVN: r87058

20 years agoFix aliasing bug that also caused memory usage problems.
James E Wilson [Fri, 3 Sep 2004 22:33:46 +0000 (22:33 +0000)]
Fix aliasing bug that also caused memory usage problems.

* tree-ssa-alias.c (may_be_aliased): Move TREE_STATIC check after
DECL_EXTERNAL check.

From-SVN: r87057

20 years agofinal.c (output_in_slot): New global variable.
Eric Botcazou [Fri, 3 Sep 2004 22:23:32 +0000 (00:23 +0200)]
final.c (output_in_slot): New global variable.

* final.c (output_in_slot): New global variable.
(final_scan_insn): Add new state '2' to the 'nopeepholes' parameter.
Pass 2 as 'nopeepholes' to self for insns in a SEQUENCE.  Set
'output_in_slot' before invoking output_asm_insn.
(output_asm_insn): Add a space after the tab if 'output_in_slot'
is set.
* config/sparc/sparc.c (output_return): Pass 2 as 'nopeepholes' to
final_scan_insn.
(output_sibcall): Likewise.

From-SVN: r87056

20 years ago* decl.c (finish_function): Clean out pointers we no longer need.
Jan Hubicka [Fri, 3 Sep 2004 20:37:03 +0000 (22:37 +0200)]
* decl.c (finish_function): Clean out pointers we no longer need.

From-SVN: r87055

20 years agotree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays.
Jan Hubicka [Fri, 3 Sep 2004 20:36:02 +0000 (22:36 +0200)]
tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays.

* tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays.
* tree-ssanames (init_ssanames): Likewise.

From-SVN: r87054

20 years agoconfig-lang.in: Update copyright notice.
Ziemowit Laski [Fri, 3 Sep 2004 20:30:37 +0000 (20:30 +0000)]
config-lang.in: Update copyright notice.

[gcc/objc/ChangeLog]
2004-09-03  Ziemowit Laski  <zlaski@apple.com>

* config-lang.in: Update copyright notice.
(lang_requires): Indicate that ObjC requires C to be built first.

From-SVN: r87053

20 years agoMAINTAINERS (Various Maintainers): Remove myself as web page maintainer...
Janis Johnson [Fri, 3 Sep 2004 20:24:02 +0000 (20:24 +0000)]
MAINTAINERS (Various Maintainers): Remove myself as web page maintainer...

2004-09-03  Janis Johnson  <janis187@us.ibm.com>

* MAINTAINERS (Various Maintainers): Remove myself as web page
maintainer, add myself as maintainer of build status lists.

From-SVN: r87052

20 years agostub-objc.c (objc_is_id, [...]): New stubs.
Ziemowit Laski [Fri, 3 Sep 2004 20:17:50 +0000 (20:17 +0000)]
stub-objc.c (objc_is_id, [...]): New stubs.

[gcc/ChangeLog]
2004-09-03  Ziemowit Laski  <zlaski@apple.com>

* stub-objc.c (objc_is_id, objc_declare_alias, objc_declare_class,
objc_declare_protocols, objc_start_protocol,
objc_start_class_interface, objc_start_category_interface,
objc_continue_interface, objc_finish_interface,
objc_add_instance_variable, objc_set_visibility, objc_set_method_type,
objc_start_class_implementation, objc_start_category_implementation,
objc_continue_implementation, objc_finish_implementation,
objc_add_method_declaration, objc_start_method_definition,
objc_finish_method_definition, objc_build_keyword_decl,
objc_build_method_signature, objc_build_encode_expr,
objc_build_protocol_expr, objc_build_selector_expr,
objc_build_message_expr, objc_build_string_object,
objc_get_class_reference, objc_get_protocol_qualified_type,
objc_static_init_needed_p, objc_generate_static_init_call): New stubs.

From-SVN: r87051

20 years agoMore MIPS vector cleanup work.
James E Wilson [Fri, 3 Sep 2004 20:12:29 +0000 (20:12 +0000)]
More MIPS vector cleanup work.

* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips3d.
* config/mips/generic.md (generic_frecip_fsqrt_step): New.
* config/mips/mips-ps-3d.md (mips_rsqrt1_<fmt>): Use frsqrt1 type.
(mips_rsqrt2_<fmt>): Use frsqrt2 type.
(mips_recip1_<fmt>): Use frdiv1 type.
(mips_recip2_<fmt>): Use frdiv2 type.
* config/mips/mips.md (type): Add frdiv1, frdiv2, frsqrt1, frsqrt2.
* config/mips/sb1.md (ir_sb1_fpu_2pipes, ir_sb1_fpu_1pipe): Add frdiv1
and frsqrt1.
(ir_sb1_fpu_step2_2pipes, ir_sb1_fpu_step2_1pipe): New.

From-SVN: r87050

20 years agoreload.c (find_reloads): Swap operand_loc pointers for find_dummy_reload if we have...
Daniel Jacobowitz [Fri, 3 Sep 2004 19:34:15 +0000 (19:34 +0000)]
reload.c (find_reloads): Swap operand_loc pointers for find_dummy_reload if we have swapped two operands.

* reload.c (find_reloads): Swap operand_loc pointers for
find_dummy_reload if we have swapped two operands.

From-SVN: r87049

20 years agocris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn to get the tablejump-insn before...
Hans-Peter Nilsson [Fri, 3 Sep 2004 19:24:41 +0000 (19:24 +0000)]
cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn to get the tablejump-insn before the jump-table label.

* config/cris/cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn
to get the tablejump-insn before the jump-table label.

From-SVN: r87048

20 years agomips-signal.h: Update copyright.
David Daney [Fri, 3 Sep 2004 19:08:47 +0000 (19:08 +0000)]
mips-signal.h: Update copyright.

2004-09-03  David Daney  <ddaney@avtrex.com>

* include/mips-signal.h: Update copyright.

From-SVN: r87047

20 years agoc-common.h (objc_is_id, [...]): New prototypes.
Ziemowit Laski [Fri, 3 Sep 2004 19:04:05 +0000 (19:04 +0000)]
c-common.h (objc_is_id, [...]): New prototypes.

[gcc/ChangeLog]
2004-09-03  Ziemowit Laski  <zlaski@apple.com>

* c-common.h (objc_is_id, objc_declare_alias, objc_declare_class,
objc_declare_protocols, objc_build_message_expr,
objc_finish_message_expr, objc_build_selector_expr,
objc_build_protocol_expr, objc_build_encode_expr,
objc_build_string_object, objc_get_protocol_qualified_type,
objc_get_class_reference, objc_get_class_ivars,
objc_start_class_interface, objc_start_category_interface,
objc_start_protocol, objc_continue_interface, objc_finish_interface,
objc_start_class_implementation, objc_start_category_implementation,
objc_continue_implementation, objc_finish_implementation,
objc_set_visibility, objc_set_method_type, objc_build_method_signature,
objc_add_method_declaration, objc_start_method_definition,
objc_finish_method_definition, objc_add_instance_variable,
objc_build_keyword_decl, objc_build_throw_stmt, objc_begin_try_stmt,
objc_finish_try_stmt, objc_begin_catch_clause,
objc_finish_catch_clause, objc_build_finally_clause,
objc_build_synchronized, objc_static_init_needed_p,
objc_generate_static_init_call): New prototypes.

From-SVN: r87046

20 years agocshift0.c (DEF_COPY_LOOP, [...]): New.
Richard Henderson [Fri, 3 Sep 2004 19:03:43 +0000 (12:03 -0700)]
cshift0.c (DEF_COPY_LOOP, [...]): New.

        * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
        copy_loop_double, copy_loop_ldouble): New.
        (__cshift0): Make shift type ssize_t.  Use % operator instead of
        div.  Use specialized versions of copy loop depending on the shape.

From-SVN: r87045

20 years agoconfigure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware...
Jan Beulich [Fri, 3 Sep 2004 18:10:08 +0000 (18:10 +0000)]
configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware...

/
        * configure.in: Remove target-libstdc++-v3 from noconfigdirs for
        *-*-netware, but add target-libmudflap.
        Consolidate *-*-netware targets (of which really only i?86 exists)
        into a single entry.
        * configure: Likewise.
gcc/
        * config.gcc: Resurrect NetWare as a target. Handle special case of
        Novell linker to be used (specified through --with-ld=) and threading
        model of either Posix (default) or NKS.
        * config/i386/i386.c (ix86_return_pops_args): Conditionalize popping
        of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER.
        * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New.
        * config/i386/netware.c, config/i386/netware.h: New.
        * config/i386/nwld.c, config/i386/nwld.h: New.
        * config/i386/netware-crt0.c: New.
        * config/i386/netware-libgcc.c: New.
        * config/i386/netware-libgcc.def: New.
        * config/i386/netware-libgcc.exp: New.
        * config/i386/t-netware, config/i386/t-nwld: New.
        * gthr-nks.h: New.
        * doc/install.texi: Document NKS threading model.
gcc/cp/
        * g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather
        than "-lm".
gcc/testsuite/
        * g++.dg/abi/bitfield5.C: Use -mno-ms-bitfields.
        * g++.old-deja/g++.jason/thunk2.C: xfail for NetWare.
        * g++.old-deja/g++.law/profile1.C: xfail for NetWare.
        * g++.old-deja/g++.other/store-expr1.C: xfail for NetWare.
        * gcc.c-torture/compile/20001109-1.c: xfail for NetWare.
        * gcc.c-torture/compile/20001109-2.c: xfail for NetWare.
        * gcc.c-torture/execute/multi-ix.c: Use __builtin_bzero rather than
        the non-portable bzero.
        * gcc.dg/20010912-1.c: xfail for NetWare.
        * gcc.dg/20020426-2.c: xfail for NetWare.
        * gcc.dg/20021014-1.c: xfail for NetWare.
        * gcc.dg/20021018-1.c: xfail for NetWare.
        * gcc.dg/20030213-1.c: xfail for NetWare.
        * gcc.dg/20030225-1.c: xfail for NetWare.
        * gcc.dg/20030708-1.c: xfail for NetWare.
        * gcc.dg/builtins-config.h: Also exclude NetWare.
        * gcc.dg/format/format.h: Define restrict only if not already defined.
        * gcc.dg/nest.c: xfail for NetWare.
        * gcc.dg/special/gcsec-1.c: Don't pass -static for NetWare.
        * lib/target-supports.exp (check_visibility_available): Exclude
        NetWare.
fixincludes/
        * inclhack.def: Suppress exception_structure and math_exception
        for NetWare headers.
        * fixincl.x: Regenerate.
libstdc++-v3/
        * crossconfig.m4: Add NetWare as a target.
        * configure: Regenerate.

From-SVN: r87040

20 years agoconfigure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
David Daney [Fri, 3 Sep 2004 17:58:52 +0000 (17:58 +0000)]
configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.

2004-09-03  David Daney  <ddaney@avtrex.com>

* configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
* include/mips-signal.h: Added HANDLE_FPE support.

From-SVN: r87039

20 years agoia64.c (ia64_function_arg): Use PARALLEL even if there is only one reg.
Steve Ellcey [Fri, 3 Sep 2004 17:52:08 +0000 (17:52 +0000)]
ia64.c (ia64_function_arg): Use PARALLEL even if there is only one reg.

* config/ia64/ia64.c (ia64_function_arg): Use PARALLEL even if there
is only one reg.
(ia64_function_value): Ditto.

From-SVN: r87038

20 years agore PR c/7054 (#pragma pack handled incorrectly)
Jan Beulich [Fri, 3 Sep 2004 17:22:40 +0000 (17:22 +0000)]
re PR c/7054 (#pragma pack handled incorrectly)

        PR c/7054
        * defaults.h (TARGET_DEFAULT_PACK_STRUCT): Provide default.
        * tree.h (initial_max_fld_align): Declare
        * stor-layout.c (initial_max_fld_align): Define and initialize.
        (maximum_field_alignment): Initialize to the same value.
        * common.opt: Add -fpack-struct= variant of switch.
        * opts.c: Handle -fpack-struct= variant of switch.
        * c-pragma.c: Change #pragma pack() handling so that it becomes
        compatible to other compilers: accept individual 'push' argument,
        make final pop restore (command line) default, correct interaction
        of push/pop and sole specification of a new alignment (so that the
        sequence #pragma pack(push) - #pragma pack(<n>) becomes identical
        to #pragma pack(push, <n>).
        * doc/extend.texi: New node "Structure-Packing Pragmas" under
        "Pragmas", describing #pragma pack.
        * doc/invoke.texi: Document -fpack-struct=<n> variant of switch.
        * doc/tm.texi: Adjust description for HANDLE_PRAGMA_PACK_PUSH_POP.
        Document new TARGET_DEFAULT_PACK_STRUCT.
testsuite:
        * gcc.dg/pack-test-2.c: Adjust to permit and check #pragma pack(push).
        * gcc.dg/c99-flex-array-4.c: Add -fpack-struct=8 to provide a
        deterministic starting point for the alignment of structure fields.
        * gcc.dg/Wpadded.c: Dito.
        * g++.dg/abi/vbase10.C: Dito.

From-SVN: r87037

20 years agodwarf2out.c (gen_field_die): Equate decl number to die.
Devang Patel [Fri, 3 Sep 2004 17:10:40 +0000 (10:10 -0700)]
dwarf2out.c (gen_field_die): Equate decl number to die.

        * dwarf2out.c (gen_field_die): Equate decl number to die.
        * g++.dg/debug/pr15736.cc: New test.

From-SVN: r87036

20 years agore PR target/15832 (ICE in move_for_stack_reg, at reg-stack.c:1120)
Vladimir Makarov [Fri, 3 Sep 2004 14:45:23 +0000 (14:45 +0000)]
re PR target/15832 (ICE in move_for_stack_reg, at reg-stack.c:1120)

2004-09-03  Vladimir Makarov  <vmakarov@redhat.com>

PR target/15832
* global.c (modify_reg_pav): New function.
(make_accurate_live_analysis): Call the new function.  Move pavin
modification by earlyclobber set into the new function.

From-SVN: r87035

20 years agoCommit forgotten file
Daniel Berlin [Fri, 3 Sep 2004 13:53:22 +0000 (13:53 +0000)]
Commit forgotten file

From-SVN: r87033

20 years agom68k.c (output_andsi3): Use -1 instead of (HOST_WIDE_INT)0xffffffff since CONST_INT...
Andreas Schwab [Fri, 3 Sep 2004 08:57:35 +0000 (08:57 +0000)]
m68k.c (output_andsi3): Use -1 instead of (HOST_WIDE_INT)0xffffffff since CONST_INT value are always...

* config/m68k/m68k.c (output_andsi3): Use -1 instead of
(HOST_WIDE_INT)0xffffffff since CONST_INT value are always sign
extended.

From-SVN: r87031

20 years agoconfigure: Regenerate.
Paolo Bonzini [Fri, 3 Sep 2004 06:52:06 +0000 (06:52 +0000)]
configure: Regenerate.

2004-09-03  Paolo Bonzini  <bonzini@gnu.org>

        * configure: Regenerate.

From-SVN: r87030

20 years ago* README.QMTEST: Fix out-of-date link.
Mark Mitchell [Fri, 3 Sep 2004 05:58:19 +0000 (05:58 +0000)]
* README.QMTEST: Fix out-of-date link.

From-SVN: r87027

20 years agoMakefile.in (LIB2ADDEHDEP): Add unwind.h and unwind-pe.h.
Jan Beulich [Fri, 3 Sep 2004 05:26:27 +0000 (22:26 -0700)]
Makefile.in (LIB2ADDEHDEP): Add unwind.h and unwind-pe.h.

        * Makefile.in (LIB2ADDEHDEP): Add unwind.h and unwind-pe.h.
        * mklibgcc.in (libgcc_dep): New, covering general dependencies, but
        not unwind code specific ones.
        (libgcc2_c_dep): Replace general dependencies with use of libgcc_dep.
        Remove unwind code specific dependencies.
        (libgcov_c_dep): Replace general dependencies with use of libgcc_dep.
        Remove gbl-ctors.h.
        Add libgcc_dep to output generated for LIB2ADD, LIB2ADDEH, and
        LIB2ADD_ST. Add LIB2ADDEHDEP to output generated for LIB2ADDEH.

From-SVN: r87026

20 years agocombine.c (try_combine): Delay modifying of insns which cannot be easily undone.
Roman Zippel [Fri, 3 Sep 2004 04:12:12 +0000 (04:12 +0000)]
combine.c (try_combine): Delay modifying of insns which cannot be easily undone.

        * combine.c (try_combine): Delay modifying of insns which cannot
        be easily undone.

From-SVN: r87025

20 years agore PR fortran/16579 (gfortran: (ICHAR(CHAR(I)) .NE. I) when 128 <= I <= 255)
David Billinghurst [Fri, 3 Sep 2004 03:29:10 +0000 (03:29 +0000)]
re PR fortran/16579 (gfortran: (ICHAR(CHAR(I)) .NE. I)  when 128 <= I <= 255)

2004-09-03  David Billinghurst <David.Billinghurst@riotinto.com>

PR fortran/16579
* gfortran.fortran-torture/execute/intrinsic_i_char.f90:
Delete.  Duplicate of gfortran.dg/g77/20010610.f

From-SVN: r87024

20 years agocommon.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to tree-loop-im.
Daniel Berlin [Fri, 3 Sep 2004 02:19:40 +0000 (02:19 +0000)]
common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to tree-loop-im.

2004-09-02  Daniel Berlin  <dberlin@dberlin.org>

* gcc/common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to
tree-loop-im.
* gcc/tree-ssa-loop.c: Ditto
* gcc/tree-ssa-loop-ivcanon.c: Ditto
* gcc/doc/invoke.texi: Ditto.

From-SVN: r87023

20 years agoc-decl.c (store_parm_decls_newstyle): Make static.
Ziemowit Laski [Fri, 3 Sep 2004 02:07:18 +0000 (02:07 +0000)]
c-decl.c (store_parm_decls_newstyle): Make static.

[gcc/ChangeLog]
2004-09-02  Ziemowit Laski  <zlaski@apple.com>

        * c-decl.c (store_parm_decls_newstyle): Make static.
        (store_parm_decls_from): New function.
        * c-tree.h (store_parm_decls_newstyle): Remove prototype.
        (store_parm_decls_from): New prototype.

From-SVN: r87022

20 years agors6000.c (expand_block_move): Use SImode and HImode with STRICT_ALIGNMENT.
David Edelsohn [Fri, 3 Sep 2004 01:12:30 +0000 (01:12 +0000)]
rs6000.c (expand_block_move): Use SImode and HImode with STRICT_ALIGNMENT.

        * config/rs6000/rs6000.c (expand_block_move): Use SImode and
        HImode with STRICT_ALIGNMENT.

From-SVN: r87021

20 years agobpabi.h (TARGET_BPABI_CPP_BUILTINS): Define.
Mark Mitchell [Fri, 3 Sep 2004 00:43:59 +0000 (00:43 +0000)]
bpabi.h (TARGET_BPABI_CPP_BUILTINS): Define.

* config/arm/bpabi.h (TARGET_BPABI_CPP_BUILTINS): Define.
(TARGET_OS_CPP_BUILTINS): Likewise.
* config/arm/symbian.h (TARGET_OS_CPP_BUILTINS): Include
TARGET_BPABI_CPP_BUILTINS.

* g++.dg/abi/arm_rtti1.C: New test.

* libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already
defined.

[[Split portion of a mixed commit.]]

From-SVN: r87018.2

20 years agoDaily bump.
GCC Administrator [Fri, 3 Sep 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r87005

20 years ago* combine.c (distribute_notes): Don't add REG_LABEL to jump insn.
Roman Zippel [Thu, 2 Sep 2004 23:55:09 +0000 (23:55 +0000)]
* combine.c (distribute_notes): Don't add REG_LABEL to jump insn.

From-SVN: r87002

20 years agobuiltins.c (expand_builtin_cabs): Delete.
Eric Christopher [Thu, 2 Sep 2004 23:22:12 +0000 (23:22 +0000)]
builtins.c (expand_builtin_cabs): Delete.

2004-09-02  Eric Christopher  <echristo@redhat.com>

* builtins.c (expand_builtin_cabs): Delete.
(expand_builtin): If unable to fold the values do a normal
library call for builtin_cab*.
(fold_builtin_cabs): Depend on optimize and optimize_size.
* optabs.c (expand_cmplxdiv_straight): Delete.
(expand_cmplxdiv_wide): Ditto.
(expand_vector_binop): Ditto.
(expand_vector_unop): Ditto.
(expand_complex_abs): Delete.
(expand_binop): Remove calls to above functions.
Remove open coding of complex arithmetic.
(expand_unop): Ditto.
* optabs.h: Remove prototypes.

From-SVN: r87000

20 years agoc-decl.c (store_parm_decls_newstyle): Make externally visible.
Ziemowit Laski [Thu, 2 Sep 2004 23:13:43 +0000 (23:13 +0000)]
c-decl.c (store_parm_decls_newstyle): Make externally visible.

[gcc/ChangeLog]
2004-09-02  Ziemowit Laski  <zlaski@apple.com>

        * c-decl.c (store_parm_decls_newstyle): Make externally visible.
        * c-tree.h (store_parm_decls_newstyle): New prototype.

From-SVN: r86998

20 years agors6000.c (expand_block_clear): Use vector instructions if available.
Geoffrey Keating [Thu, 2 Sep 2004 22:38:18 +0000 (22:38 +0000)]
rs6000.c (expand_block_clear): Use vector instructions if available.

* config/rs6000/rs6000.c (expand_block_clear): Use vector
instructions if available.
(expand_block_move): Likewise.

From-SVN: r86996

20 years ago* rtl.def (RANGE_INFO, RANGE_REG, RANGE_VAR, RANGE_LIVE): Kill.
Jan Hubicka [Thu, 2 Sep 2004 22:26:08 +0000 (00:26 +0200)]
* rtl.def (RANGE_INFO, RANGE_REG, RANGE_VAR, RANGE_LIVE): Kill.

From-SVN: r86995

20 years agoffi_darwin.c: Add flag for longdouble return values.
Andreas Tobler [Thu, 2 Sep 2004 21:14:45 +0000 (23:14 +0200)]
ffi_darwin.c: Add flag for longdouble return values.

2004-09-02  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/ffi_darwin.c: Add flag for longdouble return values.
(ffi_prep_args): Handle longdouble arguments.
(ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for
longdouble.
(ffi_closure_helper_DARWIN): Add closure handling for longdouble.
* src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble
values.
* src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise.
* src/types.c: Defined longdouble size and alignment for darwin.

From-SVN: r86992

20 years ago004-09-02 Andreas Tobler <a.tobler@schweiz.ch>
Andreas Tobler [Thu, 2 Sep 2004 21:07:21 +0000 (23:07 +0200)]
004-09-02  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/aix.S: Remove whitespaces.
* src/powerpc/aix_closure.S: Likewise.
* src/powerpc/asm.h: Likewise.
* src/powerpc/ffi.c: Likewise.
* src/powerpc/ffitarget.h: Likewise.
* src/powerpc/linux64.S: Likewise.
* src/powerpc/linux64_closure.S: Likewise.
* src/powerpc/ppc_closure.S: Likewise.
* src/powerpc/sysv.S: Likewise.

From-SVN: r86991