gcc/gcc
Zdenek Dvorak c94583fe55 unroll.c: Removed.
* unroll.c: Removed.
	* loop.h: Removed.
	* Makefile.in (LOOP_H, unroll.o): Removed.
	(toplev.o, passes.o, stmt.o, integrate.o, loop.o): Remove LOOP_H
	dependency.
	* alias.c (init_alias_analysis): Remove flag_old_unroll_loops
	reference.
	* cfgloop.h (LOOP_PREFETCH, loop_optimize): Moved from loop.h.
	* common.opt (fold-unroll-loops, fold-unroll-all-loops): Removed.
	* loop.c: Do not include loop.h.
	(LOOP_INFO, LOOP_MOVABLES, LOOP_REGS, LOOP_IVS, INSN_LUID,
	REGNO_FIRST_LUID, REGNO_LAST_LUID, enum g_types, struct induction,
	struct iv_class, enum iv_mode, struct iv, REG_IV_TYPE, REG_IV_INFO,
	REG_IV_CLASS, struct loop_ivs, struct loop_mem_info, struct loop_reg,
	struct loop_regs, struct loop_movables, struct loop_info): Moved
	from loop.h.
	(back_branch_in_range_p, fold_rtx_mult_add, biv_total_increment,
	reg_dead_after_loop, final_biv_value, loop_find_equiv_value,
	find_common_reg_term, loop_iterations, final_giv_value): Moved
	from unroll.c.
	(uid_luid, uid_loop, max_uid_for_loop, max_reg_before_loop,
	loop_dump_stream, for_each_insn_in_loop, express_from,
	extend_value_for_giv, loop_iv_add_mult_emit_before,
	loop_iv_add_mult_sink, loop_iv_add_mult_hoist,
	loop_insn_first_p, get_condition_for_loop,
	loop_insn_emit_before, loop_insn_hoist,
	loop_insn_sink): Made static.
	(loop_invariant_p): Made static.  Removed flag_old_unroll_loops
	reference.
	(strength_reduce): Do not call unroller.
	(record_giv): Do not initialize unrolled field.
	(prescan_loop): Do not set loop_info->preconditioned.
	* passes.c: Do not include loop.h.
	(rest_of_handle_loop_optimize): Do not call unroller.
	* predict.c: Do not include loop.h.
	* rtl.h (NOTE_PRECONDITIONED): Removed.
	* stmt.c: Do not include loop.h.
	* toplev.c: Do not include loop.h.
	(process_options): Do not handle flag_old_unroll_loops.

	* doc/invoke.texi (fold-unroll-loops, fold-unroll-all-loops):
	Documentation removed.
	* doc/passes.texi (unroll.c, loop.h): Documentation removed.

From-SVN: r87485
2004-09-14 07:43:08 +00:00
..
ada [multiple changes] 2004-09-13 12:18:42 +02:00
config i386.c (output_fp_compare): Add generation of ftst instruction. 2004-09-14 07:21:51 +02:00
cp re PR c++/16162 (Rejects valid member-template-definition) 2004-09-14 05:44:39 +00:00
doc unroll.c: Removed. 2004-09-14 07:43:08 +00:00
fortran Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
ginclude c-parse.in (OFFSETOF, [...]): New. 2004-06-01 08:12:23 -07:00
java re PR java/17216 (ICE in 3.5, error in 3.4.1 when compiling .class->.o) 2004-09-14 01:50:12 +00:00
objc c-tree.h (enum c_declarator_kind, [...]): New. 2004-09-09 02:19:15 +01:00
po * fr.po: Update. 2004-05-26 10:20:56 +01:00
testsuite re PR c++/16162 (Rejects valid member-template-definition) 2004-09-14 05:44:39 +00:00
treelang * treetree.c (tree_code_get_integer_value): Fix build_int_cst call. 2004-08-26 09:14:44 +00:00
.cvsignore * .cvsignore: Add GPATH, GRTAGS, GSYMS and GTAGS (GNU GLOBAL) 2004-03-30 18:18:59 +09:30
ABOUT-GCC-NLS
COPYING
COPYING.LIB
ChangeLog unroll.c: Removed. 2004-09-14 07:43:08 +00:00
ChangeLog.0
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6 ChangeLog.6: Fix misspellings. 2003-07-01 13:10:26 +00:00
ChangeLog.7 ChangeLog.7: Fix comment typos. 2003-11-21 06:52:23 +00:00
ChangeLog.8 Rotate ChangeLog 2004-01-01 00:32:08 +00:00
ChangeLog.9 fix date typo 2003-07-24 17:18:40 +00:00
ChangeLog.10 Fix typo: FIRST_PSEOUDO_REGISTER -> FIRST_PSEUDO_REGISTER 2004-03-02 01:14:08 +01:00
ChangeLog.11 Rotate ChangeLog 2004-07-01 12:47:14 +00:00
ChangeLog.lib
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES * LANGUAGES: Remove obsolete information. 2004-07-11 12:54:14 +01:00
Makefile.in unroll.c: Removed. 2004-09-14 07:43:08 +00:00
ONEWS
README-fixinc
README.Portability README.Portability: Change "ISO C89" to "ISO C90". 2004-02-08 20:55:34 +00:00
SERVICE
aclocal.m4 aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset... 2004-08-03 20:33:23 +00:00
alias.c unroll.c: Removed. 2004-09-14 07:43:08 +00:00
alias.h Makefile.in (EXPR_H): Add insn-config.h... 2004-06-02 02:09:45 +00:00
alloc-pool.c alias.c (mems_in_disjoint_alias_sets_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-08-30 19:13:03 +00:00
alloc-pool.h alloc-pool.h, [...]: Update copyright. 2004-02-04 19:15:30 +00:00
attribs.c attribs.c (strip_attrs): Remove. 2004-08-31 09:29:24 +01:00
basic-block.h basic-block.h (guess_outgoing_edge_probabilities): Declare. 2004-09-09 12:20:40 +00:00
bb-reorder.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
bitmap.c alias.c (mems_in_disjoint_alias_sets_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-08-30 19:13:03 +00:00
bitmap.h alias.c: Fix comment formatting. 2003-12-21 14:08:35 +00:00
bt-load.c alias.c (mems_in_disjoint_alias_sets_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-08-30 19:13:03 +00:00
builtin-attrs.def builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New. 2004-09-05 02:55:28 +00:00
builtin-types.def builtin-types.def (BT_UINT): Rename from BT_UNSIGNED. 2004-07-09 16:04:33 -07:00
builtins.c builtins.c (build_va_arg_indirect_ref): New function. 2004-09-09 16:33:25 +00:00
builtins.def builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New. 2004-09-05 02:55:28 +00:00
c-aux-info.c c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. 2004-09-07 10:19:00 +00:00
c-common.c c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-common.def c-common.c (c_safe_from_p, [...]): Deleted. 2004-06-26 17:11:23 -04:00
c-common.h c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h. 2004-09-10 23:56:31 +00:00
c-config-lang.in
c-convert.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
c-cppbuiltin.c c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. 2004-09-07 10:19:00 +00:00
c-decl.c Fix PR 17408 and PR 17409. 2004-09-14 00:35:02 +00:00
c-dump.c Conditionally compile support for --enable-mapped_location. 2004-06-30 11:05:07 -07:00
c-errors.c c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn when warn_declaration_after_statement. 2003-07-28 20:03:25 +00:00
c-format.c c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. 2004-09-07 10:19:00 +00:00
c-format.h Makefile.in (c-format.o): Depend on c-format.h. 2004-07-19 14:48:09 +00:00
c-gimplify.c c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. 2004-09-07 10:19:00 +00:00
c-incpath.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
c-incpath.h c.opt (Wmissing-include-dirs): New. 2004-05-22 12:39:35 +10:00
c-lang.c Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h. 2004-08-15 21:47:32 +00:00
c-lex.c c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-objc-common.c c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-objc-common.h Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h. 2004-08-15 21:47:32 +00:00
c-opts.c c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-parse.in c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-pch.c c-common.c, [...]: Fix comment typos. 2004-09-10 10:44:48 +00:00
c-ppoutput.c Conditionally compile support for --enable-mapped_location. 2004-06-30 11:11:14 -07:00
c-pragma.c c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-pragma.h Makefile.in (C_PRAGMA_H): New variable to track dependencies of c-pragma.h. 2004-07-26 02:29:41 +02:00
c-pretty-print.c c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. 2004-09-07 10:19:00 +00:00
c-pretty-print.h c-pretty-print.c (pp_c_left_bracket): Make a function. 2004-05-31 15:25:51 +00:00
c-semantics.c c-common.h (STATEMENT_LIST_HAS_LABEL): New. 2004-08-11 21:09:57 -07:00
c-tree.h c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c-typeck.c c-common.c, [...]: Use %q, %< and %> for quoting in diagnostics. 2004-09-13 00:53:29 +01:00
c.opt re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads) 2004-08-27 22:33:54 -04:00
caller-save.c c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. 2004-09-07 10:19:00 +00:00
calls.c function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
cfg.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfganal.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfgbuild.c basic-block.h (guess_outgoing_edge_probabilities): Declare. 2004-09-09 12:20:40 +00:00
cfgcleanup.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfgexpand.c re PR middle-end/17416 (stack variable merging doesn't work) 2004-09-11 13:07:11 -07:00
cfghooks.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfghooks.h Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
cfglayout.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfglayout.h re PR rtl-optimization/16643 (verify_local_live_at_start ICE after crossjumping & cfgcleanup) 2004-07-26 14:34:19 +00:00
cfgloop.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfgloop.h unroll.c: Removed. 2004-09-14 07:43:08 +00:00
cfgloopanal.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfgloopmanip.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
cfgrtl.c Fix hot/cold partitioning problem. 2004-09-07 10:54:16 -07:00
cgraph.c New code to analyze file level static variables and to determine if... 2004-09-13 22:51:01 +00:00
cgraph.h New code to analyze file level static variables and to determine if... 2004-09-13 22:51:01 +00:00
cgraphunit.c New code to analyze file level static variables and to determine if... 2004-09-13 22:51:01 +00:00
collect2.c Makefile.in (BUILD_ERRORS): Set to build-errors. 2004-08-23 11:57:02 +00:00
collect2.h Makefile.in (BUILD_ERRORS): Set to build-errors. 2004-08-23 11:57:02 +00:00
combine.c combine.c (try_combine): When swapping i2 and i3... 2004-09-09 21:57:50 +00:00
common.opt unroll.c: Removed. 2004-09-14 07:43:08 +00:00
conditions.h
config.build xm-iris5.h: Remove, unnecessary. 2003-10-01 23:51:10 +00:00
config.gcc config.gcc: Added support for --with-divide=[breaks|traps] for mips targets. 2004-09-07 19:39:06 +00:00
config.host re PR rtl-optimization/13987 (compile time regression while compile fold-const.i) 2004-08-30 17:29:04 -07:00
config.in * config.in: Regenerate after removal of libbanshee. 2004-09-13 19:25:42 +00:00
configure configure.ac (AC_MSG_CHECKING(what linker to use)): in_tree_ld_is_elf should be true for LynxOS. 2004-09-11 04:26:36 +00:00
configure.ac configure.ac (AC_MSG_CHECKING(what linker to use)): in_tree_ld_is_elf should be true for LynxOS. 2004-09-11 04:26:36 +00:00
conflict.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
convert.c Fix excess errors problem for invalid vector testcase. 2004-09-10 20:29:07 -07:00
convert.h * convert.h: Add include guards 2004-06-15 21:04:15 +00:00
coretypes.h tree.h (enum tls_model): Move ... 2004-07-28 23:36:41 +00:00
coverage.c cfganal.c (flow_depth_first_order_compute, [...]): Use gcc_assert or gcc_unreachable. 2004-09-07 15:46:53 +00:00
coverage.h Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
cppdefault.c
cppdefault.h
cppspec.c alias.c [...]: Remove unnecessary casts. 2003-07-19 14:47:15 +00:00
crtstuff.c alias.c, [...]: Update copyright. 2004-01-21 20:40:04 +00:00
cse.c cse.c (fold_rtx): Avoid building of (CONST (MINUS (CONST_INT) (SYMBOL_REF))) 2004-09-07 20:59:18 +00:00
cselib.c re PR inline-asm/6806 (gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386) 2004-09-13 02:05:31 -07:00
cselib.h re PR inline-asm/6806 (gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386) 2004-09-13 02:05:31 -07:00
cstamp-h.in
dbxout.c dbxout.c (dbxout_block): Update for current_function_func_begin_label a string. 2004-09-10 19:03:13 +00:00
dbxout.h * dbxout.h: Add include guards 2004-06-25 15:01:35 +00:00
ddg.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
ddg.h c-typeck.c, [...]: Fix comment typos. 2004-06-26 05:03:55 +00:00
debug.c debug.h (struct gcc_debug_hooks): Add type_decl field. 2004-02-12 21:42:28 +00:00
debug.h debug.h (struct gcc_debug_hooks): Add type_decl field. 2004-02-12 21:42:28 +00:00
defaults.h c-common.c, [...]: Fix comment typos. 2004-09-10 10:44:48 +00:00
df.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
df.h Makefile.in (df.o): Remove fibheap dependency. 2004-06-10 15:01:01 +00:00
diagnostic.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
diagnostic.def re PR c++/11531 (ICE on invalid code (returning to void)) 2003-07-15 23:31:52 +00:00
diagnostic.h c-opts.c (c_common_handle_option): <case OPT_Werror> set global_dc->warning_as_error_requested. 2004-08-30 04:48:34 +00:00
dojump.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
dominance.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
domwalk.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
domwalk.h configure.ac: Don't invoke ACX_HEADER_STDBOOL. 2004-06-12 05:53:54 +00:00
dummy-conditions.c genpreds.c: Add capability to generate predicate bodies as well as function prototypes. 2004-08-12 07:49:00 +00:00
dwarf.h
dwarf2.h dwarf2.h, [...]: Add multiple-include guard. 2004-01-08 07:50:46 +00:00
dwarf2asm.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
dwarf2asm.h basic-block.h: Convert prototypes to ISO C90. 2003-07-06 20:59:38 +02:00
dwarf2out.c dbxout.c (dbxout_block): Update for current_function_func_begin_label a string. 2004-09-10 19:03:13 +00:00
dwarf2out.h cse.c: Convert prototypes to ISO C90. 2003-06-29 17:19:13 +02:00
emit-rtl.c Add CONST1_RTX (vector mode) support. 2004-09-10 18:49:40 -07:00
emit-rtl.h Makefile.in (EXPR_H): Add insn-config.h... 2004-06-02 02:09:45 +00:00
errors.c Makefile.in (BUILD_ERRORS): Set to build-errors. 2004-08-23 11:57:02 +00:00
errors.h Makefile.in (BUILD_ERRORS): Set to build-errors. 2004-08-23 11:57:02 +00:00
et-forest.c emit-rtl.c (immed_double_const): Use gcc_assert and gcc_unreachable. 2004-09-08 08:05:14 +00:00
et-forest.h c-incpath.c, [...]: Update copyright. 2004-03-15 18:20:51 +00:00
except.c PR 17186, part deux 2004-09-12 10:22:03 -07:00
except.h dwarf2out.c (dwarf2out_begin_prologue): Rename IA64_UNWIND_INFO to TARGET_UNWIND_INFO. 2004-07-15 01:07:53 +00:00
explow.c emit-rtl.c (immed_double_const): Use gcc_assert and gcc_unreachable. 2004-09-08 08:05:14 +00:00
expmed.c expmed.c (synth_mult): Initialize latency. 2004-09-13 23:25:12 +00:00
expr.c * expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr. 2004-09-11 10:48:22 -07:00
expr.h function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
final.c * final.c (output_asm_insn): Correct problem with -fverbose-asm. 2004-09-11 01:54:14 +00:00
fix-header.c final.c (shorten_branches, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 15:44:46 +00:00
fixinc.in Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
fixproto
flags.h Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
flow.c final.c (shorten_branches, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 15:44:46 +00:00
fold-const.c fold-const.c (fold_checksum_tree): Ignore TYPE_CACHED_VALUES. 2004-09-13 23:25:45 +00:00
fp-test.c fp-test.c (main): Use ISO C90 prototype. 2003-07-12 13:29:18 +02:00
function.c re PR middle-end/17367 (expand_expr_addr_expr with parallels (-O1 -mcpu=G5)) 2004-09-09 17:50:24 -07:00
function.h function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
gbl-ctors.h
gcc.c gcc.c (add_sysrooted_prefix, [...]): Use fatal, not abort. 2004-09-09 11:04:52 +00:00
gcc.h Makefile.in (BUILD_ERRORS): Set to build-errors. 2004-08-23 11:57:02 +00:00
gccbug.in libf2c: Removed. 2004-07-15 16:52:49 +00:00
gccspec.c alias.c [...]: Remove unnecessary casts. 2003-07-19 14:47:15 +00:00
gcov-dump.c gcov-io.h: Allow zero tag as EOF indicator. 2004-07-29 08:58:59 +00:00
gcov-io.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
gcov-io.h gcov-io.c (GCOV_CHECK): Use gcc_assert when available. 2004-08-30 15:52:09 +00:00
gcov-iov.c gcov-io.h: Update documentation. 2003-07-09 12:12:29 +00:00
gcov.c gcov-io.c (GCOV_CHECK): Use gcc_assert when available. 2004-08-30 15:52:09 +00:00
gcse.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
gdbinit.in * gdbinit.in: Reflect previous changes to rtunion_def. 2004-08-02 19:36:57 +00:00
gen-protos.c Fix gen-proto (fixproto) build failure. 2004-09-13 20:45:46 -07:00
genattr.c gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. 2004-08-03 23:30:45 +00:00
genattrtab.c genattrtab.c (write_insn_cases): New function, split out from write_attr_case. 2004-09-09 20:39:28 +00:00
genattrtab.h genattr.c (internal_dfa_insn_code): Don't prototype. 2003-07-09 00:44:34 +00:00
genautomata.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
gencheck.c c-common.c: Convert ATTRIBUTE_UNUSED to ARG_UNUSED in parameter lists. 2004-07-25 02:13:01 +02:00
gencodes.c gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. 2004-08-03 23:30:45 +00:00
genconditions.c gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. 2004-08-03 23:30:45 +00:00
genconfig.c gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. 2004-08-03 23:30:45 +00:00
genconstants.c gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. 2004-08-03 23:30:45 +00:00
genemit.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
genextract.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
genflags.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
gengenrtl.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
gengtype-lex.l basic-block.h (reorder_block_def): Rename to reorder_block_def_p. 2004-07-26 00:17:02 +02:00
gengtype-yacc.y gengtype.c (oprintf): Replace xrealloc () with XRESIZEVEC (). 2004-07-26 03:33:36 +02:00
gengtype.c Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
gengtype.h gengtype.h (options::info): Change type to const char *. 2004-08-02 12:48:49 +00:00
genmodes.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
genmultilib genmultilib: Change '=' to '-' when translating option names to directory names. 2004-03-04 22:04:38 +00:00
genopinit.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
genoutput.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
genpeep.c gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. 2004-08-03 23:30:45 +00:00
genpreds.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
genrecog.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
gensupport.c Makefile.in (gengtype): Use $(BUILD_ERRORS). 2004-09-09 13:22:38 +00:00
gensupport.h genpreds.c: Add capability to generate predicate bodies as well as function prototypes. 2004-08-12 07:49:00 +00:00
ggc-common.c * ggc-common.c (cmp_statistics): Fix sorting. 2004-09-12 20:14:23 +00:00
ggc-none.c ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, "config.h" if not. 2004-09-11 19:03:23 +00:00
ggc-page.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
ggc-zone.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
ggc.h gimplify.c (gimplify_compound_lval): Move "stack" varray out of GGC. 2004-09-02 18:32:49 +00:00
gimple-low.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
gimplify.c gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless temporary variables. 2004-09-11 00:25:00 +00:00
glimits.h
global.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
gmon.c
graph.c gcse.c (INSN_CUID, [...]): Use gcc_assert and gcc_unreachable. 2004-09-09 13:54:07 +00:00
graph.h Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h * gthr-posix.h, gthr-dce.h: Add #pragma weaks. 2004-08-30 12:36:46 -04:00
gthr-gnat.c gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
gthr-gnat.h gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
gthr-lynx.h c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
gthr-nks.h c-common.c, [...]: Fix comment formatting. 2004-09-05 16:05:06 +00:00
gthr-posix.c gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING when checking for... 2004-05-28 13:18:23 -07:00
gthr-posix.h * gthr-posix.h: Add #pragma weaks. 2004-08-30 12:34:06 -04:00
gthr-rtems.h
gthr-single.h re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads) 2004-08-27 22:33:54 -04:00
gthr-solaris.h re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads) 2004-08-27 22:33:54 -04:00
gthr-vxworks.h re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads) 2004-08-27 22:33:54 -04:00
gthr-win32.h gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long', not Windows 'DWORD'. 2004-09-01 23:18:54 +00:00
gthr.h re PR c++/13684 (local static object variable constructed once but ctors and dtors called multiple times on same memory when called in multiple threads) 2004-08-27 22:33:54 -04:00
haifa-sched.c genattr.c (struct range, [...]): Remove them. 2004-07-20 07:27:18 +00:00
hard-reg-set.h c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
hooks.c c-common.c, [...]: Fix comment formatting. 2004-09-05 16:05:06 +00:00
hooks.h hooks.c (hook_bool_void_true): New function. 2004-08-31 20:29:28 +00:00
host-default.c
hosthooks-def.h toplev.c (init_asm_output): Add explicit 'b' to mode when opening asm_out_file. 2004-06-05 07:28:27 +00:00
hosthooks.h toplev.c (init_asm_output): Add explicit 'b' to mode when opening asm_out_file. 2004-06-05 07:28:27 +00:00
hwint.h re PR rtl-optimization/13987 (compile time regression while compile fold-const.i) 2004-08-30 17:29:04 -07:00
ifcvt.c flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not just the codes, call reversed_comparison_code (). 2004-08-29 22:10:44 +00:00
input.h input.h: If USE_MAPPED_LOCATION... 2004-07-14 17:02:30 -07:00
insn-addr.h
insn-notes.def cfglayout.c (duplicate_insn_chain): Remove references to NOTE_INSN_LOOP_VTOP and NOTE_INSN_LOOP_CONT. 2004-08-25 08:20:11 +00:00
integrate.c rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. 2004-08-18 01:25:01 -07:00
integrate.h Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
intl.c intl.c (gcc_init_libintl): Use PACKAGE for the text domain. 2004-07-23 06:59:35 +00:00
intl.h intl.h (open_quote, [...]): New. 2004-05-24 20:28:20 +01:00
jump.c cfglayout.c (duplicate_insn_chain): Remove references to NOTE_INSN_LOOP_VTOP and NOTE_INSN_LOOP_CONT. 2004-08-25 08:20:11 +00:00
lambda-code.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
lambda-mat.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
lambda-trans.c [multiple changes] 2004-08-26 17:10:50 +00:00
lambda.h Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
langhooks-def.h tree.c (staticp): Return the static object. 2004-08-26 17:27:24 -07:00
langhooks.c re PR c++/17412 (tree check failure in fold-const) 2004-09-11 19:48:58 +00:00
langhooks.h tree.c (staticp): Return the static object. 2004-08-26 17:27:24 -07:00
lcm.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
libada-mk.in libada-mk.in: New file. 2004-04-15 03:31:46 +00:00
libfuncs.h c-decl.c, [...]: Don't check TARGET_MEM_FUNCTIONS. 2004-07-05 20:49:20 +01:00
libgcc-darwin.ver libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4. 2004-06-12 06:34:58 +02:00
libgcc-std.ver * libgcc-std.ver (GCC_3.4.2): Export also __trampoline_setup. 2004-09-01 21:17:50 +02:00
libgcc2.c gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
libgcc2.h gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
libgcov.c gcov-io.h: Allow zero tag as EOF indicator. 2004-07-29 08:58:59 +00:00
limitx.h
limity.h
lists.c gengtype.c (create_option): New function. 2004-03-30 19:19:06 +00:00
local-alloc.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
longlong.h * longlong.h: Fix macros for m32r add_ssaaaa and sub_ddmmss. 2004-06-15 10:40:44 +00:00
loop-doloop.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
loop-init.c loop-init.c (loop_optimizer_init, [...]): Do not destroy dominance information. 2004-07-17 18:08:10 +00:00
loop-invariant.c common.opt: Remove flags -fmove-all-movables and -freduce-all-givs. 2004-09-12 05:51:02 +00:00
loop-iv.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
loop-unroll.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
loop-unswitch.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
loop.c unroll.c: Removed. 2004-09-14 07:43:08 +00:00
machmode.def machmode.def: Remove vector modes. 2004-07-23 10:15:53 +00:00
machmode.h genmodes.c: Change the word "bitsize" to "precision" throughout. 2003-11-06 08:38:52 +00:00
main.c jump.c: Convert prototypes to ISO C90. 2003-07-06 11:56:09 +02:00
mips-tdump.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
mips-tfile.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
mkconfig.sh
mkfixinc.sh Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
mkheaders.in re PR other/16842 (mkheaders can not find mkheaders.conf) 2004-07-31 17:44:43 -07:00
mklibgcc.in re PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1) 2004-09-03 17:15:42 -07:00
mkmap-flat.awk
mkmap-symver.awk libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2. 2003-09-04 12:47:46 +02:00
mode-classes.def genmodes.c, [...]: New files. 2003-10-10 20:33:07 +00:00
modulo-sched.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
opt-functions.awk opts.sh: Delete. 2004-06-18 01:59:45 +00:00
opt-gather.awk opts.sh: Delete. 2004-06-18 01:59:45 +00:00
optabs.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
optabs.h builtins.c (expand_builtin_mathfn): Handle BUILT_IN_RINT{,F,L} using rint_optab. 2004-09-04 09:55:12 +02:00
optc-gen.awk opts.sh: Delete. 2004-06-18 01:59:45 +00:00
opth-gen.awk opts.sh: Delete. 2004-06-18 01:59:45 +00:00
opts.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
opts.h c-decl.c (pop_scope): Do not set DECL_CONTEXT on file-scope decls when... 2004-07-08 19:49:08 +00:00
output.h output.h (unlikely_section_label): Delete declaration. 2004-09-10 18:54:31 +00:00
params.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
params.def tree-ssa-loop-ivopts.c: New file. 2004-09-05 09:25:37 +00:00
params.h tree.h (TYPE_CACHED_VALUES_P): New. 2004-08-19 10:36:07 +00:00
passes.c unroll.c: Removed. 2004-09-14 07:43:08 +00:00
postreload-gcse.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
postreload.c re PR inline-asm/6806 (gcc 3.0.4 ignoring clobbered registers in inline asm with -O1 or higher on i386) 2004-09-13 02:05:31 -07:00
predict.c unroll.c: Removed. 2004-09-14 07:43:08 +00:00
predict.def CFG transparent RTL expansion: 2004-06-19 15:33:06 +00:00
predict.h Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
prefix.c prefix.c (lookup_key): Cast buffer to LPBYTE. 2004-06-30 11:45:58 -07:00
prefix.h jump.c: Convert prototypes to ISO C90. 2003-07-06 11:56:09 +02:00
pretty-print.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
pretty-print.h Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
print-rtl.c print-rtl.c (print_decl_name): New. 2004-09-12 10:27:04 -07:00
print-tree.c c-common.c (handle_used_attribute): Set DECL_PRESERVE_P. 2004-08-16 13:54:43 -07:00
profile.c profile.c (BB_TO_GCOV_INDEX): move more to the front. 2004-09-11 19:50:21 +00:00
protoize.c Makefile.in (PROTO_OBJS): Add errors.o. 2004-08-24 08:52:38 +00:00
ra-build.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
ra-colorize.c ra-colorize.c (reset_lists): Move variable declaration inside ENABLE_CHECKING to avoid unused variable... 2004-09-09 23:57:19 +00:00
ra-debug.c alias.c (nonlocal_mentioned_p, [...]): Use, LABEL_P, JUMP_P, CALL_P, NONJUMP_INSN_P, INSN_P, NOTE_P, BARRIER_P. 2004-07-09 03:29:35 +00:00
ra-rewrite.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
ra.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
ra.h ra.h (single_reg_in_regclass): Declare. 2004-07-29 10:49:22 -04:00
read-rtl.c read-rtl.c: Disable RTL checking. 2004-08-31 07:00:15 +00:00
real.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
real.h c-common.c: Rename all identifiers named `class' to `cl'. 2004-07-25 19:57:24 +02:00
recog.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
recog.h genpreds.c: Add capability to generate predicate bodies as well as function prototypes. 2004-08-12 07:49:00 +00:00
reg-notes.def Fix typo reported by Kai Henningsen. 2004-08-23 22:14:07 -07:00
reg-stack.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
regclass.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
regmove.c rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. 2004-08-18 01:25:01 -07:00
regrename.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
regs.h tree-cfg.c (gimplify_val): Move from tree-complex.c. 2004-07-22 08:20:40 +00:00
reload.c reload.c (find_reloads_address): Pass correct operand to maybe_memory_address_p. 2004-09-09 21:56:13 +00:00
reload.h Makefile.in (GTFILES): Add $(srcdir)/reload.h. 2004-05-20 12:45:26 +01:00
reload1.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
reorg.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
resource.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
resource.h Makefile.in (RA_H, [...]): New. 2004-06-03 15:01:08 +00:00
rtl-error.c Conditionally compile support for --enable-mapped_location. 2004-06-30 11:18:01 -07:00
rtl-profile.c Makefile.in (rtl-profile.o, [...]): Add GCC_H dependency. 2004-09-01 20:58:55 +00:00
rtl.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
rtl.def * rtl.def (REG): Add comment to describe third field. 2004-09-10 18:52:41 +00:00
rtl.h unroll.c: Removed. 2004-09-14 07:43:08 +00:00
rtlanal.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
rtlhooks-def.h Makefile.in (OBJS): Add rtlhooks.o. 2004-05-25 12:04:17 +00:00
rtlhooks.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sbitmap.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sbitmap.h re PR rtl-optimization/13987 (compile time regression while compile fold-const.i) 2004-08-30 17:29:04 -07:00
scan-decls.c cfgloop.h, [...]: Update copyright. 2004-02-18 15:05:17 +00:00
scan-types.sh
scan.c sbitmap.c: Convert prototypes to ISO C90. 2003-07-06 14:35:56 +02:00
scan.h cfgloop.h, [...]: Update copyright. 2004-02-18 15:05:17 +00:00
sched-deps.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sched-ebb.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sched-int.h genattr.c (struct range, [...]): Remove them. 2004-07-20 07:27:18 +00:00
sched-rgn.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sched-vis.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sdbout.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sdbout.h
simplify-rtx.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sort-protos
sreal.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
sreal.h sbitmap.c: Convert prototypes to ISO C90. 2003-07-06 14:35:56 +02:00
stab.def dbxout.c (dbxout_begin_prologue): New function. 2004-08-12 14:32:56 -07:00
stack.h sbitmap.c: Convert prototypes to ISO C90. 2003-07-06 14:35:56 +02:00
statistics.h c-common.c: Convert ATTRIBUTE_UNUSED to ARG_UNUSED in parameter lists. 2004-07-25 02:13:01 +02:00
stmt.c unroll.c: Removed. 2004-09-14 07:43:08 +00:00
stor-layout.c ra-build.c (copy_insn_p, [...]): Use gcc_assert and gcc_unreachable instead of abort. 2004-09-09 17:19:16 +00:00
stringpool.c Index: gcc/ChangeLog 2004-06-09 20:10:13 +00:00
stub-objc.c stub-objc.c (objc_is_id, [...]): New stubs. 2004-09-03 20:17:50 +00:00
sys-protos.h
sys-types.h
system.h system.h (gcc_assert): Remove __builtin_expect. 2004-08-28 14:23:07 +00:00
target-def.h function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
target.h function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
targhooks.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
targhooks.h function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
timevar.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
timevar.def Makefile.in (tree-loop-linear.o): Added. 2004-09-08 15:28:56 +00:00
timevar.h sbitmap.c: Convert prototypes to ISO C90. 2003-07-06 14:35:56 +02:00
tlink.c tlink.c (initial_cwd): New variable. 2004-08-25 20:51:19 +00:00
toplev.c unroll.c: Removed. 2004-09-14 07:43:08 +00:00
toplev.h Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
tracer.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-browser.c tree.def (documentation): Remove mention of class 'b'. 2004-05-14 02:33:00 +00:00
tree-browser.def Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
tree-cfg.c tree-cfg.c (set_bb_for_stmt): Use PHI_BB. 2004-09-11 20:42:06 +00:00
tree-chrec.c tree-chrec.c (initialize_scalar_evolutions_analyzer): Remove. 2004-09-12 11:19:05 -07:00
tree-chrec.h tree.h (build_int_cst): New, sign extended constant. 2004-08-25 09:52:54 +00:00
tree-complex.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-data-ref.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-data-ref.h bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-dfa.c New code to analyze file level static variables and to determine if... 2004-09-13 22:51:01 +00:00
tree-dump.c cgraph.h (cgraph_dump_file): Do not declare. 2004-09-10 08:20:37 +00:00
tree-dump.h Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
tree-eh.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-flow-inline.h tree-cfg.c (set_bb_for_stmt): Use PHI_BB. 2004-09-11 20:42:06 +00:00
tree-flow.h New code to analyze file level static variables and to determine if... 2004-09-13 22:51:01 +00:00
tree-gimple.c tree-ssa-loop-ivopts.c: New file. 2004-09-05 09:25:37 +00:00
tree-gimple.h rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. 2004-08-18 01:25:01 -07:00
tree-if-conv.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-inline.c re PR tree-optimization/10528 (Unexpected loop un-optimization when removing a field of a class) 2004-09-12 19:28:19 -07:00
tree-inline.h re PR tree-optimization/15077 (ICE in make_decl_rtl when inlining tail recursive nested function) 2004-07-27 22:27:20 -04:00
tree-into-ssa.c Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
tree-iterator.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-iterator.h c-common.c (lang_gimplify_stmt): Remove next_p argument. 2004-06-15 18:21:38 -07:00
tree-loop-linear.c Makefile.in (tree-loop-linear.o): Added. 2004-09-08 15:28:56 +00:00
tree-mudflap.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-mudflap.h tree-mudflap.c: Include cgraph.h. 2004-07-05 18:12:47 +00:00
tree-nested.c * tree-nested.c (create_tmp_var_for): Correct missinverted assert. 2004-09-09 10:36:11 +00:00
tree-nomudflap.c Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
tree-nrv.c Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
tree-optimize.c Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
tree-outof-ssa.c Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
tree-pass.h Makefile.def: Remove libbanshee. 2004-09-09 20:53:41 +00:00
tree-phinodes.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-pretty-print.c re PR c++/17412 (tree check failure in fold-const) 2004-09-11 19:48:58 +00:00
tree-profile.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-scalar-evolution.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-scalar-evolution.h cfgloop.h (struct loop): Add nb_iterations field. 2004-07-12 19:31:16 +00:00
tree-sra.c re PR middle-end/17411 (ICE in immed_double_const) 2004-09-11 23:44:21 +00:00
tree-ssa-alias.c tree-ssa-alias.c (collect_points_to_info_r): Handle pointing to PTR + OFFSET as PTR... 2004-09-11 20:57:06 +02:00
tree-ssa-ccp.c tree-outof-ssa.c (free_temp_expr_table): Add missed assert. 2004-09-09 10:15:44 +00:00
tree-ssa-copy.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-ssa-copyrename.c re PR tree-optimization/17400 (out of SSA corruption) 2004-09-13 19:12:14 +00:00
tree-ssa-dce.c tree-ssa-dce.c (remove_dead_stmt): Update profile. 2004-09-10 08:58:47 +00:00
tree-ssa-dom.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-ssa-dse.c tree-cfg.c (set_bb_for_stmt): Use PHI_BB. 2004-09-11 20:42:06 +00:00
tree-ssa-forwprop.c Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
tree-ssa-live.c bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-ssa-live.h bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-ssa-loop-ch.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-ssa-loop-im.c tree-cfg.c (set_bb_for_stmt): Use PHI_BB. 2004-09-11 20:42:06 +00:00
tree-ssa-loop-ivcanon.c common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to tree-loop-im. 2004-09-03 02:19:40 +00:00
tree-ssa-loop-ivopts.c cgraphunit.c, [...]: Fix comment typos. 2004-09-10 08:56:36 +00:00
tree-ssa-loop-manip.c tree-ssa-loop-manip.c (split_loop_exit_edge): Handle non-ssaname arguments of the phi nodes correctly. 2004-09-12 20:20:58 +00:00
tree-ssa-loop-niter.c c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
tree-ssa-loop.c Makefile.in (tree-loop-linear.o): Added. 2004-09-08 15:28:56 +00:00
tree-ssa-operands.c New code to analyze file level static variables and to determine if... 2004-09-13 22:51:01 +00:00
tree-ssa-operands.h c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
tree-ssa-phiopt.c Unify the management of RTL and tree-level dump files. 2004-09-06 10:08:17 +00:00
tree-ssa-pre.c tree.c (tree_code_size): New function, bulk of code from tree_size. 2004-09-11 21:14:39 +00:00
tree-ssa-propagate.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-ssa-propagate.h c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
tree-ssa-threadupdate.c c-common.c, [...]: Fix comment typos. 2004-09-10 10:44:48 +00:00
tree-ssa.c Makefile.in (STAGE1_CHECKING): New variable. 2004-09-14 07:20:05 +00:00
tree-ssanames.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree-tailcall.c tree-tailcall.c (process_assignment): Only do accumulator transforms for floating-point types if... 2004-09-10 12:00:33 +00:00
tree-vectorizer.c c-common.c, [...]: Fix comment typos. 2004-09-10 10:44:48 +00:00
tree-vectorizer.h c-common.c, [...]: Fix comment typos. 2004-09-10 10:44:48 +00:00
tree-vn.c targhooks.c (default_unwind_emit, [...]): Use gcc_assert, gcc_unreachable & internal_error instead of abort. 2004-09-09 07:54:12 +00:00
tree.c re PR tree-optimization/17436 (Huge memory use regression) 2004-09-13 13:27:05 -07:00
tree.def tree.h (TYPE_CACHED_VALUES_P): New. 2004-08-19 10:36:07 +00:00
tree.h re PR tree-optimization/17436 (Huge memory use regression) 2004-09-13 13:27:05 -07:00
tsystem.h Makefile.in (LIB2ADDEHDEP): Add unwind.h and unwind-pe.h. 2004-09-02 22:26:27 -07:00
typeclass.h typeclass.h: Add GPL plus exception license. 2004-06-11 05:31:09 +00:00
unwind-c.c unwind-c.c: Add libgcc-style exception. 2003-08-19 20:53:24 +00:00
unwind-compat.c re PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1) 2004-09-03 17:15:42 -07:00
unwind-compat.h re PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1) 2004-09-03 17:15:42 -07:00
unwind-dw2-fde-compat.c re PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1) 2004-09-03 17:15:42 -07:00
unwind-dw2-fde-darwin.c unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable. 2003-11-01 10:59:50 +01:00
unwind-dw2-fde-glibc.c re PR target/14925 (libunwind enabled gcc generates incompatible libgcc_s.so.1) 2004-09-03 17:15:42 -07:00
unwind-dw2-fde.c unwind-dw2-fde.c (get_cie_encoding): Cast argument to strlen to eliminate warning. 2004-08-19 21:41:32 +00:00
unwind-dw2-fde.h gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
unwind-dw2.c tm.texi (MD_UNWIND_SUPPORT): Document. 2004-09-08 09:47:19 +09:30
unwind-dw2.h Index: gcc/ChangeLog 2004-07-01 04:09:07 +00:00
unwind-pe.h alias.c, [...]: Update copyright. 2004-01-21 20:40:04 +00:00
unwind-sjlj.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
unwind.h gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
unwind.inc unwind-c.c: Add libgcc-style exception. 2003-08-19 20:53:24 +00:00
value-prof.c c-common.c, [...]: Fix comment typos. 2004-09-10 10:44:48 +00:00
value-prof.h vec.c (vec_p_reserve, [...]): Rename to ... 2004-09-08 08:08:56 +00:00
var-tracking.c var-tracking.c (vt_find_locations): Set the in_pending bitmap at once. 2004-07-21 17:03:47 +00:00
varasm.c output.h (unlikely_section_label): Delete declaration. 2004-09-10 18:54:31 +00:00
varray.c Makefile.in (BUILD_PREFIX, [...]): Delete. 2004-08-16 23:05:04 +00:00
varray.h Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
vec.c vec.c (vec_p_reserve, [...]): Rename to ... 2004-09-08 08:08:56 +00:00
vec.h vec.c (vec_p_reserve, [...]): Rename to ... 2004-09-08 08:08:56 +00:00
version.c Daily bump. 2004-09-14 00:16:15 +00:00
version.h
vmsdbg.h
vmsdbgout.c tree.h: Remove include of version.h 2004-06-03 18:48:28 +00:00
web.c rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. 2004-08-18 01:25:01 -07:00
xcoff.h [approved by wilson] 2003-12-02 20:07:25 +11:00
xcoffout.c Conditionally compile support for --enable-mapped_location. 2004-06-30 11:05:07 -07:00
xcoffout.h xcoffout.h (DBX_FINISH_SYMBOL): Fix typo. 2004-07-06 11:37:55 -04: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.