gcc/gcc
Diego Novillo 953ff28998 [multiple changes]
2006-01-18  Richard Henderson  <rth@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>

	* libgomp: New directory.
	* Makefile.def: Add target_module libgomp.
	* Makefile.in: Regenerate.
	* configure.in (target_libraries): Add target-libgomp.
	* configure: Regenerate.


contrib/

2006-01-18  Richard Henderson  <rth@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>

	* gcc_update (files_and_dependencies): Add libgomp files.


gcc/

2006-01-18  Richard Henderson  <rth@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>

	* omp-low.c: New file.
	* c-omp.c: New file.

2006-01-18  Richard Henderson  <rth@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>

	* doc/invoke.texi: Document -fopenmp.
	* tree-dump.h (debug_function): Declare.

	* hooks.c (hook_bool_tree_bool_false): New function.
	(hook_tree_tree_null): Remove.
	(hook_tree_tree_tree_null): New.
	* hooks.h: Update to match.

	* tree-pretty-print.c (debug_tree_chain): New.
	(print_generic_expr): Handle TDF_CHAIN.
	(dump_generic_node): Handle BLOCK.
	Do not abort with incomplete SWITCH_EXPRs.
	Do not dump body of an OpenMP directive if TDF_SLIM is given.
	<case OMP_PARALLEL, OMP_FOR, OMP_SECTIONS>: Don't
	print space after directive name.
	<OMP_FOR>: Handle printing OMP_FOR_PRE_BODY.
	Handle OMP_MASTER and OMP_ORDERED.
	Handle printing of OMP_BODY just in one place, goto
	dump_omp_body in the rest of OMP_* nodes that have
	OMP_BODY.
	Don't handle clause nodes here.  Update omp statements to
	use dump_omp_clauses.
	Handle OMP_SINGLE, OMP_SECTIONS, OMP_SECTION,
	OMP_CLAUSE_ORDERED, OMP_CLAUSE_SCHEDULE, OMP_ATOMIC,
	OMP_CRITICAL, OMP_CLAUSE_NOWAIT, GOMP_CLAUSE_IF,
	GOMP_CLAUSE_NUM_THREADS, GOMP_FOR, GOMP_CLAUSE_SHARED,
	GOMP_CLAUSE_FIRSTPRIVATE, GOMP_CLAUSE_LASTPRIVATE,
	GOMP_CLAUSE_COPYIN and GOMP_CLAUSE_COPYPRIVATE.
	Adjust output for GOMP_PARALLEL.
	(dump_omp_clauses): New.
	(print_declaration): Dump DECL_VALUE_EXPR.
	(op_symbol_1): Split out of op_symbol.
	(dumping_stmts): Remove.  Update all users.

	* cgraph.c (cgraph_analyze_queue): New.
	(cgraph_add_new_function): New.
	* cgraph.h (cgraph_analyze_queue): Declare.
	(cgraph_add_new_function): Declare.
	(cgraph_lower_function): Remove.

	* tree.c (walk_tree): Walk OMP_CLAUSE_CHAIN of OMP_CLAUSE_*
	nodes.  Use switch for all nodes, handle most of IS_EXPR_CODE_CLASS
	and TYPE_P nodes in its default clause.
	(empty_body_p): New.
	(tree_range_check_failed): New.
	(build5_stat): New.

	* tree.h (OMP_CLAUSE_REDUCTION_INIT,
	OMP_CLAUSE_REDUCTION_MERGE,
	OMP_CLAUSE_REDUCTION_PLACEHOLDER,
	OMP_CLAUSE_PRIVATE_DEBUG,
	OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE, OMP_FOR_PRE_BODY,
	OMP_MASTER_BODY, OMP_ORDERED_BODY OMP_BODY,
	OMP_CLAUSES, OMP_CLAUSE_DECL, OMP_CLAUSE_DEFAULT_KIND,
	OMP_CLAUSE_CHAIN, OMP_CLAUSE_OUTER_DECL,
	OMP_CLAUSE_INNER_DECL, OMP_CLAUSE_NUM_THREADS_EXPR,
	OMP_CLAUSE_IF_EXPR, OMP_CLAUSE_SCHEDULE_CHUNK_EXPR,
	OMP_CLAUSE_SCHEDULE_CHUNK_SIZE. OMP_PARALLEL_VAR_INIT,
	OMP_PARALLEL_VAR_REDUC, OMP_FOR_VAR_INIT,
	OMP_FOR_VAR_LAST, OMP_FOR_VAR_REDUC,
	OMP_SECTIONS_VAR_INIT, OMP_SECTIONS_VAR_LAST,
	OMP_SECTIONS_VAR_REDUC, OMP_CLAUSE_REDUCTION_CODE
	OMP_SINGLE_CLAUSES, OMP_SINGLE_BODY,
	OMP_CLAUSE_SCHEDULE_CHUNK_SIZE, OMP_SECTION_BODY,
	OMP_CRITICAL_NAME, OMP_CRITICAL_BODY): New.
	(TREE_RANGE_CHECK): New.
	(empty_body_p): Declare.
	(enum omp_clause_default_kind): New.
	(build_string_literal): Declare.
	(enum omp_clause_schedule_kind, OMP_CLAUSE_SCHEDULE_KIND): New.
	(build5_stat, build5): Declare.

	* tree-pass.h (TDF_CHAIN): Define.
	* tree-pass.h (PROP_gimple_lomp): Define.
	(pass_lower_omp): Declare.

	* diagnostic.h (debug_tree_chain): Declare.

	* builtins.c (get_builtin_sync_mode): Use 0 as last argument to
	mode_for_size.
	(expand_builtin): Handle sync BUILT_IN_*_16 builtins.
	* builtins.c (build_string_literal): Make extern.

	* gcc.c (include_spec_function): New.
	(static_spec_functions): Add it.
	(main): Move load of libgomp.spec ...
	(LINK_COMMAND_SPEC): ... here.
	(link_gomp_spec): New.
	(static_specs): Include it.
	(LINK_COMMAND_SPEC): Add link_gomp.
	(GOMP_SELF_SPECS): New.
	(driver_self_specs): Include it.
	(switch_matches): Don't mark inline.
	(main): Load libgomp.spec.

	* tree-gimple.c (is_gimple_stmt): True for OMP_MASTER,
	OMP_ORDERED, OMP_CRITICAL, OMP_SECTIONS, OMP_SECTION,
	and OMP_SINGLE, OMP_FOR and OMP_PARALLEL.

	* tree-gimple.h (enum omp_parallel): Declare.
	(determine_parallel_type): Declare.
	(omp_firstprivatize_variable): Declare.
	(omp_reduction_init): Declare.
	(diagnose_omp_structured_block_errors): Declare.
	(struct walk_stmt_info): Add want_return_expr.
	(struct walk_stmt_info): Add want_bind_expr, want_locations.
	(find_omp_clause): Declare.
	(insert_field_into_struct): Declare.
	(struct walk_stmt_info): Move from tree-nested.c
	(walk_stmts): Declare.

	* c-cppbuiltin.c (c_cpp_builtins): If -fopenmp, #define _OPENMP
	to 200505.

	* cgraphunit.c (cgraph_lower_function): Make static.
	(cgraph_finalize_pending_functions): New.
	(cgraph_finalize_function): Call it.
	(cgraph_finalize_compilation_unit): Likewise.

	* builtin-types.def (BT_I16, BT_FN_I16_VPTR_I16,
	BT_FN_BOOL_VPTR_I16_I16, BT_FN_I16_VPTR_I16_I16): Add.
	(BT_FN_UINT_UINT): New.
	(DEF_FUNCTION_TYPE_6, DEF_FUNCTION_TYPE_7,
	DEF_FUNCTION_TYPE_VAR_4): Document.
	(BT_PTR_LONG, BT_PTR_PTR, BT_FN_BOOL, BT_FN_INT,
	BT_FN_VOID_PTRPTR, BT_PTR_FN_VOID_PTR,
	BT_FN_BOOL_LONGPTR_LONGPTR, BT_FN_VOID_OMPFN_PTR_UINT,
	BT_FN_VOID_OMPFN_PTR_UINT_UINT,
	BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
	BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
	BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG,
	BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG): New.

	* builtins.def: Update DEF_BUILTIN comment to include COND argument.
	Move all DEF_SYNC_BUILTIN () and DEF_GOMP_BUILTIN () builtins
	into separate files.
	(DEF_GOMP_BUILTIN): New.
	(BUILT_IN_OMP_GET_THREAD_NUM, BUILT_IN_GOMP_BARRIER,
	BUILT_IN_GOMP_CRITICAL_START, BUILT_IN_GOMP_CRITICAL_END,
	BUILT_IN_GOMP_CRITICAL_NAME_START, BUILT_IN_GOMP_CRITICAL_NAME_END,
	BUILT_IN_GOMP_LOOP_STATIC_START, BUILT_IN_GOMP_LOOP_DYNAMIC_START,
	BUILT_IN_GOMP_LOOP_GUIDED_START, BUILT_IN_GOMP_LOOP_RUNTIME_START,
	BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START,
	BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START,
	BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START,
	BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START,
	BUILT_IN_GOMP_LOOP_STATIC_NEXT, BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT,
	BUILT_IN_GOMP_LOOP_GUIDED_NEXT, BUILT_IN_GOMP_LOOP_RUNTIME_NEXT,
	BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT,
	BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT,
	BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT,
	BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT,
	BUILT_IN_GOMP_PARALLEL_LOOP_STATIC_START,
	BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC_START,
	BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED_START,
	BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME_START,
	BUILT_IN_GOMP_LOOP_END, BUILT_IN_GOMP_LOOP_END_NOWAIT,
	BUILT_IN_GOMP_ORDERED_START, BUILT_IN_GOMP_ORDERED_END,
	BUILT_IN_GOMP_PARALLEL_START, BUILT_IN_GOMP_PARALLEL_END,
	BUILT_IN_GOMP_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_NEXT,
	BUILT_IN_GOMP_PARALLEL_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_END,
	BUILT_IN_GOMP_SECTIONS_END_NOWAIT, BUILT_IN_GOMP_SINGLE_START,
	BUILT_IN_GOMP_SINGLE_COPY_START, BUILT_IN_GOMP_SINGLE_COPY_END): New.
	* sync-builtins.def: New file, moved from builtins.def.
	* omp-builtins.def: New file, moved from builtins.def.

	* c-objc-common.h (LANG_HOOKS_OMP_PREDETERMINED_SHARING): Redefine.

	* gimple-low.c (lower_function_body): Clear data.
	(lower_stmt): Do not handle COMPOUND_EXPR.
	Remove call to print_node_brief.

	* c-tree.h (c_finish_omp_clauses): New prototype.
	(C_DECL_THREADPRIVATE_P): Define.
	(lookup_name_no_remap, c_omp_remap_private): Remove
	(c_begin_omp_parallel, c_finish_omp_parallel): Update.
	(check_for_loop_decls): Update decl.
	(lookup_name_no_remap, c_omp_remap_private): Declare.
	(build_indirect_ref, build_modify_expr, pushdecl,
	pushdecl_top_level): Move to c-common.h.

	* dwarf2out.c (loc_descriptor_from_tree_1): Don't set unsignedp
	before the switch, but just in the 2 places that need it.

	* c-decl.c (diagnose_mismatched_decls): Do not check for
	mismatched thread-local attributes when OLDDECL is marked
	threadprivate and NEWDECL has no thread-local attributes.
	(merge_decls): Merge C_DECL_THREADPRIVATE_P.
	(c_gimple_diagnostics_recursively): Rename from
	c_warn_unused_result_recursively.  Invoke
	diagnose_omp_structured_block_errors.
	(check_for_loop_decls): Return a singular decl found.

	* langhooks.c (lhd_omp_predetermined_sharing): Return
	OMP_CLAUSE_DEFAULT_SHARED for DECL_ARTIFICIAL decls.
	(lhd_omp_firstprivatize_type_sizes): New.
	(lhd_omp_assignment): New.
	(lhd_omp_predetermined_sharing): New.

	* langhooks.h (struct gimplify_omp_ctx): Forward declare.
	(struct lang_hooks_for_types): Add
	omp_firstprivatize_type_sizes, omp_privatize_by_reference,
	omp_predetermined_sharing, omp_disregard_value_expr,
	omp_private_debug_clause, omp_clause_default_ctor,
	omp_clause_copy_ctor, omp_clause_assign_op, omp_clause_dtor.

	(c_finish_omp_clauses): New.
	(c_finish_bc_stmt): Diagnose break within omp for.
	(c_begin_omp_parallel, c_finish_omp_parallel): New.
	(build_unary_op): Return error_mark after reporting
	a readonly_error.
	(build_modify_expr): Likewise.

	* gimplify.c: Include optabs.h and pointer-set.h.
	(enum gimplify_omp_var_data): Declare.
	(struct gimplify_omp_ctx): Declare.
	(struct gimplify_ctx): Add fields prev_context, combined_pre_p
	and combined_ctxp.
	(gimplify_ctxp, gimplify_omp_ctxp): New local variables.
	(push_gimplify_context, pop_gimplify_context): Allow nesting.
	(splay_tree_compare_decl_uid): New.
	(new_omp_context): New.
	(delete_omp_context): New.
	(gimple_add_tmp_var): Call omp_add_variable.
	(gimplify_bind_expr): Likewise.
	(gimplify_var_or_parm_decl): If omp_notice_variable returned
	true, disregard DECL_VALUE_EXPR on the decl if any.
	(gimplify_expr_in_ctx): New.
	(omp_firstprivatize_variable, omp_firstprivatize_type_sizes
	omp_add_variable, omp_notice_variable, omp_is_private
	gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses_1
	gimplify_adjust_omp_clauses, gimplify_omp_parallel
	gimplify_omp_for, gimplify_omp_workshare, goa_lhs_expr_p
	gimplify_omp_atomic_fetch_op, goa_stabilize_expr
	gimplify_omp_atomic_pipeline, gimplify_omp_atomic_mutex
	gimplify_omp_atomic): New.
	(gimplify_expr): Handle OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
	OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
	OMP_CRITICAL and OMP_ATOMIC.
	(gimplify_body): Verify gimplify_ctxp is empty after gimplification.

	* c-pragma.h (enum pragma_kind): Add
	PRAGMA_OMP_ATOMIC, PRAGMA_OMP_BARRIER,
	PRAGMA_OMP_CRITICAL, PRAGMA_OMP_FLUSH, PRAGMA_OMP_FOR,
	PRAGMA_OMP_MASTER, PRAGMA_OMP_ORDERED,
	PRAGMA_OMP_PARALLEL, PRAGMA_OMP_PARALLEL_FOR,
	PRAGMA_OMP_PARALLEL_SECTIONS, PRAGMA_OMP_SECTION,
	PRAGMA_OMP_SECTIONS, PRAGMA_OMP_SINGLE,
	PRAGMA_OMP_THREADPRIVATE.

	* tree.def (OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
	OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
	OMP_CRITICAL, OMP_ATOMIC, OMP_CLAUSE_PRIVATE,
	OMP_CLAUSE_SHARED, OMP_CLAUSE_FIRSTPRIVATE,
	OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_REDUCTION,
	OMP_CLAUSE_COPYIN, OMP_CLAUSE_COPYPRIVATE,
	OMP_CLAUSE_IF, OMP_CLAUSE_NUM_THREADS,
	OMP_CLAUSE_SCHEDULE, OMP_CLAUSE_NOWAIT,
	OMP_CLAUSE_ORDERED, OMP_CLAUSE_DEFAULT): Define.

	* print-tree.c (print_node): Dump DECL_VALUE_EXPR.

	* tree-ssa-dce.c (find_control_dependence): Do not assume that
	ENTRY_BLOCK_PTR->next_bb == single_succ (ENTRY_BLOCK_PTR).

	* tree-nested.c (convert_call_expr): Call walk_body on OMP_BODY for
	OpenMP directives.
	(struct nesting_info): Add field_map,
	suppress_expansion, debug_var_chain.
	(create_nesting_tree): Initialize them.
	(lookup_field_for_decl): Use field_map.
	(get_nonlocal_debug_decl, get_local_debug_decl): New.
	(convert_local_omp_clauses): New.
	(finalize_nesting_tree_1): Add debug_var_chain to toplevel block.
	(walk_body): Split out of walk_function.
	(convert_nonlocal_omp_clauses, convert_local_omp_clauses): New.
	(convert_nonlocal_reference): Handle omp statements.
	(convert_local_reference): Likewise.
	(unnest_nesting_tree_1): Split out of finalize_nesting_tree_1.
	(unnest_nesting_tree): New.
	(lower_nested_functions): Call it.
	(insert_field_into_struct): Make extern.
	(struct walk_stmt_info): Move to tree-gimple.h.
	(walk_stmts): Make extern.

	* omp-builtins.def: New file.

	* tree-iterator.c (expr_only): Clarify comment.

	* c-common.h (pushdecl_top_level, pushdecl,
	build_modify_expr, build_indirect_ref,
	c_finish_omp_master, c_finish_omp_critical,
	c_finish_omp_ordered, c_finish_omp_barrier,
	c_finish_omp_atomic, c_finish_omp_flush,
	c_finish_omp_for, c_split_parallel_clauses,
	omp_clause_default_kind, c_omp_sharing_predetermined,
	c_omp_remap_decl): Declare.

	* Makefile.in (BUILTINS_DEF): Add omp-builtins.def.
	(OBJS-common): Add omp-low.o.
	(c-omp.o, omp-low.o): Add.
	(gimplify.o): Add dependency on $(OPTABS_H).
	(GTFILES): Add omp-low.c.
	(gt-stringpool.h): Add.

	* tree-cfg.c (set_bb_for_stmt): Do not update the
	block-to-labels map if we are currently expanding to RTL.
	(tree_node_can_be_shared): Remove unnecessary CONSTANT_CLASS_P
	checks.
	Handle IDENTIFIER_NODE.
	(tree_verify_flow_info): Do not ICE when emitting error
	messages about invalid labels.
	(dump_function_to_file): Reset CFUN before emitting the body
	of the function.
	(debug_function): New.

	* passes.c (init_optimization_passes): Schedule
	pass_lower_omp.

	* langhooks-def.h (lhd_omp_predetermined_sharing,
	lhd_omp_assignment, lhd_omp_firstprivatize_type_sizes):
	Declare.
	(LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES): Define.
	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Use it.
	(LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE,
	LANG_HOOKS_OMP_PREDETERMINED_SHARING,
	LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR,
	LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE,
	LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR,
	LANG_HOOKS_OMP_CLAUSE_COPY_CTOR,
	LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP,
	LANG_HOOKS_OMP_CLAUSE_DTOR): Define.
	(LANG_HOOK_DECLS): Use them.


2006-01-18  Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
	    Richard Henderson  <rth@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>

	* c-parser.c (pragma_omp_clause): Define.
	(c_parser_declaration_or_fndef): Document OpenMP syntax.
	(c_parser_compound_statement): Likewise.
	(c_parser_statement): Likewise.
	(c_parser_pragma): Handle omp pragmas.
	(OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
	OMP_PARALLEL_CLAUSE_MASK, OMP_SINGLE_CLAUSE_MASK): Define.
	(c_parser_omp_clause_name, check_no_duplicate_clause,
	c_parser_omp_variable_list,
	c_parser_omp_var_list_parens, c_parser_omp_clause_copyin,
	c_parser_omp_clause_copyprivate,
	c_parser_omp_clause_default,
	c_parser_omp_clause_firstprivate, c_parser_omp_clause_if,
	c_parser_omp_clause_lastprivate,
	c_parser_omp_clause_nowait,
	c_parser_omp_clause_num_threads,
	c_parser_omp_clause_ordered, c_parser_omp_clause_private,
	c_parser_omp_clause_reduction,
	c_parser_omp_clause_schedule, c_parser_omp_clause_shared,
	c_parser_omp_all_clauses, c_parser_omp_structured_block,
	c_parser_omp_atomic, c_parser_omp_barrier,
	c_parser_omp_critical, c_parser_omp_flush,
	c_parser_omp_for_loop, c_parser_omp_for,
	c_parser_omp_master, c_parser_omp_ordered,
	c_parser_omp_sections_scope, c_parser_omp_sections,
	c_parser_omp_parallel, c_parser_omp_single,
	c_parser_omp_construct, c_parser_omp_threadprivate): New.
	* c-pragma.c (init_pragma): Do omp pragma registration here.
	* c.opt (fopenmp): New flag.


2006-01-18  Eric Christopher  <echristo@apple.com>

	* gcc.c (GOMP_SELF_SPECS): Bracket in #ifndef/#endif.
	* config/darwin.h (GOMP_SELF_SPECS): Define.


testsuite/

2006-01-18  Richard Henderson  <rth@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>
            Uros Bizjak  <uros@kss-loka.si>

	* testsuite/gcc.dg/gomp: New directory.

From-SVN: r109902
2006-01-18 14:21:25 -05:00
..
ada s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t. 2005-12-29 19:37:51 +00:00
config [multiple changes] 2006-01-18 14:21:25 -05:00
cp tree.c (find_tree_t, find_tree): Remove. 2006-01-18 15:09:43 +00:00
doc [multiple changes] 2006-01-18 14:21:25 -05:00
fortran re PR fortran/20869 (EXTERNAL and INTRINSIC cannot be used together) 2006-01-18 18:55:01 +00:00
ginclude target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): New. 2005-12-16 17:38:26 +11:00
java Fix up recent entries by espindola. 2006-01-17 14:46:51 +11:00
objc re PR objc/25360 (Complex types are not encoded) 2005-12-16 12:19:37 -08:00
objcp Make-lang.in (objcp/objcp-decl.o): Add depends on $(EXPR_H). 2005-12-14 12:32:43 -08:00
po * zh_CN.po: Update. 2006-01-18 01:58:50 +00:00
testsuite [multiple changes] 2006-01-18 14:21:25 -05:00
treelang jvspec.c (lang_specific_spec_functions): remove 2006-01-16 19:00:56 +00:00
ABOUT-GCC-NLS exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format. 2005-06-06 21:31:40 +02:00
BASE-VER * BASE-VER: Change to 4.2.0. 2005-11-19 05:09:00 +00:00
COPYING Update FSF address. 2005-06-25 02:02:01 +00:00
COPYING.LIB Update FSF address. 2005-06-25 02:02:01 +00:00
ChangeLog [multiple changes] 2006-01-18 14:21:25 -05:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005 fixed missing changelog entry for r109153 2006-01-05 00:53:41 +00:00
ChangeLog.lib
ChangeLog.tree-ssa Fixup some spacing 2005-12-03 00:20:15 +00:00
DATESTAMP Daily bump. 2006-01-18 00:18:00 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in [multiple changes] 2006-01-18 14:21:25 -05:00
ONEWS
README.Portability
SERVICE
acinclude.m4 Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET. 2005-10-06 15:24:09 +00:00
aclocal.m4 acinclude.m4: Renamed from aclocal.m4. 2005-09-06 03:23:48 +00:00
alias.c gimplify.c (find_single_pointer_decl_1): New static function. 2005-10-03 08:43:45 +00:00
alias.h Update FSF address. 2005-06-25 02:02:01 +00:00
alloc-pool.c Update FSF address. 2005-06-25 02:02:01 +00:00
alloc-pool.h Update FSF address. 2005-06-25 02:02:01 +00:00
attribs.c Update FSF address. 2005-06-25 02:02:01 +00:00
basic-block.h mode-switching.c (optimize_mode_switching): Make it static. 2006-01-18 15:01:18 +00:00
bb-reorder.c bb-reorder.c (partition_hot_cold_basic_blocks): Make it static. 2006-01-16 19:15:22 +00:00
bitmap.c bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants associated with the CURRENT and... 2005-12-29 19:41:21 +00:00
bitmap.h bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants associated with the CURRENT and... 2005-12-29 19:41:21 +00:00
bt-load.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
builtin-attrs.def builtin-attrs.def (DEF_ATTR_FOR_INT): Add for 5 and 6. 2005-06-27 14:17:39 +02:00
builtin-types.def [multiple changes] 2006-01-18 14:21:25 -05:00
builtins.c [multiple changes] 2006-01-18 14:21:25 -05:00
builtins.def [multiple changes] 2006-01-18 14:21:25 -05:00
c-aux-info.c Update FSF address. 2005-06-25 02:02:01 +00:00
c-common.c directives.c (struct pragma_entry): Add is_deferred. 2006-01-04 08:33:38 -08:00
c-common.def Update FSF address. 2005-06-25 02:02:01 +00:00
c-common.h [multiple changes] 2006-01-18 14:21:25 -05:00
c-config-lang.in Update FSF address. 2005-06-25 02:02:01 +00:00
c-convert.c c-common.c (c_sizeof_or_alignof_type): Use fold_convert instead of building a NOP_EXPR. 2005-12-03 18:58:43 +00:00
c-cppbuiltin.c [multiple changes] 2006-01-18 14:21:25 -05:00
c-decl.c [multiple changes] 2006-01-18 14:21:25 -05:00
c-dump.c Update FSF address. 2005-06-25 02:02:01 +00:00
c-errors.c Update FSF address. 2005-06-25 02:02:01 +00:00
c-format.c tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
c-format.h target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): New. 2005-12-16 17:38:26 +11:00
c-gimplify.c Update FSF address. 2005-06-25 02:02:01 +00:00
c-incpath.c tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
c-incpath.h Update FSF address. 2005-06-25 02:02:01 +00:00
c-lang.c pretty-print.h (PP_NL_ARGMAX): New. 2005-06-30 23:09:06 +00:00
c-lex.c directives.c (struct pragma_entry): Add is_deferred. 2006-01-04 08:33:38 -08:00
c-objc-common.c c-objc-common.c (c_cannot_inline_tree_fn): Add warning control to warning calls. 2005-07-22 14:09:37 -04:00
c-objc-common.h [multiple changes] 2006-01-18 14:21:25 -05:00
c-omp.c [multiple changes] 2006-01-18 14:21:25 -05:00
c-opts.c c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses converted to booleans; not just function addresses. 2005-12-14 10:33:26 +11:00
c-parser.c [multiple changes] 2006-01-18 14:21:25 -05:00
c-pch.c directives.c (struct pragma_entry): Add is_deferred. 2006-01-04 08:33:38 -08:00
c-ppoutput.c tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
c-pragma.c [multiple changes] 2006-01-18 14:21:25 -05:00
c-pragma.h [multiple changes] 2006-01-18 14:21:25 -05:00
c-pretty-print.c c-pretty-print.h (struct c_pretty_print_info): Add new member "constant". 2005-12-30 17:27:28 +00:00
c-pretty-print.h c-pretty-print.h (struct c_pretty_print_info): Add new member "constant". 2005-12-30 17:27:28 +00:00
c-semantics.c Update FSF address. 2005-06-25 02:02:01 +00:00
c-tree.h [multiple changes] 2006-01-18 14:21:25 -05:00
c-typeck.c [multiple changes] 2006-01-18 14:21:25 -05:00
c.opt [multiple changes] 2006-01-18 14:21:25 -05:00
caller-save.c caller-save.c: (this_insn_sets): Move into: (save_call_clobbered_regs). 2005-11-24 19:08:20 +00:00
calls.c re PR middle-end/24003 (17 ACATS regressions (fixed point or decimal artihmetic)) 2005-11-13 09:55:11 +00:00
cfg.c basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *. 2006-01-11 18:43:15 +00:00
cfganal.c cfganal.c (flow_reverse_top_sort_order_compute): Renamed to post_order_compute and additional parameter added which allows the... 2005-12-20 23:10:49 +00:00
cfgbuild.c basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *. 2006-01-11 18:43:15 +00:00
cfgcleanup.c rtl-factoring.c: Add sequence abstraction algorithm. 2006-01-16 15:56:47 +00:00
cfgexpand.c cfgexpand.c (discover_nonconstant_array_refs_r, [...]): Move here from tree-outof-ssa.c 2005-10-19 16:27:10 +00:00
cfghooks.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
cfghooks.h bb-reorder.c (copy_bb, [...]): Add argument to duplicate_block. 2005-08-24 07:56:56 +00:00
cfglayout.c basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *. 2006-01-11 18:43:15 +00:00
cfglayout.h bb-reorder.c (copy_bb, [...]): Add argument to duplicate_block. 2005-08-24 07:56:56 +00:00
cfgloop.c cfganal.c (flow_reverse_top_sort_order_compute): Renamed to post_order_compute and additional parameter added which allows the... 2005-12-20 23:10:49 +00:00
cfgloop.h loop.c (loop_optimize): Make it static. 2006-01-17 01:27:04 +00:00
cfgloopanal.c Update FSF address. 2005-06-25 02:02:01 +00:00
cfgloopmanip.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
cfgrtl.c basic-block.h (control_flow_graph): Change the type of x_basic_block_info to VEC(basic_block,gc) *. 2006-01-11 18:43:15 +00:00
cgraph.c [multiple changes] 2006-01-18 14:21:25 -05:00
cgraph.h [multiple changes] 2006-01-18 14:21:25 -05:00
cgraphunit.c [multiple changes] 2006-01-18 14:21:25 -05:00
collect2.c collect2.c (dup2): Delete. 2005-08-19 01:20:34 +00:00
collect2.h Update FSF address. 2005-06-25 02:02:01 +00:00
combine.c combine.c (record_value_for_reg): Invalidate registers if INSN is null. 2006-01-16 18:20:32 +00:00
common.opt common.opt (ftoplevel-reorder): New option. 2006-01-17 07:04:20 +00:00
conditions.h Update FSF address. 2005-06-25 02:02:01 +00:00
config.build re PR driver/20425 (-print-search-dirs doesn't honor mutil-os/multilib settings) 2005-12-16 20:16:22 +10:30
config.gcc re PR target/25731 (Complex values passed in wrong registers) 2006-01-18 15:44:57 +00:00
config.host re PR driver/20425 (-print-search-dirs doesn't honor mutil-os/multilib settings) 2005-12-16 20:16:22 +10:30
config.in configure.ac: Enable C extension for decimal float if invoked with --enable-decimal-float. 2005-12-21 11:43:21 +11:00
configure configure.ac: Enable C extension for decimal float if invoked with --enable-decimal-float. 2005-12-21 11:43:21 +11:00
configure.ac configure.ac: Enable C extension for decimal float if invoked with --enable-decimal-float. 2005-12-21 11:43:21 +11:00
conflict.c Update FSF address. 2005-06-25 02:02:01 +00:00
convert.c re PR middle-end/25125 ((short) ((int)(unsigned short) + (int)) is done in the wrong type) 2005-12-26 23:00:18 +00:00
convert.h Update FSF address. 2005-06-25 02:02:01 +00:00
coretypes.h coretypes.h: Revert previous change. 2005-12-07 13:25:08 +00:00
coverage.c re PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'.") 2005-10-31 18:23:44 +00:00
coverage.h Makefile.in (rtl-profile.o): Kill all traces of it. 2005-07-28 21:48:38 +00:00
cppdefault.c Update FSF address. 2005-06-25 02:02:01 +00:00
cppdefault.h Update FSF address. 2005-06-25 02:02:01 +00:00
cppspec.c jvspec.c (lang_specific_spec_functions): remove 2006-01-16 19:00:56 +00:00
crtstuff.c crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including auto-host.h. 2005-11-15 01:21:29 +00:00
cse.c cse.c (cse_condition_code_reg): Make it static. 2006-01-16 05:17:54 +00:00
cselib.c cselib.c (hash_table): Rename to cselib_hash_table. 2006-01-15 02:16:11 +00:00
cselib.h Update FSF address. 2005-06-25 02:02:01 +00:00
cstamp-h.in
dbxout.c alpha.c (alpha_start_function): Use switch_to_section. 2005-12-07 07:53:14 +00:00
dbxout.h Update FSF address. 2005-06-25 02:02:01 +00:00
ddg.c df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
ddg.h Update FSF address. 2005-06-25 02:02:01 +00:00
debug.c Update FSF address. 2005-06-25 02:02:01 +00:00
debug.h Update FSF address. 2005-06-25 02:02:01 +00:00
defaults.h varasm.c (assemble_variable): Handle thread-local COMMON data. 2006-01-03 08:19:21 -08:00
df-core.c df-core.c (df_compact_blocks, [...]): Use SET_BASIC_BLOCK instead of BASIC_BLOCK. 2006-01-11 20:25:09 +00:00
df-problems.c df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
df-scan.c 2005-01-11 Kenneth Zadeck <zadeck@naturalbridge.com> 2006-01-11 21:19:47 +00:00
df.c df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
df.h df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
dfp.c basic-block.h, [...]: Fix comment typos. 2005-12-16 06:09:31 +00:00
dfp.h dfp.h, dfp.c: New files. 2005-12-02 13:30:42 +11:00
diagnostic.c re PR c++/17964 (cpp error messages contain wrong line in C++) 2005-11-03 23:08:18 +00:00
diagnostic.def
diagnostic.h [multiple changes] 2006-01-18 14:21:25 -05:00
dojump.c dojump.c (do_jump): Handle side-effecting TRUTH_AND_EXPR and TRUTH_OR_EXPR. 2005-10-21 07:28:48 +00:00
dominance.c Fix "node B dominates node B" to "node B dominates node A" 2006-01-04 15:07:54 +00:00
domwalk.c Update FSF address. 2005-06-25 02:02:01 +00:00
domwalk.h Update FSF address. 2005-06-25 02:02:01 +00:00
dummy-checksum.c dummy-checksum.c: New. 2005-05-18 20:45:26 +00:00
dummy-conditions.c Update FSF address. 2005-06-25 02:02:01 +00:00
dwarf.h Update FSF address. 2005-06-25 02:02:01 +00:00
dwarf2.h * dwarf2.h (enum dwarf_type): Add DW_ATE_decimal_float. 2005-11-23 11:07:23 +11:00
dwarf2asm.c dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'. 2005-11-03 19:57:55 +00:00
dwarf2asm.h dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'. 2005-11-03 19:57:55 +00:00
dwarf2out.c [multiple changes] 2006-01-18 14:21:25 -05:00
dwarf2out.h Update FSF address. 2005-06-25 02:02:01 +00:00
emit-rtl.c rtl-factoring.c: Add sequence abstraction algorithm. 2006-01-16 15:56:47 +00:00
emit-rtl.h Update FSF address. 2005-06-25 02:02:01 +00:00
errors.c Update FSF address. 2005-06-25 02:02:01 +00:00
errors.h toplev.h: Add comment about the first parameter for warning(). 2005-07-19 16:19:16 -04:00
et-forest.c Update FSF address. 2005-06-25 02:02:01 +00:00
et-forest.h Update FSF address. 2005-06-25 02:02:01 +00:00
except.c tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document. 2006-01-06 23:16:23 +00:00
except.h tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
explow.c re PR target/23196 (ICE instantiate_virtual_regs_in_insn when -fforce-addr used) 2005-08-02 13:39:24 -07:00
expmed.c optabs.c (init_floating_libfuncs): Handle decimal float modes. 2005-12-19 08:40:47 +11:00
expr.c expr.c (emit_move_change_mode): Always adjust addresses, not just during reload. 2006-01-18 10:43:27 +11:00
expr.h re PR middle-end/23714 (ICE in expand_assignment) 2005-10-15 17:07:17 -07:00
final.c final.c (compute_alignments): Make it static. 2005-12-25 16:59:51 +00:00
fix-header.c Update FSF address. 2005-06-25 02:02:01 +00:00
fixproto Update FSF address. 2005-06-25 02:02:01 +00:00
flags.h c-common.c (flag_next_runtime): Move... 2005-06-29 03:01:27 +00:00
flow.c flow.c (initialize_uninitialized_subregs): Make it static. 2006-01-18 06:38:09 +00:00
fold-const.c Use gcc_unreachable () instead of gcc_assert (FALSE) in latest commit. 2006-01-16 20:11:35 +00:00
fp-test.c Update FSF address. 2005-06-25 02:02:01 +00:00
function.c function.c (instantiate_virtual_regs): Make it static. 2006-01-18 06:39:07 +00:00
function.h function.c (instantiate_virtual_regs): Make it static. 2006-01-18 06:39:07 +00:00
gbl-ctors.h Update FSF address. 2005-06-25 02:02:01 +00:00
gcc.c [multiple changes] 2006-01-18 14:21:25 -05:00
gcc.h jvspec.c (lang_specific_spec_functions): remove 2006-01-16 19:00:56 +00:00
gccbug.in Update FSF address. 2005-06-25 02:02:01 +00:00
gccspec.c jvspec.c (lang_specific_spec_functions): remove 2006-01-16 19:00:56 +00:00
gcov-dump.c Update FSF address. 2005-06-25 02:02:01 +00:00
gcov-io.c Update FSF address. 2005-06-25 02:02:01 +00:00
gcov-io.h linux.h (TARGET_HAS_F_SETLKW): Renamed to ... 2005-07-13 09:28:25 -07:00
gcov-iov.c Update FSF address. 2005-06-25 02:02:01 +00:00
gcov.c Update FSF address. 2005-06-25 02:02:01 +00:00
gcse.c re PR rtl-optimization/24257 (ICE: in extract_insn with -O -fgcse -fgcse-sm) 2006-01-14 11:04:16 +00:00
gdbinit.in
gen-protos.c Update FSF address. 2005-06-25 02:02:01 +00:00
genattr.c re PR rtl-optimization/23898 (basic block reordering excessively increases code size; get_uncond_jump_length pessimistic) 2005-09-20 22:48:36 +01:00
genattrtab.c re PR rtl-optimization/23898 (basic block reordering excessively increases code size; get_uncond_jump_length pessimistic) 2005-09-20 22:48:36 +01:00
genattrtab.h Update FSF address. 2005-06-25 02:02:01 +00:00
genautomata.c builtins.c: Fix comment typo(s). 2005-07-28 16:30:00 +00:00
gencheck.c Update FSF address. 2005-06-25 02:02:01 +00:00
genchecksum.c Update FSF address. 2005-06-25 02:02:01 +00:00
gencodes.c Update FSF address. 2005-06-25 02:02:01 +00:00
genconditions.c Update FSF address. 2005-06-25 02:02:01 +00:00
genconfig.c Update FSF address. 2005-06-25 02:02:01 +00:00
genconstants.c Update FSF address. 2005-06-25 02:02:01 +00:00
genemit.c Update FSF address. 2005-06-25 02:02:01 +00:00
genextract.c Update FSF address. 2005-06-25 02:02:01 +00:00
genflags.c Update FSF address. 2005-06-25 02:02:01 +00:00
gengenrtl.c Update FSF address. 2005-06-25 02:02:01 +00:00
gengtype-lex.l Update FSF address. 2005-06-25 02:02:01 +00:00
gengtype-yacc.y Update FSF address. 2005-06-25 02:02:01 +00:00
gengtype.c alpha.c (alpha_start_function): Use switch_to_section. 2005-12-07 07:53:14 +00:00
gengtype.h Update FSF address. 2005-06-25 02:02:01 +00:00
genmddeps.c Update FSF address. 2005-06-25 02:02:01 +00:00
genmodes.c dfp.h, dfp.c: New files. 2005-12-02 13:30:42 +11:00
genmultilib Update FSF address. 2005-06-25 02:02:01 +00:00
genopinit.c optabs.c (init_floating_libfuncs): Handle decimal float modes. 2005-12-19 08:40:47 +11:00
genoutput.c Update FSF address. 2005-06-25 02:02:01 +00:00
genpeep.c Update FSF address. 2005-06-25 02:02:01 +00:00
genpreds.c tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
genrecog.c genrecog.c (enum decision_type): Add DT_num_insns. 2005-08-27 02:08:29 +00:00
gensupport.c tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
gensupport.h Update FSF address. 2005-06-25 02:02:01 +00:00
ggc-common.c Update FSF address. 2005-06-25 02:02:01 +00:00
ggc-none.c Update FSF address. 2005-06-25 02:02:01 +00:00
ggc-page.c ggc-page.c (ggc_push_context): Remove. 2005-09-07 03:50:08 +00:00
ggc-zone.c re PR other/22337 (zone collector does not build) 2005-07-25 08:14:21 -07:00
ggc.h ggc.h (GGC_RESIZEVEC): New. 2005-12-02 12:37:15 +00:00
gimple-low.c [multiple changes] 2006-01-18 14:21:25 -05:00
gimplify.c [multiple changes] 2006-01-18 14:21:25 -05:00
glimits.h
global.c global.c (global_alloc): Make it static. 2006-01-16 21:04:19 +00:00
graph.c Update FSF address. 2005-06-25 02:02:01 +00:00
graph.h Update FSF address. 2005-06-25 02:02:01 +00:00
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-dce.h Index: gcc/ChangeLog 2005-12-05 20:38:37 +00:00
gthr-gnat.c Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-gnat.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-lynx.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-nks.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-posix.c Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-posix.h Index: gcc/ChangeLog 2005-12-05 20:38:37 +00:00
gthr-posix95.h Index: gcc/ChangeLog 2005-12-05 20:38:37 +00:00
gthr-rtems.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-single.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-solaris.h Index: gcc/ChangeLog 2005-12-05 20:38:37 +00:00
gthr-tpf.h Index: gcc/ChangeLog 2005-12-05 20:38:37 +00:00
gthr-vxworks.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr-win32.h Update FSF address. 2005-06-25 02:02:01 +00:00
gthr.h Update FSF address. 2005-06-25 02:02:01 +00:00
haifa-sched.c Update FSF address. 2005-06-25 02:02:01 +00:00
hard-reg-set.h Update FSF address. 2005-06-25 02:02:01 +00:00
hooks.c [multiple changes] 2006-01-18 14:21:25 -05:00
hooks.h [multiple changes] 2006-01-18 14:21:25 -05:00
host-default.c Update FSF address. 2005-06-25 02:02:01 +00:00
hosthooks-def.h Update FSF address. 2005-06-25 02:02:01 +00:00
hosthooks.h Update FSF address. 2005-06-25 02:02:01 +00:00
hwint.h * hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT. 2005-08-23 15:04:07 +00:00
ifcvt.c ifcvt.c (if_convert): Make it static. 2006-01-17 01:21:29 +00:00
input.h Update FSF address. 2005-06-25 02:02:01 +00:00
insn-addr.h Update FSF address. 2005-06-25 02:02:01 +00:00
insn-notes.def Update FSF address. 2005-06-25 02:02:01 +00:00
integrate.c bb-reorder.c (pass_duplicate_computed_gotos, [...]): Add dump. 2005-08-10 09:02:48 +00:00
integrate.h Update FSF address. 2005-06-25 02:02:01 +00:00
intl.c Update FSF address. 2005-06-25 02:02:01 +00:00
intl.h Update FSF address. 2005-06-25 02:02:01 +00:00
ipa-cp.c crtfastmath.c, [...]: Update FSF address. 2005-08-17 03:07:06 +00:00
ipa-inline.c cgraph.c (cgraph_insert_node_to_hashtable): New function. 2006-01-11 13:13:37 +00:00
ipa-prop.c ipa-prop.c (ipa_callsite_compute_param ): Removed obsolete type checking. 2005-11-13 09:08:42 +00:00
ipa-prop.h gimplify.c, [...]: Fix comment typos. 2005-09-06 02:05:07 +00:00
ipa-pure-const.c ipa-pure-const.c (static_execute): Free auxiliar information. 2005-09-16 07:54:03 +00:00
ipa-reference.c ipa-reference.c (get_reference_vars_info_from_cgraph): Use function_ann. 2005-12-22 15:01:02 +00:00
ipa-reference.h ipa-pure-const.c, [...]: Update FSF address. 2005-07-26 12:29:15 +00:00
ipa-type-escape.c ipa-type-escape.c (analyze_variable): Use gcc_assert instead of abort. 2005-12-08 15:46:09 +00:00
ipa-type-escape.h ipa-pure-const.c, [...]: Update FSF address. 2005-07-26 12:29:15 +00:00
ipa-utils.c ipa-pure-const.c, [...]: Update FSF address. 2005-07-26 12:29:15 +00:00
ipa-utils.h ipa-pure-const.c, [...]: Update FSF address. 2005-07-26 12:29:15 +00:00
ipa.c cgraph.c (cgraph_remove_node): Do not release function bodies until full cgraph is built. 2005-06-28 02:20:29 +00:00
jump.c bb-reorder.c (pass_duplicate_computed_gotos, [...]): Add dump. 2005-08-10 09:02:48 +00:00
lambda-code.c lambda-code.c (can_put_in_inner_loop): Relax restrictions. 2006-01-04 16:34:52 +00:00
lambda-mat.c Update FSF address. 2005-06-25 02:02:01 +00:00
lambda-trans.c Update FSF address. 2005-06-25 02:02:01 +00:00
lambda.h tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
langhooks-def.h [multiple changes] 2006-01-18 14:21:25 -05:00
langhooks.c [multiple changes] 2006-01-18 14:21:25 -05:00
langhooks.h [multiple changes] 2006-01-18 14:21:25 -05:00
lcm.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
libada-mk.in Update FSF address. 2005-06-25 02:02:01 +00:00
libfuncs.h Update FSF address. 2005-06-25 02:02:01 +00:00
libgcc-std.ver fp-bit.c (clzusi): New function. 2005-11-22 00:38:30 +00:00
libgcc2.c re PR other/25028 (TImode-to-floating conversions broken) 2005-12-15 21:50:10 +00:00
libgcc2.h re PR other/25028 (TImode-to-floating conversions broken) 2005-12-15 21:50:10 +00:00
libgcov.c tree-vn.c (vn_add): Use XNEW. 2005-12-18 01:19:20 +00:00
limitx.h
limity.h
lists.c Update FSF address. 2005-06-25 02:02:01 +00:00
local-alloc.c local-alloc.c (local_alloc): Make it static. 2006-01-17 01:24:50 +00:00
longlong.h re PR other/13873 (gcc/longlong.h uses test for PPC) 2005-12-06 20:25:04 +10:30
loop-doloop.c loop-doloop.c (add_test): Only add jump notes if we did emit a jump. 2005-11-30 11:12:36 +00:00
loop-init.c bb-reorder.c (pass_duplicate_computed_gotos, [...]): Add dump. 2005-08-10 09:02:48 +00:00
loop-invariant.c df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
loop-iv.c loop-iv.c (iv_number_of_iterations): Fix overflow check for loops that count down. 2005-08-31 17:25:36 +00:00
loop-unroll.c re PR rtl-optimization/24497 (internal compiler error: in apply_opt_in_copies, at loop-unroll.c:2122) 2005-11-18 10:31:45 +00:00
loop-unswitch.c loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning. 2005-12-14 14:15:01 +00:00
loop.c loop.c (loop_optimize): Make it static. 2006-01-17 01:27:04 +00:00
machmode.def dfp.h, dfp.c: New files. 2005-12-02 13:30:42 +11:00
machmode.h dfp.h, dfp.c: New files. 2005-12-02 13:30:42 +11:00
main.c Update FSF address. 2005-06-25 02:02:01 +00:00
mips-tdump.c Update FSF address. 2005-06-25 02:02:01 +00:00
mips-tfile.c aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete. 2005-08-16 00:13:53 +00:00
mkconfig.sh Update FSF address. 2005-06-25 02:02:01 +00:00
mklibgcc.in Makefile.in (D32PBIT_FUNCS): New. 2006-01-18 11:39:23 +11:00
mkmap-flat.awk Update FSF address. 2005-06-25 02:02:01 +00:00
mkmap-symver.awk Update FSF address. 2005-06-25 02:02:01 +00:00
mode-classes.def dfp.h, dfp.c: New files. 2005-12-02 13:30:42 +11:00
mode-switching.c mode-switching.c (optimize_mode_switching): Make it static. 2006-01-18 15:01:18 +00:00
modulo-sched.c modulo-sched.c (sms_schedule): Make it static. 2006-01-18 15:02:11 +00:00
omp-builtins.def [multiple changes] 2006-01-18 14:21:25 -05:00
omp-low.c [multiple changes] 2006-01-18 14:21:25 -05:00
opt-functions.awk Update FSF address. 2005-06-25 02:02:01 +00:00
opt-gather.awk Update FSF address. 2005-06-25 02:02:01 +00:00
optabs.c - Fix up date in ChangeLog. Update copyrights in changed files. 2006-01-08 15:52:57 -05:00
optabs.h expr.c (expand_expr_real): Use usmul_optab for widening signed * unsigned multiplies. 2005-11-20 18:49:18 +00:00
optc-gen.awk Update FSF address. 2005-06-25 02:02:01 +00:00
opth-gen.awk Update FSF address. 2005-06-25 02:02:01 +00:00
opts.c * opts.c (decode_options): Fix typo in message. 2005-12-06 11:27:09 +00:00
opts.h Update FSF address. 2005-06-25 02:02:01 +00:00
output.h tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document. 2006-01-06 23:16:23 +00:00
params.c Update FSF address. 2005-06-25 02:02:01 +00:00
params.def re PR tree-optimization/22548 (Aliasing can not tell array members apart) 2006-01-14 14:30:33 +00:00
params.h re PR tree-optimization/22548 (Aliasing can not tell array members apart) 2006-01-14 14:30:33 +00:00
passes.c [multiple changes] 2006-01-18 14:21:25 -05:00
pointer-set.c Update FSF address. 2005-06-25 02:02:01 +00:00
pointer-set.h Update FSF address. 2005-06-25 02:02:01 +00:00
postreload-gcse.c postreload-gcse.c (gcse_after_reload_main): Make it static. 2006-01-18 15:03:44 +00:00
postreload.c * postreload.c (reload_cse_move2add): Don't try to work with BImode. 2005-11-18 08:14:39 -05:00
predict.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
predict.def re PR rtl-optimization/23490 (Long compile time for array initializer with inlined constructor) 2005-11-05 00:55:23 +00:00
predict.h Update FSF address. 2005-06-25 02:02:01 +00:00
prefix.c tree-inline.c (copy_body_r): Use explicit cast when converting from void *. 2005-12-17 20:45:46 +00:00
prefix.h Update FSF address. 2005-06-25 02:02:01 +00:00
pretty-print.c * pretty-print.c (pp_base_format): Fix typo for %>. 2005-09-27 23:53:12 -07:00
pretty-print.h pretty-print.h (pp_widest_integer): New macro. 2005-07-31 20:55:41 +00:00
print-rtl.c aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete. 2005-08-16 00:13:53 +00:00
print-tree.c [multiple changes] 2006-01-18 14:21:25 -05:00
profile.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
protoize.c Update FSF address. 2005-06-25 02:02:01 +00:00
read-rtl.c read-rtl.c (read_quoted_string): Break if EOF. 2005-08-04 23:31:00 +00:00
real.c * real.c (decimal_quad_format): Correct values for emin, emax. 2005-12-16 13:11:48 +11:00
real.h dfp.h, dfp.c: New files. 2005-12-02 13:30:42 +11:00
recog.c * recog.c: Separate some functions with whitespace. 2006-01-17 13:25:27 +11:00
recog.h reload.c (find_reloads): Fix comment typo. 2005-12-16 16:44:17 +10:30
reg-notes.def Update FSF address. 2005-06-25 02:02:01 +00:00
reg-stack.c reg-stack.c (reg_to_stack): Make it static. 2006-01-18 15:04:37 +00:00
regclass.c re PR target/21623 (ICE in reload_cse_simplify_operands, at postreload.c:391) 2005-11-24 18:55:53 +00:00
regmove.c regmove.c (regmove_optimize, [...]): Make them static. 2006-01-18 06:40:08 +00:00
regrename.c regrename.c (regrename_optimize, [...]): Make them static. 2006-01-18 15:05:35 +00:00
regs.h re PR rtl-optimization/23478 (Miscompilation due to reloading of a var that is also used in EH pad) 2005-08-22 18:58:50 +02:00
reload.c reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of mems. 2006-01-16 19:58:06 -05:00
reload.h reload.h (reg_equiv_invariant): Declare. 2005-12-07 23:41:19 +00:00
reload1.c reload1.c (do_output_reload): Add assertion rejecting a CALL_INSN. 2006-01-14 05:30:32 +00:00
reorg.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
resource.c Update FSF address. 2005-06-25 02:02:01 +00:00
resource.h Update FSF address. 2005-06-25 02:02:01 +00:00
rtl-error.c Makefile.in (C_TREE_H): Update dependencies. 2005-07-23 15:22:46 +00:00
rtl-factoring.c rtl-factoring.c: Add sequence abstraction algorithm. 2006-01-16 15:56:47 +00:00
rtl-profile.c Update FSF address. 2005-06-25 02:02:01 +00:00
rtl.c Makefile.in (RTL_BASE_H): Add real.h. 2005-08-01 14:16:31 -07:00
rtl.def Update FSF address. 2005-06-25 02:02:01 +00:00
rtl.h * rtl.h: Remove the prototype for reg_alloc. 2006-01-18 17:41:04 +00:00
rtlanal.c rtlanal.c (global_reg_mentioned_p_1, [...]): Remove. 2006-01-18 06:22:04 +00:00
rtlhooks-def.h Update FSF address. 2005-06-25 02:02:01 +00:00
rtlhooks.c rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point values. 2005-12-13 12:49:56 +00:00
sbitmap.c bt-load.c (link_btr_uses): Fix uninitialised warnings. 2005-07-19 14:08:32 +10:00
sbitmap.h Update FSF address. 2005-06-25 02:02:01 +00:00
scan-decls.c Update FSF address. 2005-06-25 02:02:01 +00:00
scan-types.sh
scan.c Update FSF address. 2005-06-25 02:02:01 +00:00
scan.h Update FSF address. 2005-06-25 02:02:01 +00:00
sched-deps.c df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
sched-ebb.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
sched-int.h re PR rtl-optimization/17808 (Scheduler overly conservative in sched-deps) 2005-07-27 16:28:34 +00:00
sched-rgn.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
sched-vis.c Update FSF address. 2005-06-25 02:02:01 +00:00
sdbout.c alpha.c (alpha_start_function): Use switch_to_section. 2005-12-07 07:53:14 +00:00
sdbout.h Update FSF address. 2005-06-25 02:02:01 +00:00
simplify-rtx.c - Fix up date in ChangeLog. Update copyrights in changed files. 2006-01-08 15:52:57 -05:00
sort-protos
sreal.c Update FSF address. 2005-06-25 02:02:01 +00:00
sreal.h Update FSF address. 2005-06-25 02:02:01 +00:00
stab.def Update FSF address. 2005-06-25 02:02:01 +00:00
statistics.h Update FSF address. 2005-06-25 02:02:01 +00:00
stmt.c re PR c/25183 (internal compiler error triggered by overflow in constant expression) 2006-01-03 09:15:08 +00:00
stor-layout.c fold-const.c (fold_minmax): New static function. 2006-01-16 14:26:32 +00:00
stringpool.c Update FSF address. 2005-06-25 02:02:01 +00:00
struct-equiv.c * struct-equiv.c (find_dying_inputs): Fix off-by-one bug. 2006-01-12 17:22:22 +00:00
stub-objc.c Update FSF address. 2005-06-25 02:02:01 +00:00
sync-builtins.def backport: builtins.def: Move all DEF_SYNC_BUILTIN to ... 2005-12-22 16:43:34 -08:00
sys-protos.h
sys-types.h
system.h re PR driver/20425 (-print-search-dirs doesn't honor mutil-os/multilib settings) 2005-12-16 20:16:22 +10:30
target-def.h re PR tree-optimization/23109 (compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)) 2006-01-11 13:02:18 +00:00
target.h re PR tree-optimization/23109 (compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)) 2006-01-11 13:02:18 +00:00
targhooks.c re PR tree-optimization/23109 (compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)) 2006-01-11 13:02:18 +00:00
targhooks.h re PR tree-optimization/23109 (compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)) 2006-01-11 13:02:18 +00:00
timevar.c Update FSF address. 2005-06-25 02:02:01 +00:00
timevar.def rtl-factoring.c: Add sequence abstraction algorithm. 2006-01-16 15:56:47 +00:00
timevar.h Update FSF address. 2005-06-25 02:02:01 +00:00
tlink.c Update FSF address. 2005-06-25 02:02:01 +00:00
toplev.c re PR c/24101 (Segfault with preprocessed source) 2005-11-09 07:30:03 +01:00
toplev.h re PR debug/23190 (debug info omitted for uninitialized variables (stabs)) 2005-09-08 17:47:05 -07:00
tracer.c basic-block.h: Changed basic block numbering so that the entry block is 0 and the exit block is 1. 2005-12-17 13:40:27 +00:00
tree-browser.c Makefile.in (TREE_H): Add treestruct.def. 2005-07-08 23:37:11 +00:00
tree-browser.def Update FSF address. 2005-06-25 02:02:01 +00:00
tree-cfg.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree-cfgcleanup.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-chrec.c re PR tree-optimization/18527 (cannot determine number of iterations for loops with <=) 2006-01-06 20:22:56 +00:00
tree-chrec.h tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build. 2005-12-02 17:09:40 +00:00
tree-complex.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-data-ref.c tree-data-ref.c (estimate_niter_from_size_of_data): Replace fold_build2 with fold_binary. 2005-12-21 16:48:59 +00:00
tree-data-ref.h lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS for testing whether the data_dependence_relation... 2005-11-05 16:50:47 +00:00
tree-dfa.c tree-dfa.c (mark_new_vars_to_rename): Create stmt annotation, if necessary. 2006-01-06 12:27:14 +00:00
tree-dump.c In gcc/ 2005-12-05 Daniel Berlin <dberlin@dberlin.org> 2005-12-06 04:22:11 +00:00
tree-dump.h [multiple changes] 2006-01-18 14:21:25 -05:00
tree-eh.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-flow-inline.h re PR tree-optimization/22548 (Aliasing can not tell array members apart) 2006-01-14 14:30:33 +00:00
tree-flow.h tree-ssa-threadupdate.c (threaded_edges): New VEC to hold edge pairs. 2006-01-11 13:39:42 -07:00
tree-gimple.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree-gimple.h [multiple changes] 2006-01-18 14:21:25 -05:00
tree-if-conv.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-inline.c backport: Makefile.in (TREE_INLINE_H): New. 2006-01-16 18:17:16 -08:00
tree-inline.h backport: Makefile.in (TREE_INLINE_H): New. 2006-01-16 18:17:16 -08:00
tree-into-ssa.c tree-pass.h (TODO_remove_unused_locals): Define. 2006-01-05 13:53:54 +00:00
tree-iterator.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree-iterator.h tree-iterator.h (TSI_NEW_STMT, [...]): Fix comments. 2005-07-04 14:34:14 -04:00
tree-loop-linear.c lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS for testing whether the data_dependence_relation... 2005-11-05 16:50:47 +00:00
tree-mudflap.c tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build. 2005-12-02 17:09:40 +00:00
tree-mudflap.h Update FSF address. 2005-06-25 02:02:01 +00:00
tree-nested.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree-nomudflap.c Update FSF address. 2005-06-25 02:02:01 +00:00
tree-nrv.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-object-size.c ipa-type-escape.c (analyze_variable): Use gcc_assert instead of abort. 2005-12-08 15:46:09 +00:00
tree-optimize.c cgraph.c (cgraph_insert_node_to_hashtable): New function. 2006-01-11 13:13:37 +00:00
tree-outof-ssa.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-pass.h [multiple changes] 2006-01-18 14:21:25 -05:00
tree-phinodes.c Update FSF address. 2005-06-25 02:02:01 +00:00
tree-pretty-print.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree-profile.c tree-ssa-loop-im.c (schedule_sm): Use buildN instead of build. 2005-12-02 17:09:40 +00:00
tree-scalar-evolution.c re PR tree-optimization/18527 (cannot determine number of iterations for loops with <=) 2006-01-06 20:22:56 +00:00
tree-scalar-evolution.h re PR tree-optimization/18527 (cannot determine number of iterations for loops with <=) 2006-01-06 20:22:56 +00:00
tree-sra.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-ssa-address.c tree-ssa-address.c (create_mem_ref): Put the symbol reference into the base register if possible. 2005-09-20 07:53:11 +00:00
tree-ssa-alias.c tree-ssa-alias.c (struct used_part): Add write_only field. 2006-01-16 19:35:08 +00:00
tree-ssa-ccp.c tree-data-ref.c (estimate_niter_from_size_of_data): Replace fold_build2 with fold_binary. 2005-12-21 16:48:59 +00:00
tree-ssa-copy.c tree-tailcall.c (find_tail_calls): Use XNEW. 2005-12-18 09:26:53 +00:00
tree-ssa-copyrename.c Update FSF address. 2005-06-25 02:02:01 +00:00
tree-ssa-dce.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree-ssa-dom.c tree-ssa-threadupdate.c (threaded_edges): New VEC to hold edge pairs. 2006-01-11 13:39:42 -07:00
tree-ssa-dse.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-ssa-forwprop.c re PR tree-optimization/25734 (ice for legal kernel code with -Os) 2006-01-11 19:44:57 +00:00
tree-ssa-live.c tree-pass.h (TODO_remove_unused_locals): Define. 2006-01-05 13:53:54 +00:00
tree-ssa-live.h tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost. 2005-07-30 22:14:17 +00:00
tree-ssa-loop-ch.c re PR tree-optimization/20773 (ICE: SEGV building jar file) 2005-07-27 13:23:33 +00:00
tree-ssa-loop-im.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-ssa-loop-ivcanon.c tree.c (tree_fold_gcd): Use build_int_cst where appropriate. 2005-12-22 19:40:27 +00:00
tree-ssa-loop-ivopts.c re PR tree-optimization/18527 (cannot determine number of iterations for loops with <=) 2006-01-06 20:22:56 +00:00
tree-ssa-loop-manip.c builtins.c, [...]: Use fold_buildN instead of fold (buildN (...)). 2005-06-26 21:21:34 +00:00
tree-ssa-loop-niter.c tree-ssa-loop-niter.c (number_of_iterations_cond): Split into several functions. 2006-01-14 12:29:06 +00:00
tree-ssa-loop-unswitch.c re PR rtl-optimization/25224 (ICE in initialize_original_copy_tables) 2005-12-15 23:52:16 +00:00
tree-ssa-loop.c re PR tree-optimization/22555 (array in struct disables salias subvars for other fields) 2006-01-05 15:30:44 +00:00
tree-ssa-math-opts.c re PR tree-optimization/23109 (compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)) 2006-01-11 13:02:18 +00:00
tree-ssa-operands.c re PR tree-optimization/22548 (Aliasing can not tell array members apart) 2006-01-14 14:30:33 +00:00
tree-ssa-operands.h Makefile.in (tree-ssa-alias.o): Depend on tree-ssa-structalias.h 2005-07-09 20:28:01 -04:00
tree-ssa-opfinalize.h re PR tree-optimization/18587 (build_v_may_defs and build_vuses can be improved when adding) 2005-10-05 15:16:42 +00:00
tree-ssa-phiopt.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-ssa-pre.c re PR tree-optimization/25771 (ice in coalesce_abnormal_edges, at tree-outof-ssa.c:621) 2006-01-13 16:00:13 +00:00
tree-ssa-propagate.c tree-ssa-propagate.c (cfg_blocks): Change the type to VEC(basic_block,heap) *. 2006-01-03 06:30:13 +00:00
tree-ssa-propagate.h Update FSF address. 2005-06-25 02:02:01 +00:00
tree-ssa-reassoc.c tree-data-ref.c (estimate_niter_from_size_of_data): Replace fold_build2 with fold_binary. 2005-12-21 16:48:59 +00:00
tree-ssa-sink.c Update FSF address. 2005-06-25 02:02:01 +00:00
tree-ssa-structalias.c re PR tree-optimization/22548 (Aliasing can not tell array members apart) 2006-01-14 14:30:33 +00:00
tree-ssa-structalias.h Makefile.in (tree-ssa-alias.o): Depend on tree-ssa-structalias.h 2005-07-09 20:28:01 -04:00
tree-ssa-threadupdate.c tree-ssa-threadupdate.c (threaded_edges): New VEC to hold edge pairs. 2006-01-11 13:39:42 -07:00
tree-ssa-uncprop.c tree-tailcall.c (find_tail_calls): Use XNEW. 2005-12-18 09:26:53 +00:00
tree-ssa.c tree-flow.h (struct var_ann_d): Change type of may_aliases field to VEC(tree, gc) *. 2005-12-19 19:13:21 +00:00
tree-ssanames.c tree-dfa.c (dump_variable): Use default_def function. 2005-07-13 22:35:29 +00:00
tree-stdarg.c * tree-stdarg.c (execute_optimize_stdarg): Process PHI nodes too. 2005-10-02 02:05:45 -07:00
tree-stdarg.h Update FSF address. 2005-06-25 02:02:01 +00:00
tree-tailcall.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-vect-analyze.c lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS for testing whether the data_dependence_relation... 2005-11-05 16:50:47 +00:00
tree-vect-generic.c optabs.c (expand_abs_nojump): Use SCALAR_FLOAT_MODE_P instead of explicitly testing GET_MODE_CLASS (x) ==... 2005-11-22 07:53:27 +11:00
tree-vect-transform.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-vectorizer.c tree-cfg.c (bsi_replace): Rename final argument from PRESERVE_EH_INFO to UPDATE_EH_INFO. 2006-01-06 10:50:26 -07:00
tree-vectorizer.h common.opt: Add option ftree-vect-loop-version. 2005-09-06 10:59:58 +00:00
tree-vn.c tree.h (VALUE_HANDLE_VUSES): New. 2005-12-30 18:43:00 +00:00
tree-vrp.c tree-vrp.c (extract_range_from_binary_expr): Cope with vrp_int_const_binop returning non-constant nodes. 2006-01-16 16:53:48 +00:00
tree.c [multiple changes] 2006-01-18 14:21:25 -05:00
tree.def [multiple changes] 2006-01-18 14:21:25 -05:00
tree.h [multiple changes] 2006-01-18 14:21:25 -05:00
treestruct.def In gcc/ 2005-12-05 Daniel Berlin <dberlin@dberlin.org> 2005-12-06 04:22:11 +00:00
tsystem.h Update FSF address. 2005-06-25 02:02:01 +00:00
typeclass.h Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-c.c unwind-arm.c (abort): Add prototype here. 2005-11-16 17:08:05 +00:00
unwind-compat.c Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-compat.h Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-dw2-fde-compat.c Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-dw2-fde-darwin.c Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-dw2-fde-glibc.c unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard against prev_cache_entry == NULL when moving a cache entry to the head of... 2005-12-15 16:17:50 +00:00
unwind-dw2-fde.c Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-dw2-fde.h Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-dw2.c dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int. 2005-11-17 17:19:10 -08:00
unwind-dw2.h Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-generic.h Makefile.in: Set and use UNWIND_H. 2005-06-28 20:06:39 +00:00
unwind-pe.h Update FSF address. 2005-06-25 02:02:01 +00:00
unwind-sjlj.c unwind-ia64.c (uw_advance_context): New. 2005-11-16 22:10:39 +00:00
unwind.inc unwind-ia64.c (uw_advance_context): New. 2005-11-16 22:10:39 +00:00
value-prof.c Makefile.in, [...]: Fix comment/doc typos. 2005-08-06 13:26:35 +00:00
value-prof.h Makefile.in (rtl-profile.o): Kill all traces of it. 2005-07-28 21:48:38 +00:00
var-tracking.c cfganal.c (flow_reverse_top_sort_order_compute): Renamed to post_order_compute and additional parameter added which allows the... 2005-12-20 23:10:49 +00:00
varasm.c tm.texi (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Document. 2006-01-06 23:16:23 +00:00
varray.c varray.h: Allow compilation with a C++ compiler. 2005-12-12 09:14:12 +00:00
varray.h varray.h: Allow compilation with a C++ compiler. 2005-12-12 09:14:12 +00:00
vec.c Update FSF address. 2005-06-25 02:02:01 +00:00
vec.h * vec.h (VEC_block_remove): New. 2005-12-01 12:20:20 +00:00
version.c
version.h
vmsdbg.h Update FSF address. 2005-06-25 02:02:01 +00:00
vmsdbgout.c alpha.c (alpha_start_function): Use switch_to_section. 2005-12-07 07:53:14 +00:00
web.c df.h (DF_SCAN, [...]): New macros. 2006-01-11 12:57:18 +00:00
xcoff.h
xcoffout.c bb-reorder.c, [...]: Avoid "." or "\n" at end of diagnostics and capital letters at start of diagnostics. 2005-07-03 22:08:11 +01:00
xcoffout.h Update FSF address. 2005-06-25 02:02:01 +00:00

README.Portability

Copyright (C) 2000, 2003 Free Software Foundation, Inc.

This file is intended to contain a few notes about writing C code
within GCC so that it compiles without error on the full range of
compilers GCC needs to be able to compile on.

The problem is that many ISO-standard constructs are not accepted by
either old or buggy compilers, and we keep getting bitten by them.
This knowledge until know has been sparsely spread around, so I
thought I'd collect it in one useful place.  Please add and correct
any problems as you come across them.

I'm going to start from a base of the ISO C90 standard, since that is
probably what most people code to naturally.  Obviously using
constructs introduced after that is not a good idea.

For the complete coding style conventions used in GCC, please read
http://gcc.gnu.org/codingconventions.html


String literals
---------------

Irix6 "cc -n32" and OSF4 "cc" have problems with constant string
initializers with parens around it, e.g.

const char string[] = ("A string");

This is unfortunate since this is what the GNU gettext macro N_
produces.  You need to find a different way to code it.

Some compilers like MSVC++ have fairly low limits on the maximum
length of a string literal; 509 is the lowest we've come across.  You
may need to break up a long printf statement into many smaller ones.


Empty macro arguments
---------------------

ISO C (6.8.3 in the 1990 standard) specifies the following:

If (before argument substitution) any argument consists of no
preprocessing tokens, the behavior is undefined.

This was relaxed by ISO C99, but some older compilers emit an error,
so code like

#define foo(x, y) x y
foo (bar, )

needs to be coded in some other way.


free and realloc
----------------

Some implementations crash upon attempts to free or realloc the null
pointer.  Thus if mem might be null, you need to write

  if (mem)
    free (mem);


Trigraphs
---------

You weren't going to use them anyway, but some otherwise ISO C
compliant compilers do not accept trigraphs.


Suffixes on Integer Constants
-----------------------------

You should never use a 'l' suffix on integer constants ('L' is fine),
since it can easily be confused with the number '1'.


			Common Coding Pitfalls
			======================

errno
-----

errno might be declared as a macro.


Implicit int
------------

In C, the 'int' keyword can often be omitted from type declarations.
For instance, you can write

  unsigned variable;

as shorthand for

  unsigned int variable;

There are several places where this can cause trouble.  First, suppose
'variable' is a long; then you might think

  (unsigned) variable

would convert it to unsigned long.  It does not.  It converts to
unsigned int.  This mostly causes problems on 64-bit platforms, where
long and int are not the same size.

Second, if you write a function definition with no return type at
all:

  operate (int a, int b)
  {
    ...
  }

that function is expected to return int, *not* void.  GCC will warn
about this.

Implicit function declarations always have return type int.  So if you
correct the above definition to

  void
  operate (int a, int b)
  ...

but operate() is called above its definition, you will get an error
about a "type mismatch with previous implicit declaration".  The cure
is to prototype all functions at the top of the file, or in an
appropriate header.

Char vs unsigned char vs int
----------------------------

In C, unqualified 'char' may be either signed or unsigned; it is the
implementation's choice.  When you are processing 7-bit ASCII, it does
not matter.  But when your program must handle arbitrary binary data,
or fully 8-bit character sets, you have a problem.  The most obvious
issue is if you have a look-up table indexed by characters.

For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
true.  But if you read '\341' from a file and store it in a plain
char, isalpha(c) may look up character 225, or it may look up
character -31.  And the ctype table has no entry at offset -31, so
your program will crash.  (If you're lucky.)

It is wise to use unsigned char everywhere you possibly can.  This
avoids all these problems.  Unfortunately, the routines in <string.h>
take plain char arguments, so you have to remember to cast them back
and forth - or avoid the use of strxxx() functions, which is probably
a good idea anyway.

Another common mistake is to use either char or unsigned char to
receive the result of getc() or related stdio functions.  They may
return EOF, which is outside the range of values representable by
char.  If you use char, some legal character value may be confused
with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
The correct choice is int.

A more subtle version of the same mistake might look like this:

  unsigned char pushback[NPUSHBACK];
  int pbidx;
  #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
  #define get(c) (pbidx ? pushback[--pbidx] : getchar())
  ...
  unget(EOF);

which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
WITH UMLAUT.


Other common pitfalls
---------------------

o Expecting 'plain' char to be either sign or unsigned extending.

o Shifting an item by a negative amount or by greater than or equal to
  the number of bits in a type (expecting shifts by 32 to be sensible
  has caused quite a number of bugs at least in the early days).

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

o Host vs. target floating point representation, including emitting NaNs
  and Infinities in a form that the assembler handles.

o qsort being an unstable sort function (unstable in the sense that
  multiple items that sort the same may be sorted in different orders
  by different qsort functions).

o Passing incorrect types to fprintf and friends.

o Adding a function declaration for a module declared in another file to
  a .c file instead of to a .h file.