gcc/gcc
H.J. Lu 4c4a5bbc40 re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1)
2004-09-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/17369
	* Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@.
	(HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export
	SET_GCC_LIB_PATH_CMD.
	(BASE_TARGET_EXPORTS): Likewise.
	* Makefile.in: Regenerated.

	* configure.in (SET_GCC_LIB_PATH): Set and substitute.
	* configure: Regenerated.

config/

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

	PR bootstrap/17369
	* gcc-lib-path.m4: New file.

gcc/

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

	PR bootstrap/17369
	* Makefile.in (@set_gcc_lib_path@): Added.

	* configure.ac: Include ../config/gcc-lib-path.m4. Use
	TL_AC_GNU_MAKE_GCC_LIB_PATH.
	* configure: Regenerated.

From-SVN: r87999
2004-09-23 17:37:08 -07:00
..
ada re PR ada/17540 (Duplicate symbols while building Ada) 2004-09-23 11:00:08 +02:00
config re PR target/17626 (Recent peephole2:s may cause internal compiler errors) 2004-09-23 21:59:13 +00:00
cp decl.c (grokfndecl): If ::main is found not to return int, correct it after issuing a diagnostic. 2004-09-23 21:27:25 +00:00
doc re PR c/16833 (-fno-builtin prevents automatic format checks for standard functions) 2004-09-23 17:11:24 +01:00
fortran re PR middle-end/16460 (ICE when compiling glibc (ld-ctype.c)) 2004-09-20 20:38:29 +00:00
ginclude c-parse.in (OFFSETOF, [...]): New. 2004-06-01 08:12:23 -07:00
java re PR java/17329 (ICE: SEGV in java_gimplify_expr) 2004-09-23 16:25:37 +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 c/6980 (-Wbad-function-cast gives bogus warning for (double) rand()) 2004-09-24 01:08:37 +01:00
treelang alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +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 re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07:00
ChangeLog.0
ChangeLog.1 ChangeLog.1: Fix a typo. 2003-06-23 16:11:56 +00:00
ChangeLog.2
ChangeLog.3 ChangeLog.3: Fix comment typos. 2003-06-17 19:03:12 +00:00
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 alias.c (find_base_decl): Remove unreachable case '3' block. 2004-09-17 21:55:02 +00:00
Makefile.in re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07: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: Add in gettext's m4 includes. 2004-09-23 00:29:07 +00:00
alias.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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, [...]: 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 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: Fix a comment typo. 2004-09-23 14:22:33 +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 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 c-decl.c (implicitly_declare): Call maybe_apply_renaming_pragma. 2004-09-22 02:24:06 +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 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 Conditionally compile support for --enable-mapped_location. 2004-06-30 11:11:14 -07:00
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-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-tree.h (enum c_typespec_keyword): New. 2004-09-17 19:18:05 +01:00
c-typeck.c re PR c/6980 (-Wbad-function-cast gives bogus warning for (double) rand()) 2004-09-24 01:08:37 +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 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 * cfgexpand.c, config/s390/tpf-eh.c: Fix comment typos. 2004-09-23 10:54:07 +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 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 cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +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 cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +00:00
cfgrtl.c cfgexpand.c (add_reg_br_prob_note): New function. 2004-09-23 00:50:37 +00: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 xm-iris5.h: Remove, unnecessary. 2003-10-01 23:51:10 +00:00
config.gcc gthr-tpf.h: New file. 2004-09-23 20:57:25 +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 re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07:00
configure.ac re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1) 2004-09-23 17:37:08 -07: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 * 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 attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01: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, [...]: 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 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 re PR tree-optimization/17533 (cc1plus crashes on libmudflap test case, verify_dominators()) 2004-09-23 15:47:59 +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 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 re PR debug/17389 (ICE in dwarf2out_finish, at dwarf2out.c:13566) 2004-09-23 00:51:40 +00:00
dwarf2out.h cse.c: Convert prototypes to ISO C90. 2003-06-29 17:19:13 +02:00
emit-rtl.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00: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 attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. 2004-09-15 21:48:10 +01: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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
fp-test.c fp-test.c (main): Use ISO C90 prototype. 2003-07-12 13:29:18 +02:00
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 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 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 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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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: 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-tpf.h gthr-tpf.h: New file. 2004-09-23 20:57:25 +00: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 gthr-tpf.h: New file. 2004-09-23 20:57:25 +00: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 re PR rtl-optimization/15187 (Inefficient if optimization with -O2 -ffast-math) 2004-09-17 07:32:36 +02: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 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 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 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 cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +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 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 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 * mkconfig.sh: Add multiple inclusion guards to generated headers. 2003-06-21 05:20:05 +00:00
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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
optabs.h tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00: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 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 cfgexpand.c (add_reg_br_prob_note): New function. 2004-09-23 00:50:37 +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 cfgexpand.c (add_reg_br_prob_note): New function. 2004-09-23 00:50:37 +00:00
predict.def predict.c (return_prediction): New function. 2004-09-20 18:43:30 +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 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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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): Do not verify flow info in the middle of the pass. 2004-09-23 14:11:06 +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 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 Makefile.in (GTFILES): Add $(srcdir)/reload.h. 2004-05-20 12:45:26 +01:00
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 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 re PR rtl-optimization/14851 (suboptimal fp division with -ffast-math) 2004-09-21 07:10:54 +02: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 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 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 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 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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
target.h tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
targhooks.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
targhooks.h tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +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 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 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
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 tree-flow.h (find_new_referenced_vars): Add prototype. 2004-09-23 23:01:02 +02:00
tree-dump.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 tree-flow.h (find_new_referenced_vars): Add prototype. 2004-09-23 23:01:02 +02:00
tree-gimple.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 debug/17389 (ICE in dwarf2out_finish, at dwarf2out.c:13566) 2004-09-23 00:51:40 +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 c-common.c (lang_gimplify_stmt): Remove next_p argument. 2004-06-15 18:21:38 -07:00
tree-loop-linear.c [multiple changes] 2004-09-16 16:16:14 +00:00
tree-mudflap.c * comment tweak 2004-09-23 15:55:18 +00:00
tree-mudflap.h tree-mudflap.c: Include cgraph.h. 2004-07-05 18:12:47 +00:00
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 cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +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 cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 cfgloop.h (struct loop): Add nb_iterations field. 2004-07-12 19:31:16 +00:00
tree-sra.c tree-flow.h (find_new_referenced_vars): Add prototype. 2004-09-23 23:01:02 +02:00
tree-ssa-alias.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
tree-ssa-ccp.c tree-flow.h (find_new_referenced_vars): Add prototype. 2004-09-23 23:01:02 +02: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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
tree-ssa-dom.c tree-ssa-ccp.c (get_default_value): Use SSA_NAME_VALUE rather than SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV. 2004-09-23 14:15:30 -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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
tree-ssa-loop-manip.c cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +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-unswitch.c cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +00:00
tree-ssa-loop.c cfgloop.h (update_single_exits_after_duplication): Declare. 2004-09-23 12:21:31 +00:00
tree-ssa-operands.c tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00: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-ccp.c (get_default_value): Use SSA_NAME_VALUE rather than SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV. 2004-09-23 14:15:30 -06:00
tree-ssa-propagate.c * tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR. 2004-09-23 23:03:04 +02: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 tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
tree-vectorizer.h tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +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 PR c++/9844, PR c++/13989 2004-09-23 18:22:25 +00:00
tree.def tree.def (ALIGN_INDIRECT_REF, [...]): New tree-codes. 2004-09-23 14:34:35 +00:00
tree.h tree-ssa-ccp.c (get_default_value): Use SSA_NAME_VALUE rather than SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV. 2004-09-23 14:15:30 -06:00
tsystem.h tsystem.h (alloca): Provide a default definition. 2004-09-20 22:23:12 +00: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 tsystem.h (alloca): Provide a default definition. 2004-09-20 22:23:12 +00:00
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 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 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.h (VEC_space): Return true if there _is_ space. 2004-09-22 10:51:42 +00:00
version.c Daily bump. 2004-09-24 00:16:19 +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.