gcc/gcc
Frank Ch. Eigler 08fb229ea8 dominance.c (verify_dominators): Don't SEGV if recount_dominator returns NULL.
2004-09-22  Frank Ch. Eigler  <fche@redhat.com>

	* dominance.c (verify_dominators): Don't SEGV if recount_dominator
	returns NULL.

From-SVN: r87883
2004-09-22 20:36:14 +00:00
..
ada decl.c (gnat_to_gnu_entity): Check for a dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. 2004-09-21 17:34:36 +02:00
config * config/darwin.c (darwin_make_decl_one_only) 2004-09-22 18:11:50 +00:00
cp cp-tree.h (unemitted_tinfo_decls): Make a VEC(tree). 2004-09-22 18:12:10 +00:00
doc c-tree.texi (TRUTH_NOT_EXPR, [...]): Mention the restriction on types. 2004-09-22 19:43:04 +00:00
fortran re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +00:00
ginclude
java aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. 2004-09-22 11:21:21 +00:00
objc objc-act.c (objc_fold_objc_type_ref): New function. 2004-09-22 01:13:07 +00:00
po * gcc.pot: Regenerate. 2004-09-16 09:01:11 +01:00
testsuite re PR tree-optimization/17512 (ICE in regex.c) 2004-09-22 18:02:08 +00:00
treelang alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
.cvsignore
ABOUT-GCC-NLS
COPYING
COPYING.LIB
ChangeLog dominance.c (verify_dominators): Don't SEGV if recount_dominator returns NULL. 2004-09-22 20:36:14 +00:00
ChangeLog.0
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.lib
ChangeLog.tree-ssa
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
Makefile.in aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. 2004-09-22 11:21:21 +00:00
ONEWS
README-fixinc
README.Portability
SERVICE
aclocal.m4 aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. 2004-09-22 11:21:21 +00:00
alias.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
alias.h
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
attribs.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
basic-block.h basic-block.h (update_bb_profile_after_threading): Declare. 2004-09-19 16:04:03 +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
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
builtins.c builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins. 2004-09-20 14:47:20 +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 (fix_string_type): Build the unqualified array type unconditionally... 2004-09-21 02:22:45 +00:00
c-common.def alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00: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
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 c-decl.c (implicitly_declare): Call maybe_apply_renaming_pragma. 2004-09-22 02:24:06 +00:00
c-dump.c
c-errors.c
c-format.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin) 2004-09-15 23:49:59 -07:00
c-incpath.h re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin) 2004-09-15 23:49:59 -07:00
c-lang.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
c-lex.c c-common.c (fix_string_type): Build the unqualified array type unconditionally... 2004-09-21 02:22:45 +00:00
c-objc-common.c c-typeck.c (build_function_call): Give name of object we are attempting to call in error message. 2004-09-21 15:42:44 +00: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-tree.h (enum c_typespec_keyword): New. 2004-09-17 19:18:05 +01:00
c-pch.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
c-ppoutput.c
c-pragma.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
c-pragma.h c-common.c (fix_string_type): Build the unqualified array type unconditionally... 2004-09-21 02:22:45 +00: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-semantics.c c-common.h (STATEMENT_LIST_HAS_LABEL): New. 2004-08-11 21:09:57 -07:00
c-tree.h c-tree.h (enum c_typespec_keyword): New. 2004-09-17 19:18:05 +01:00
c-typeck.c c-typeck.c (build_function_call): Give name of object we are attempting to call in error message. 2004-09-21 15:42:44 +00: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 cfg.c, [...]: Fix comment typos. 2004-09-20 11:17:22 +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 basic-block.h (update_bb_profile_after_threading): Declare. 2004-09-19 16:04:03 +00:00
cfgexpand.c re PR rtl-optimization/17513 (ICE: verify_flow_info failed after gcse) 2004-09-17 06:23:54 +00: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
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 [multiple changes] 2004-09-16 16:16:14 +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 [multiple changes] 2004-09-16 16:16:14 +00:00
cfgrtl.c Fix hot/cold partitioning problem. 2004-09-07 10:54:16 -07:00
cgraph.c re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +00:00
cgraph.h re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +00:00
cgraphunit.c re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +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 Makefile.in (loop-unroll.o): Add HASHTAB_H and RECOG_H dependency. 2004-09-14 08:05:46 +00:00
conditions.h
config.build
config.gcc * config.gcc: Do not build a shared libgcc for arm-none-eabi. 2004-09-14 19:58:49 +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 configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. 2004-09-18 00:50:15 +00:00
configure aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. 2004-09-22 11:21:21 +00:00
configure.ac aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. 2004-09-22 11:21:21 +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 re PR tree-optimization/17512 (ICE in regex.c) 2004-09-22 18:02:08 +00:00
convert.h
coretypes.h tree.h (enum tls_model): Move ... 2004-07-28 23:36:41 +00:00
coverage.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
cse.c re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +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 (get_lang_number): Do not define if DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined. 2004-09-22 12:58:15 -04:00
dbxout.h dbxout.c (get_lang_number): New. 2004-09-17 11:47:19 -07:00
ddg.c basic-block.h, [...]: Fix comment typos. 2004-09-17 09:14:12 +00:00
ddg.h
debug.c
debug.h
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
diagnostic.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
diagnostic.def
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 dominance.c (verify_dominators): Don't SEGV if recount_dominator returns NULL. 2004-09-22 20:36:14 +00:00
domwalk.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
domwalk.h alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +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
dwarf2asm.c dbxout.c (dbxout_type, [...]): Use gcc_assert and gcc_unreachable. 2004-09-08 07:47:45 +00:00
dwarf2asm.h
dwarf2out.c re PR pch/13361 (const wchar_t * strings not stored in pch) 2004-09-18 05:50:52 +00:00
dwarf2out.h
emit-rtl.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
emit-rtl.h
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
except.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
except.h
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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00: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 re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin) 2004-09-15 23:49:59 -07: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): Avoid non INTEGER_TYPEs when widening operands in an integer comparison. 2004-09-22 07:40:12 -04:00
fp-test.c
function.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
function.h function.c (reference_callee_copied): New. 2004-09-08 11:45:21 -07:00
gbl-ctors.h
gcc.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
gcc.h Makefile.in (BUILD_ERRORS): Set to build-errors. 2004-08-23 11:57:02 +00:00
gccbug.in
gccspec.c
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.c gcov-io.c (GCOV_CHECK): Use gcc_assert when available. 2004-08-30 15:52:09 +00:00
gcse.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +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
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
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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
glimits.h
global.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +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 * 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
hosthooks.h
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 re PR rtl-optimization/15187 (Inefficient if optimization with -O2 -ffast-math) 2004-09-17 07:32:36 +02:00
input.h
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
intl.c intl.c (gcc_init_libintl): Use PACKAGE for the text domain. 2004-07-23 06:59:35 +00:00
intl.h
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 alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
lambda-mat.c [multiple changes] 2004-09-16 16:16:14 +00:00
lambda-trans.c [multiple changes] 2004-09-16 16:16:14 +00:00
lambda.h [multiple changes] 2004-09-16 16:16:14 +00:00
langhooks-def.h configure.ac: Check for COMDAT support. 2004-09-15 17:03:22 +00:00
langhooks.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
langhooks.h alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
lcm.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
libada-mk.in
libfuncs.h
libgcc-darwin.ver
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
local-alloc.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
longlong.h
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-invariant.c common.opt: Remove flags -fmove-all-movables and -freduce-all-givs. 2004-09-12 05:51:02 +00:00
loop-iv.c Makefile.in (loop-unroll.o): Add HASHTAB_H and RECOG_H dependency. 2004-09-14 08:05:46 +00:00
loop-unroll.c Makefile.in (loop-unroll.o): Add HASHTAB_H and RECOG_H dependency. 2004-09-14 08:05:46 +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 alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
machmode.def machmode.def: Remove vector modes. 2004-07-23 10:15:53 +00:00
machmode.h
main.c
mips-tdump.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +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
mode-classes.def
modulo-sched.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
opt-functions.awk
opt-gather.awk
optabs.c basic-block.h, [...]: Fix comment typos. 2004-09-17 09:14:12 +00:00
optabs.h alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
optc-gen.awk
opth-gen.awk
opts.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
opts.h
output.h configure.ac: Check for COMDAT support. 2004-09-15 17:03:22 +00:00
params.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01: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 re PR rtl-optimization/17482 (GCSE after reload replacing changing instructions) 2004-09-21 07:48:29 +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 predict.c (return_prediction): New function. 2004-09-20 18:43:30 +00:00
predict.def predict.c (return_prediction): New function. 2004-09-20 18:43:30 +00:00
predict.h
prefix.c
prefix.h
pretty-print.c Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> 2004-09-10 11:02:26 +00:00
pretty-print.h attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
print-rtl.c reg-notes.def (REG_DEP_TRUE): New entry, place first so it gets value 0. 2004-09-21 20:34:43 +00:00
print-tree.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
profile.c profile.c (branch_prob): Restore support for USE_MAPPED_LOCATION. 2004-09-16 20:42:00 +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
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 reg-notes.def (REG_DEP_TRUE): New entry, place first so it gets value 0. 2004-09-21 20:34:43 +00:00
reg-stack.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
regclass.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
regmove.c re PR rtl-optimization/17266 (Libgfortran doesn't build) 2004-09-21 05:57:55 +00: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 attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
reload.h
reload1.c re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +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
rtl-error.c
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 re PR rtl-optimization/14851 (suboptimal fp division with -ffast-math) 2004-09-21 07:10:54 +02:00
rtlhooks-def.h
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
scan-types.sh
scan.c
scan.h
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 alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +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
stab.def dbxout.c (dbxout_begin_prologue): New function. 2004-08-12 14:32:56 -07:00
stack.h
statistics.h c-common.c: Convert ATTRIBUTE_UNUSED to ARG_UNUSED in parameter lists. 2004-07-25 02:13:01 +02:00
stmt.c re PR pch/13361 (const wchar_t * strings not stored in pch) 2004-09-18 05:50:52 +00:00
stor-layout.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
stringpool.c
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 builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins. 2004-09-20 14:47:20 +00:00
target.h builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins. 2004-09-20 14:47:20 +00:00
targhooks.c builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins. 2004-09-20 14:47:20 +00:00
targhooks.h builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins. 2004-09-20 14:47:20 +00: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
tlink.c tlink.c (initial_cwd): New variable. 2004-08-25 20:51:19 +00:00
toplev.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01: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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-browser.def
tree-cfg.c fold-const.c (fold): Avoid non INTEGER_TYPEs when widening operands in an integer comparison. 2004-09-22 07:40:12 -04:00
tree-chrec.c tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. 2004-09-19 18:01:51 +00:00
tree-chrec.h tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. 2004-09-19 18:01:51 +00:00
tree-complex.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-data-ref.c tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. 2004-09-19 18:01:51 +00:00
tree-data-ref.h bb-reorder.c, [...]: Fix comment typos. 2004-09-10 15:09:39 +00:00
tree-dfa.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-dump.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 Makefile.in (tree-cfg.o): Add CFGLAYOUT_H dependency. 2004-09-16 21:29:43 +00:00
tree-gimple.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 pch/13361 (const wchar_t * strings not stored in pch) 2004-09-18 05:50:52 +00: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 tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return NULL. 2004-09-18 07:31:30 +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
tree-loop-linear.c [multiple changes] 2004-09-16 16:16:14 +00:00
tree-mudflap.c attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01:00
tree-mudflap.h
tree-nested.c re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +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 re PR middle-end/17126 (ICE with -fno-unit-at-a-time and -O3) 2004-09-21 00:08:53 +00:00
tree-outof-ssa.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 basic-block.h, [...]: Fix comment typos. 2004-09-17 09:14:12 +00:00
tree-scalar-evolution.h
tree-sra.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-ssa-alias.c tree-ssa-alias.c (setup_pointers_and_addressables): Don't remove TREE_ADDRESSABLE from RESULT_DECL. 2004-09-18 09:56:23 -04:00
tree-ssa-ccp.c tree-ssa-ccp.c (get_default_value): If we have a constant value recorded for an SSA_NAME... 2004-09-21 22:07:23 -06:00
tree-ssa-copy.c re PR tree-optimization/17558 (internal compiler error: in merge_alias_info, at tree-ssa-copy.c:182) 2004-09-20 13:53:08 -07:00
tree-ssa-copyrename.c re PR tree-optimization/17517 (ICE: SSA corruption) 2004-09-16 18:45:33 +00:00
tree-ssa-dce.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-ssa-dom.c tree-ssa-dom.c (opt_stats): Move so that it lives just after the opt_stats_d structure. 2004-09-21 22:12:01 -06:00
tree-ssa-dse.c tree-dfa.c (free_df_for_stmt): No longer static. 2004-09-14 22:12:18 -06:00
tree-ssa-forwprop.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
tree-ssa-live.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 basic-block.h, [...]: Fix comment typos. 2004-09-17 09:14:12 +00:00
tree-ssa-loop-im.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 fold-const.c (fold): Fold difference of addresses. 2004-09-16 14:58:01 +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 tree.def (VEC_COND_EXPR): New tree node. 2004-09-21 18:16:20 -07:00
tree-ssa-operands.h c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
tree-ssa-phiopt.c alias.c, [...]: Fix comment typos. 2004-09-18 19:47:10 +00:00
tree-ssa-pre.c tree-ssa-pre.c (compute_antic_aux): Use malloc'd worklist, to avoid generating useless garbage. 2004-09-20 15:45:21 +00:00
tree-ssa-propagate.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-ssa-propagate.h c-common.c, [...]: Fix comment typos. 2004-09-05 15:24:15 +00:00
tree-ssa-threadupdate.c cfg.c, [...]: Fix comment typos. 2004-09-20 11:17:22 +00:00
tree-ssa.c tree-ssa.c (verify_def): Use print_generic_stmt, not debug_generic_stmt. 2004-09-22 01:03:40 +00:00
tree-ssanames.c tree-ssanames.c (make_ssa_name): No longer need to clear, then initialize key elements here. 2004-09-20 21:19:00 -06:00
tree-tailcall.c alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
tree-vectorizer.c cfg.c, [...]: Fix comment typos. 2004-09-20 11:17:22 +00:00
tree-vectorizer.h tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. 2004-09-19 18:01:51 +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 pch/13361 (const wchar_t * strings not stored in pch) 2004-09-18 05:50:52 +00:00
tree.def tree.def (VEC_COND_EXPR): New tree node. 2004-09-21 18:16:20 -07:00
tree.h tree-ssa-ccp.c (get_default_value): If we have a constant value recorded for an SSA_NAME... 2004-09-21 22:07:23 -06:00
tsystem.h tsystem.h (alloca): Provide a default definition. 2004-09-20 22:23:12 +00:00
typeclass.h
unwind-c.c
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-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 tsystem.h (alloca): Provide a default definition. 2004-09-20 22:23:12 +00:00
unwind-dw2.h
unwind-pe.h
unwind-sjlj.c
unwind.h gthr-gnat.c: Add visibility #pragmas. 2004-08-03 16:57:40 +00:00
unwind.inc
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 varasm.c (default_assemble_integer): Return false for values wider than the target word size. 2004-09-21 23:40:21 +00:00
varray.c Makefile.in (BUILD_PREFIX, [...]): Delete. 2004-08-16 23:05:04 +00:00
varray.h
vec.c vec.c (vec_p_reserve, [...]): Rename to ... 2004-09-08 08:08:56 +00:00
vec.h vec.h (VEC_space): Return true if there _is_ space. 2004-09-22 10:51:42 +00:00
version.c Daily bump. 2004-09-22 00:16:17 +00:00
version.h
vmsdbg.h
vmsdbgout.c
web.c rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. 2004-08-18 01:25:01 -07:00
xcoff.h
xcoffout.c
xcoffout.h

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.