gcc/gcc
Richard Sandiford 08d0963a0e configure.ac (mips*-*-*linux*, [...]): Use mt-mips-gnu.
* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
	* configure: Regenerate.

config/
	* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
	* mt-mips-elfoabi: Include mt-mips16-compat.
	* mt-mips-gnu: New file.

gcc/
	* config.gcc (mips*-*-linux*, mips64*-*-linux*): Add
	mips/t-libgcc-mips16 to tmake_file.
	* config/mips/mips-protos.h (mips_call_type): New enum.
	(mips_pic_base_register, mips_got_load): Declare.
	(mips_restore_gp): Take an rtx argument.
	(mips_use_pic_fn_addr_reg_p): Declare.
	(mips_expand_call): Replace the sibcall_p argument with
	a mips_call_type argument.  Add a lazy_p parameter.
	(mips_split_call): Declare.
	* config/mips/mips.h (MIPS16_PIC_TEMP_REGNUM): New macro.
	(MIPS16_PIC_TEMP): Likewise.
	(reg_class): Delete M16_NA_REGS.
	(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
	(SYMBOL_FLAG_BIND_NOW, SYMBOL_REF_BIND_NOW_P): New macros.
	(mips_split_hi_p): Declare.
	* config/mips/mips.c (mips_split_hi_p): New array.
	(mips_regno_to_class): Change M16_NA_REGS entries to M16_REGS.
	(mips_got_symbol_type_p): New function.
	(mips_global_symbol_p): Check SYMBOL_REF_EXTERNAL_P.
	(mips16_stub_function_p): New function.
	(mips16_local_function_p): Likewise.
	(mips_use_pic_fn_addr_reg_p): Likewise.
	(mips_cannot_force_const_mem): Return false for HIGHs.
	Extend CONST_INT and symbolic handling to MIPS16, using
	mips_symbol_insns to check that the base symbol type is a
	legitimate constant.  Reject GOT-based constants if
	TARGET_MIPS16_PCREL_LOADS.
	(mips_const_insns): Check targetm.cannot_force_const_mem when
	decomposing a symbolic base and a large offset.
	(mips_emit_call_insn): Add ORIG_ADDR and ADDR parameters.
	When calling a function that needs $25 from MIPS16 code,
	move the target address into $25 separately and add a USE
	to the call insn.
	(mips16_gp_pseudo_reg): Insert the initializer immediately
	before the first real insn.
	(mips_pic_base_register, mips_got_load): New functions.
	(mips_split_symbol): Generalize the name of the LO_SUM_OUT
	parameter to LOW_OUT.  Say that it can be any valid SET_SRC
	when splitting a load-address operation.  Split SYMBOL_GOT_DISP
	constants and highs of SYMBOL_GOT_PAGE_OFST constants.
	(mips_call_tls_get_addr): Update the call to mips_expand_call,
	also passing NULL_RTX rather than const0_rtx as the aux argument.
	(mips_rewrite_small_data_p): Check mips_lo_relocs and mips_split_p
	instead of TARGET_EXPLICIT_RELOCS.
	(mips_ok_for_lazy_binding_p): Check SYMBOL_REF_BIND_NOW_P.
	(mips_load_call_address): Replace the sibcall_p argument with
	a mips_call_type argument.  Use mips_got_load.
	(mips16_local_alias): New structure.
	(mips16_local_aliases): New variable.
	(mips16_local_aliases_hash): New function.
	(mips16_local_aliases_eq): Likewise.
	(mips16_local_alias): Likewise.
	(mips16_stub_function): Likewise.
	(mips16_build_function_stub): Create a local alias for the target
	function.  Handle TARGET_ABICALLS.  For PIC abicalls, emit a
	.cpload directive and an R_MIPS_NONE relocation for the target
	function, then load the alias rather than the function itself.
	Wrap the non-PIC abicalls version in ".option pic0/.option pic2".
	(mips16_copy_fpr_return_value): Use mips16_stub_function and
	mips_expand_call.  Set SYMBOL_REF_BIND_NOW on the symbol.
	(mips16_build_call_stub): Replace the FN parameter with an
	FN_PTR parameter.  Force the address into a register if it
	isn't a call_insn_operand; don't rely on the caller to do this.
	If a call to a locally-defined and locally-binding MIPS16
	function must be made indirectly, redirect the call to the
	function's local alias.  Use mips16_stub_function_p,
	mips16_stub_function, mips_expand_call and use_reg.
	Set SYMBOL_FLAG_BIND_NOW on __mips_call_* symbols.
	Use explicit %hi and %lo accesses where possible.
	Use MIPS_CALL to generate the correct code form of a
	jal instruction.  Add clobbers of $18 instead of uses.
	Update the call to mips_emit_call_insn.
	(mips_expand_call): Replace the SIBCALL_P argument with a
	mips_call_type argument and handle the new MIPS_CALL_EPILOGUE value.
	Take a LAZY_P parameter.  Call mips16_build_call_stub first,
	allowing it to modify the call address.  Update the calls to
	mips_load_call_address and mips_emit_call_insn.
	(mips_split_call): New function.
	(mips_init_relocs): Clear mips_split_hi_p.  Only use %gp_rel if
	!TARGET_MIPS16.  Split SYMBOL_GOT_DISP, and the high parts of
	SYMBOL_GOT_PAGE_OFST, for MIPS16 code.
	(mips_global_pointer): Check mips16_cfun_returns_in_fpr_p.
	(mips_extra_live_on_entry): Include MIPS16_PIC_TEMP_REGNUM
	if TARGET_MIPS16.
	(mips_cprestore_slot): New function.
	(mips_restore_gp): Take a TEMP parameter.  Handle TARGET_MIPS16
	and use mips_cprestore_slot.
	(mips_output_function_prologue): Handle TARGET_MIPS16 for
	LOADGP_OLDABI.
	(mips_emit_loadgp): Move into MIPS16_PIC_TEMP for MIPS16,
	then use a copygp_mips16 instruction to set up $28.
	(mips_expand_prologue): Initialize the cprestore slot for MIPS16 too.
	(mips16_lay_out_constants): Call split_all_insns_noflow.
	(mips_reorg_process_insns): Explicitly set all_noreorder_p to
	false if TARGET_MIPS16.
	(mips_reorg): Don't call vr4130_align_insns if TARGET_MIPS16.
	(mips_output_mi_thunk): Use mips_got_symbol_type_p.  Use the
	mips_dangerous_for_la25_p approach for MIPS16 PIC calls too.
	(mips_set_mips16_mode): Always set MASK_EXPLICIT_RELOCS for
	MIPS16 code.  Allow MIPS16 o32 PIC.
	(mips_override_options): Allow MIPS16 o32 PIC.
	* config/mips/mips.md: Lower CONST_GP_P moves into register moves
	after reload if TARGET_USE_GOT.
	(UNSPEC_COPYGP): New constant.
	(length): Use a default length of 8 for MIPS16 GOT loads.
	(*got_disp<mode>): Check mips_split_p instead of TARGET_XGOT.
	(*got_page<mode>): Check mips_split_hi_p.
	(*got_disp<mode>, *got_page<mode>): Use mips_got_load.
	(unspec_got<mode>, unspec_call<mode>): New expanders.
	(load_got<mode>, load_call<mode>): Remove the length attributes.
	Use a got attribute instead of a type attribute.
	(copygp_mips16): New insn.
	(restore_gp): Add a scratch clobber and pass it to mips_restore_gp.
	(load_call<mode>): Use a "d" constraint instead of an "r" constraint.
	(sibcall, sibcall_value, call, call_value): Update the calls
	to mips_expand_call.
	(call_internal, call_value_internal): Use mips_split_call.
	(call_value_multiple_internal): Likewise.
	(call_split): Move after call_internal (the insn it is split from).
	(call_internal_direct, call_value_internal_direct): Turn into
	define_insn_and_splits.  Split if TARGET_SPLIT_CALLS.
	(call_direct_split, call_value_direct_split): New patterns.
	* config/mips/constraints.md (c): Handle TARGET_MIPS16 first
	and use M16_REGS instead of M16_NA_REGS.
	* config/mips/predicates.md (const_call_insn_operand): Replace
	the TARGET_ABSOLUTE_ABICALLS-based check with a more general
	mips_use_pic_fn_addr_reg_p check.
	(move_operand): Reject HIGHs if mips_split_hi_p.
	* config/mips/mips16.S: Assembly as empty if the ABI is not suitable.
	(__mips16_floatunsisf): Inline __mips16_floatsisf.
	(CALL_STUB_NO_RET, CALL_STUB_REG): Copy the target register to $25.
	* config/mips/libgcc-mips16.ver: New file.
	* config/mips/t-libgcc-mips16 (SHLIB_MAPFILES): Add
	$(srcdir)/config/mips/libgcc-mips16.ver.

gcc/testsuite/
	* lib/target-supports.exp (check_profiling_available): Return false
	for -p and -pg on MIPS16 targets.

From-SVN: r138912
2008-08-09 19:08:15 +00:00
..
ada misc.c (gnat_handle_option): Replace set_Wunused by warn_unused. 2008-08-09 09:37:57 +00:00
config configure.ac (mips*-*-*linux*, [...]): Use mt-mips-gnu. 2008-08-09 19:08:15 +00:00
cp re PR c++/12242 (g++ should warn about out-of-range int->enum conversions) 2008-08-09 00:30:41 +00:00
doc re PR middle-end/7651 (Define -Wextra strictly in terms of other warning flags) 2008-08-08 23:32:23 +00:00
fortran re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
ginclude stdfix.h: New file. 2007-09-07 01:24:09 +00:00
java re PR c/28875 ("-Wextra -Wno-unused-parameter -Wall" doesn't work as expected) 2008-08-08 23:15:31 +00:00
objc backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
objcp backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
po * zh_CN.po: Update. 2008-05-11 14:44:11 +01:00
testsuite configure.ac (mips*-*-*linux*, [...]): Use mt-mips-gnu. 2008-08-09 19:08:15 +00:00
ABOUT-GCC-NLS
BASE-VER * BASE-VER: Set to 4.4.0. 2008-02-18 23:41:06 +01:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog configure.ac (mips*-*-*linux*, [...]): Use mt-mips-gnu. 2008-08-09 19:08:15 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007 Fix a typo. 2008-05-13 07:05:02 -07:00
ChangeLog.dataflow
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
DATESTAMP Daily bump. 2008-08-09 00:16:37 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Makefile.in (write_entries_to_file): Quote words. 2008-08-06 16:10:22 +00:00
ONEWS
README.Portability
acinclude.m4 configure.ac: Drop unneeded backslash ending up in config.in. 2008-06-02 19:37:45 +00:00
aclocal.m4 re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
addresses.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
alias.c alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
alias.h * alias.h (alias_set_type): Change from HOST_WIDE_INT to int. 2008-03-06 01:18:51 +00:00
alloc-pool.c alloc-pool.c (hash_descriptor, [...]): Fix -Wc++-compat warnings. 2008-07-04 00:22:31 +00:00
alloc-pool.h re PR tree-optimization/34176 (SCCVN breaks gettext) 2007-11-23 14:28:59 +00:00
attribs.c Add ability to set target options (ix86 only) and optimization options on a function specific basis 2008-07-23 10:28:06 +00:00
auto-inc-dec.c rtlanal.c (add_reg_note): New function. 2008-07-02 18:01:18 +00:00
basic-block.h predict.c (always_optimize_for_size_p): New function. 2008-07-29 10:52:16 +00:00
bb-reorder.c rtlanal.c (add_reg_note): New function. 2008-07-02 18:01:18 +00:00
bitmap.c alloc-pool.c (hash_descriptor, [...]): Fix -Wc++-compat warnings. 2008-07-04 00:22:31 +00:00
bitmap.h bitmap.h (bitmap_set_bit): Return bool. 2008-07-02 08:07:41 +00:00
bt-load.c bt-load.c (add_btr_def, [...]): Avoid C++ keywords. 2008-07-15 17:34:40 +00:00
builtin-attrs.def builtin-attrs.def (ATTR_NONNULL_3): New. 2007-09-06 01:22:51 +02:00
builtin-types.def targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
builtins.c re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
builtins.def targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
c-aux-info.c tree.def (FIXED_POINT_TYPE): New type. 2007-08-08 22:29:12 +00:00
c-common.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
c-common.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
c-common.h re PR c++/8715 ('~' operator for unsigned char and conversion to bool) 2008-08-06 16:17:41 +00:00
c-config-lang.in Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
c-convert.c stdfix.h: New file. 2007-09-07 01:24:09 +00:00
c-cppbuiltin.c configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): New. 2008-08-07 09:29:22 -07:00
c-decl.c re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
c-dump.c c-common.c (vector_types_convertible_p, [...]): Constify. 2007-08-25 15:10:40 +00:00
c-errors.c re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
c-format.c * c-format.c (check_format_types): Revert unwanted checkin. 2008-07-29 18:27:50 +02:00
c-format.h c-lex.c (narrowest_unsigned_type): Change itk to int. 2008-06-22 14:56:08 +00:00
c-gimplify.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
c-lang.c tree.h (enum tree_code): Include all-tree.def, not tree.def. 2008-06-21 21:17:40 +00:00
c-lex.c re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
c-objc-common.c c-common.c (vector_types_convertible_p, [...]): Constify. 2007-08-25 15:10:40 +00:00
c-objc-common.h function.c (free_after_parsing): Replace with cxx_push_function_context from C++ front-end. 2008-04-04 14:57:18 +00:00
c-omp.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
c-opts.c re PR c/28875 ("-Wextra -Wno-unused-parameter -Wall" doesn't work as expected) 2008-08-08 23:15:31 +00:00
c-parser.c re PR c++/17880 (-Wsequence-point doesn't warn inside if, while, do conditions, for beg/cond/end expressions etc.) 2008-08-09 12:37:32 +00:00
c-pch.c re PR preprocessor/36649 (-H option doesn't work as expected) 2008-07-31 09:59:18 +02:00
c-ppoutput.c cppopts.texi (-dU): Document. 2008-04-02 20:42:53 +01:00
c-pragma.c c-pragma.c (handle_pragma_message): New function. 2008-07-28 11:55:11 +00:00
c-pragma.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
c-pretty-print.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
c-pretty-print.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
c-semantics.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
c-tree.h re PR c/35058 (-Werror= works only with some warnings) 2008-07-23 15:57:49 +00:00
c-typeck.c re PR c++/17880 (-Wsequence-point doesn't warn inside if, while, do conditions, for beg/cond/end expressions etc.) 2008-08-09 12:37:32 +00:00
c.opt omp-low.c (extract_omp_for_data): Fix comment typo. 2008-06-15 09:55:56 +00:00
caller-save.c [multiple changes] 2008-07-30 12:20:43 -07:00
calls.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
cfg.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
cfganal.c cfganal.c: Include vec.h and vecprim.h. 2008-06-26 20:06:49 +00:00
cfgbuild.c rtl.h (emit_clobber, [...]): Declare. 2008-06-01 09:47:28 +00:00
cfgcleanup.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfgexpand.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
cfghooks.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cfghooks.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cfglayout.c rtlanal.c (add_reg_note): New function. 2008-07-02 18:01:18 +00:00
cfglayout.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
cfgloop.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cfgloop.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cfgloopanal.c Separate target-specific initialization from general back-end initialization. 2007-08-27 09:34:14 -04:00
cfgloopmanip.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
cfgrtl.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cgraph.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
cgraph.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cgraphbuild.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
cgraphunit.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
collect2.c collect2.c (symkind): New enum. 2008-07-26 14:26:45 +00:00
collect2.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
combine-stack-adj.c c-pch.c (get_ident): Avoid C++ keywords. 2008-07-16 17:55:42 +00:00
combine.c recog.c (split_all_insns): Set RTL profile 2008-08-08 10:04:51 +00:00
common.opt re PR c/28875 ("-Wextra -Wno-unused-parameter -Wall" doesn't work as expected) 2008-08-08 23:15:31 +00:00
conditions.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
config.build re PR bootstrap/35273 (Bootstrap of mingw32 using non-MSYS shell broken) 2008-02-21 19:55:39 +00:00
config.gcc configure.ac (mips*-*-*linux*, [...]): Use mt-mips-gnu. 2008-08-09 19:08:15 +00:00
config.host configure.ac: Add makefile fragments for hpux. 2008-07-30 12:17:17 +00:00
config.in invoke.texi: Add cpu_type power7. 2008-08-08 21:40:18 +00:00
configure invoke.texi: Add cpu_type power7. 2008-08-08 21:40:18 +00:00
configure.ac invoke.texi: Add cpu_type power7. 2008-08-08 21:40:18 +00:00
convert.c pa.c (reloc_needed): Use CASE_CONVERT. 2008-05-09 16:57:39 +02:00
convert.h stdfix.h: New file. 2007-09-07 01:24:09 +00:00
coretypes.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
coverage.c alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
coverage.h coverage.h (tree_coverage_counter_addr): Declare. 2008-03-08 20:52:50 +00:00
cppdefault.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
cppdefault.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
cppspec.c invoke.texi (Overall Options): Add .sx file extension as a synonym for .S. 2007-09-09 18:29:24 -04:00
crtstuff.c * crtstuff.c (USE_PT_GNU_EH_FRAME): Don't define for uClibc. 2007-08-24 02:50:23 +00:00
cse.c bt-load.c (add_btr_def, [...]): Avoid C++ keywords. 2008-07-15 17:34:40 +00:00
cselib.c alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
cselib.h Remove libcall notes. 2008-06-17 05:57:04 +00:00
cstamp-h.in
dbgcnt.c alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
dbgcnt.def Fix PR tree-optimization/23455 Fix PR tree-optimization/35286 Fix PR tree-optimization/35287 2008-07-08 16:11:06 +00:00
dbgcnt.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
dbxout.c alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
dbxout.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
dce.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
dce.h re PR rtl-optimization/33644 (ICE in local_cprop_pass with -ftrapv for crafty) 2007-10-22 19:28:23 +00:00
ddg.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
ddg.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
debug.c alias.c (memory_modified_1, [...]): Constify. 2007-08-27 03:45:06 +00:00
debug.h configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): New. 2008-08-07 09:29:22 -07:00
defaults.h [multiple changes] 2008-07-30 12:20:43 -07:00
df-byte-scan.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
df-core.c On behalf of Tianwei, for the following change: 2008-07-08 17:08:40 +00:00
df-problems.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
df-scan.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
df.h alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
dfp.c dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
dfp.h dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
diagnostic.c re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
diagnostic.def re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
diagnostic.h re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
dojump.c cgraph.c (cgraph_function_possibly_inlined_p): Do not rely on DECL_INLINE. 2008-07-26 10:03:01 +00:00
dominance.c alias.c (record_alias_subset, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:28:15 +00:00
domwalk.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
domwalk.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
double-int.c alias.c (component_uses_parent_alias_set): Constify. 2007-08-14 15:18:11 +00:00
double-int.h re PR bootstrap/35051 (Build machine requires GMP and MPFR for building cross-host gccs) 2008-02-08 19:10:25 +00:00
dse.c re PR rtl-optimization/36929 (internal compiler error: Segmentation fault) 2008-07-30 18:22:50 +00:00
dse.h alias.h (alias_set_type): Define new type. 2007-08-11 17:21:56 +00:00
dummy-checksum.c
dwarf.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
dwarf2.h re PR fortran/22244 (dimension information is lost for multi-dimension array) 2007-12-09 18:08:06 +01:00
dwarf2asm.c Makefile.in (c-cppbuiltin.o): Depend on debug.h. 2008-08-05 10:24:37 -07:00
dwarf2asm.h Makefile.in (c-cppbuiltin.o): Depend on debug.h. 2008-08-05 10:24:37 -07:00
dwarf2out.c configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): New. 2008-08-07 09:29:22 -07:00
dwarf2out.h re PR fortran/22244 (dimension information is lost for multi-dimension array) 2007-12-09 18:08:06 +01:00
ebitmap.c dwarf2out.c (new_cfi, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:25:08 +00:00
ebitmap.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
emit-rtl.c [multiple changes] 2008-07-30 12:20:43 -07:00
emit-rtl.h alias.h (alias_set_type): Define new type. 2007-08-11 17:21:56 +00:00
emutls.c
errors.c re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
errors.h re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
et-forest.c dwarf2out.c (new_cfi, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:25:08 +00:00
et-forest.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
except.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
except.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
exec-tool.in exec-tool.in: Use an environment variable (private) instead of a file (shared) as a semaphore... 2008-05-30 15:19:45 -04:00
explow.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
expmed.c optabs.c (expand_binop, [...]): Upse optimize_insn_for_speed predicate. 2008-08-03 12:04:49 +00:00
expr.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
expr.h config.gcc (extra_headers): Add cross-stdarg.h for target x86_64-*-* and i?86-*-*. 2008-07-06 16:51:58 +02:00
final.c re PR bootstrap/36974 (Gcc failed to bootstrap) 2008-07-30 23:23:33 +00:00
fix-header.c scan.c (make_sstring_space): Add explicit conversions of allocator's return value. 2008-07-30 07:44:09 +00:00
fixed-value.c Reapply reverted change: 2007-09-07 16:42:48 +00:00
fixed-value.h fixed-value.h: New file. 2007-08-06 23:18:57 +00:00
fixproto Committed with RM approval this time. 2008-01-25 07:52:56 +11:00
flags.h re PR c/28875 ("-Wextra -Wno-unused-parameter -Wall" doesn't work as expected) 2008-08-08 23:15:31 +00:00
fold-const.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
fp-test.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
function.c recog.c (split_all_insns): Set RTL profile 2008-08-08 10:04:51 +00:00
function.h re PR middle-end/37009 (No need to align stack when incoming stack is aligned) 2008-08-06 08:29:37 -07:00
fwprop.c re PR middle-end/36753 (Forward propagation interacts badly with global register variable) 2008-07-17 09:07:31 +00:00
gbl-ctors.h
gcc.c re PR target/37033 (Revision 138733 breaks -g vs -g0 for PCH) 2008-08-07 13:06:36 -07:00
gcc.h re PR fortran/35019 (Gfortran does not support "-J <dir>" only "-J<dir>") 2008-04-21 13:10:15 -04:00
gccbug.in Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
gccspec.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
gcov-dump.c gcov-dump.c (tag_summary): Only print summaries for the first GCOV_COUNTERS_SUMMABLE counters. 2008-04-10 18:21:26 +00:00
gcov-io.c dwarf2out.c (new_cfi, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:25:08 +00:00
gcov-io.h * gcov-io.h (__gcov_merge_ior, __gcov_fork): Mark hidden. 2008-03-18 14:47:14 +00:00
gcov-iov.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
gcov.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
gcse.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
gdbinit.in
gen-protos.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genattr.c target.h (struct gcc_target.sched: dfa_pre_advance_cycle, [...]): New scheduler hooks. 2007-08-22 15:07:10 +00:00
genattrtab.c genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. 2008-07-09 06:45:21 +00:00
genautomata.c cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:22:12 +00:00
gencheck.c tree.h (enum tree_code): Include all-tree.def, not tree.def. 2008-06-21 21:17:40 +00:00
genchecksum.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
gencodes.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genconditions.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genconfig.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genconstants.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genemit.c genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. 2008-07-09 06:45:21 +00:00
genextract.c cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:22:12 +00:00
genflags.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
gengenrtl.c rtl.c (rtx_code_size): Check CONST_FIXED to calcualte correct sizes in DEF_RTL_EXPR. 2007-08-23 00:30:39 +00:00
gengtype-lex.l cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:22:12 +00:00
gengtype-parse.c system.h (CONST_CAST2, [...]): New macros for type-specific casts. 2007-09-03 17:09:20 +00:00
gengtype.c Makefile.in (write_entries_to_file): Quote words. 2008-08-06 16:10:22 +00:00
gengtype.h genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. 2008-07-09 06:45:21 +00:00
genmddeps.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genmodes.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genmultilib Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genopinit.c Add SSE5 vector shift/rotate; Update SSE5 vector multiply 2008-05-14 20:07:53 +00:00
genoutput.c genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. 2008-07-09 06:45:21 +00:00
genpeep.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
genpreds.c cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:22:12 +00:00
genrecog.c genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. 2008-07-09 06:45:21 +00:00
gensupport.c genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. 2008-07-09 06:45:21 +00:00
gensupport.h gensupport.h (pred_data): Add a "num_codes" field. 2008-05-08 21:28:27 +00:00
ggc-common.c configure.ac: Check for caddr_t, define to char * if not defined. 2008-07-06 22:28:30 +02:00
ggc-none.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
ggc-page.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ggc-zone.c ggc-zone.c (lookup_page_table_if_allocated, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-07-04 04:47:55 +00:00
ggc.h ggc.h (GGC_RESIZEVAR): New, reorder macros. 2008-06-20 18:34:07 +00:00
gimple-iterator.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
gimple-low.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
gimple-pretty-print.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
gimple.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
gimple.def backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
gimple.h gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
gimplify.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
glimits.h
global.c [multiple changes] 2008-07-30 12:20:43 -07:00
graph.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
graph.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
graphds.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
graphds.h invoke.texi: Document -ftree-loop-distribution. 2008-02-28 12:37:24 +00:00
gsstruct.def backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
gthr-gnat.c
gthr-gnat.h
gthr-lynx.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
gthr-mipssde.h re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
gthr-nks.h re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
gthr-posix.c
gthr-posix.h gthr-posix.h (__gthread_active_p): Use the Solaris implementation for FreeBSD as well. 2008-04-18 02:16:35 +00:00
gthr-posix95.h gthr-posix.h (__gthread_active_p): Use the Solaris implementation for FreeBSD as well. 2008-04-18 02:16:35 +00:00
gthr-rtems.h gthr-rtems.h: Implement __gthread_mutex_destroy. 2008-03-05 13:16:57 +00:00
gthr-single.h gthr-single.h: Add in required interface elements as per gthr.h. 2008-05-05 17:42:26 +00:00
gthr-solaris.h re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
gthr-tpf.h re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
gthr-vxworks.h * gthr-vxworks.h (UNUSED): Define. 2008-03-24 11:18:22 +00:00
gthr-win32.h * gthr-win32.h [__GTHREAD_HIDE_WIN32API] 2008-03-04 06:33:39 +00:00
gthr.h re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
haifa-sched.c re PR target/35659 (Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64) 2008-08-06 06:23:47 +00:00
hard-reg-set.h ra-conflict.c: New file. 2007-10-02 13:10:07 +00:00
hooks.c c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
hooks.h c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
host-default.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
hosthooks-def.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
hosthooks.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
hwint.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ifcvt.c ifcvt.c (cond_move_process_if_block): Free vectors on false return. 2008-06-30 19:31:42 +00:00
incpath.c cpplib.h (struct cpp_dir): Add new field, canonical_name. 2008-05-30 00:57:56 +00:00
incpath.h re PR fortran/18428 (No preprocessing option -cpp for gfortran) 2008-05-25 18:37:41 -04:00
init-regs.c re PR other/35094 (RTL dump file letters hosed and partly undocumented) 2008-03-19 11:22:40 +00:00
input.h Makefile.in: Replace toplev.h with TOPLEV_H. 2008-07-21 14:29:27 +00:00
insn-addr.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
insn-notes.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
integrate.c driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:18:25 +00:00
integrate.h function.h (incomming_args): Break out of struct function. 2008-04-08 08:59:34 +00:00
intl.c alloc-pool.c (create_alloc_pool): Fix -Wc++-compat warnings. 2008-06-29 04:39:16 +00:00
intl.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
ipa-cp.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
ipa-inline.c flags.h (flag_really_no_inline): Remove. 2008-07-29 11:00:58 +00:00
ipa-prop.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-prop.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-pure-const.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-reference.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-reference.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
ipa-struct-reorg.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-struct-reorg.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-type-escape.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-type-escape.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-utils.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
ipa-utils.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
ipa.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
jump.c jump.c (rtx_renumbered_equal_p): Do not call subreg_regno_offset for unrepresentable subregs or treat them as... 2008-08-06 16:20:14 +01:00
lambda-code.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
lambda-mat.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
lambda-trans.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
lambda.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
langhooks-def.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
langhooks.c c-decl.c (merge_decls): Do not handle DECL_INLINE. 2008-07-29 17:10:55 +00:00
langhooks.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
lcm.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
libfuncs.h libfuncs.h (LTI_synchronize): New libfunc_index. 2008-06-26 21:28:30 +00:00
libgcc-std.ver Fix conflict with another recent patch. 2008-07-03 19:42:41 +00:00
libgcc2.c MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
libgcc2.h libgcc2.c (__fixunstfDI, [...]): Make return type unsigned. 2007-11-05 11:41:40 +00:00
libgcov.c
limitx.h
limity.h
lists.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
local-alloc.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
longlong.h longlong.h (__arm__): Define count_leading_zeros. 2008-06-12 17:29:47 +00:00
loop-doloop.c rtlanal.c (add_reg_note): New function. 2008-07-02 18:01:18 +00:00
loop-init.c re PR other/35094 (RTL dump file letters hosed and partly undocumented) 2008-03-19 11:22:40 +00:00
loop-invariant.c driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:18:25 +00:00
loop-iv.c driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:18:25 +00:00
loop-unroll.c driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:18:25 +00:00
loop-unswitch.c rtlanal.c (add_reg_note): New function. 2008-07-02 18:01:18 +00:00
lower-subreg.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
machmode.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
machmode.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
main.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
matrix-reorg.c matrix-reorg.c (compute_offset): Avoid C++ keywords. 2008-08-06 17:22:05 +00:00
mips-tdump.c re PR driver/35420 (--version copyright date vs. 2008) 2008-03-02 23:50:02 +01:00
mips-tfile.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
mkconfig.sh Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
mkmap-flat.awk cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
mkmap-symver.awk re PR target/36669 (Wrong versioning for __float128) 2008-07-02 08:59:19 -07:00
mode-classes.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
mode-switching.c df-problems.c (df_set_note): Avoid C++ keywords. 2008-07-15 17:51:00 +00:00
modulo-sched.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
omega.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
omega.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
omp-builtins.def c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
omp-low.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
opt-functions.awk Add ability to set target options (ix86 only) and optimization options on a function specific basis 2008-07-23 10:28:06 +00:00
opt-gather.awk Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
optabs.c optabs.c (emit_unop_insn): Break out to ... 2008-08-07 07:35:51 +00:00
optabs.h optabs.c (emit_unop_insn): Break out to ... 2008-08-07 07:35:51 +00:00
optc-gen.awk Fix PR 36907, breakage in building libobj with function specific changes 2008-07-23 19:03:40 +00:00
opth-gen.awk Fix PR 36907, breakage in building libobj with function specific changes 2008-07-23 19:03:40 +00:00
opts-common.c driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:18:25 +00:00
opts.c re PR c/28875 ("-Wextra -Wno-unused-parameter -Wall" doesn't work as expected) 2008-08-08 23:15:31 +00:00
opts.h cgraphbuild.c (record_reference): Drop non-unit-at-a-time code. 2008-07-25 13:11:32 +00:00
output.h targhooks.h (default_emutls_var_fields, [...]): Declare. 2008-04-27 15:35:19 +00:00
params.c driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:18:25 +00:00
params.def Makefile.in (tree-switch-conversion.o): Add. 2008-07-01 10:54:18 +02:00
params.h Makefile.in (tree-switch-conversion.o): Add. 2008-07-01 10:54:18 +02:00
passes.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
pointer-set.c c-common.c (const_strip_array_types): New. 2007-08-16 14:31:21 +00:00
pointer-set.h c-common.c (const_strip_array_types): New. 2007-08-16 14:31:21 +00:00
postreload-gcse.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
postreload.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
predict.c predict.c (maybe_hot_frequency_p): When profile is absent, all frequencies might be hot. 2008-08-06 07:50:52 +00:00
predict.def tree-pretty-print.c: Include predict.h. 2008-03-18 15:21:06 +00:00
predict.h tree-pretty-print.c: Include predict.h. 2008-03-18 15:21:06 +00:00
prefix.c system.h (CONST_CAST2, [...]): New macros for type-specific casts. 2007-09-03 17:09:20 +00:00
prefix.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
pretty-print.c pretty-print.c (pp_integer_with_precision): Use HOST_LONG_LONG_FORMAT. 2008-05-11 04:06:57 -06:00
pretty-print.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
print-rtl.c dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT for hex printing. 2008-04-15 19:56:20 +00:00
print-tree.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
profile.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
protoize.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ra-conflict.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
ra.h cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
read-rtl.c read-rtl.c (join_c_conditions): Return the first string if the two strings are equal. 2008-05-08 21:29:00 +00:00
real.c dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
real.h dfp.h, [...]: Remove references to IEEE 754R. 2008-06-19 11:13:53 +10:00
recog.c recog.c (split_all_insns): Set RTL profile 2008-08-08 10:04:51 +00:00
recog.h reload.c: (find_reloads): Skip alternatives according to the "enabled" attribute. 2008-05-27 11:46:45 +00:00
reg-notes.def Remove libcall notes. 2008-06-17 05:57:04 +00:00
reg-stack.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
regclass.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
regmove.c rtlanal.c (add_reg_note): New function. 2008-07-02 18:01:18 +00:00
regrename.c cfg.c (dump_reg_info): Avoid C++ keywords. 2008-07-16 17:49:20 +00:00
regs.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
regstat.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
reload.c re PR target/36613 (likely codegen bug) 2008-08-06 15:34:45 +00:00
reload.h c-pch.c (get_ident): Avoid C++ keywords. 2008-07-16 17:55:42 +00:00
reload1.c [multiple changes] 2008-07-30 12:20:43 -07:00
reorg.c alpha.c (alpha_preferred_reload_class, [...]): Avoid C++ keywords. 2008-08-06 16:12:51 +00:00
resource.c resource.c (mark_referenced_resources): Look inside UNSPEC_VOLATILEs and ASM_INPUTs. 2008-07-02 18:05:42 +00:00
resource.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
rtl-error.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
rtl-factoring.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
rtl.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
rtl.def system.h (USE_MAPPED_LOCATION): Poison. 2008-02-26 16:05:24 +00:00
rtl.h [multiple changes] 2008-07-30 12:20:43 -07:00
rtlanal.c recog.c (validate_change_1, [...]): Avoid C++ keywords. 2008-07-16 17:52:19 +00:00
rtlhooks-def.h attribs.c (hash_attr, [...]): Constify. 2007-07-29 05:43:43 +00:00
rtlhooks.c recog.c (validate_change_1, [...]): Avoid C++ keywords. 2008-07-16 17:52:19 +00:00
sbitmap.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
sbitmap.h sbitmap.c (sbitmap_range_empty_p): New function. 2008-04-21 20:15:38 +00:00
scan-decls.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
scan-types.sh
scan.c scan.c (make_sstring_space): Add explicit conversions of allocator's return value. 2008-07-30 07:44:09 +00:00
scan.h cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
sched-deps.c re PR target/35659 (Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64) 2008-08-06 06:23:47 +00:00
sched-ebb.c recog.c (validate_change_1, [...]): Avoid C++ keywords. 2008-07-16 17:52:19 +00:00
sched-int.h re PR target/35659 (Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64) 2008-08-06 06:23:47 +00:00
sched-rgn.c sched-rgn.c (new_ready): Check if instruction can be speculatively scheduled before attempting speculation. 2008-08-06 06:20:02 +00:00
sched-vis.c dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT for hex printing. 2008-04-15 19:56:20 +00:00
sdbout.c c-format.c (handle_format_attribute): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-27 16:53:54 +00:00
sdbout.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
see.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
simplify-rtx.c re PR middle-end/36447 (simplify_subreg ICE with right shift more than length type AVR) 2008-06-09 22:38:34 +00:00
sort-protos
sparseset.c re PR rtl-optimization/33796 (valgrind error with -O2 for linux kernel code) 2008-01-16 21:21:36 -06:00
sparseset.h sparseset.c: Include config.h and system.h before sparseset.h. 2007-12-05 13:47:22 +01:00
sreal.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
sreal.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
stab.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
stack-ptr-mod.c re PR testsuite/35843 (-fdump-rtl-expand does not exist anymore) 2008-04-25 23:14:40 +00:00
statistics.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
statistics.h tree-pass.h (current_pass): Declare. 2008-05-15 13:39:39 +00:00
stmt.c [multiple changes] 2008-07-30 12:20:43 -07:00
stor-layout.c recog.c (validate_change_1, [...]): Avoid C++ keywords. 2008-07-16 17:52:19 +00:00
stringpool.c ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-26 00:12:56 +00:00
stub-objc.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
sync-builtins.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
sys-protos.h
sys-types.h
system.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
target-def.h [multiple changes] 2008-07-30 12:20:43 -07:00
target.h [multiple changes] 2008-07-30 12:20:43 -07:00
targhooks.c Add ability to set target options (ix86 only) and optimization options on a function specific basis 2008-07-23 10:28:06 +00:00
targhooks.h Add ability to set target options (ix86 only) and optimization options on a function specific basis 2008-07-23 10:28:06 +00:00
timevar.c Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
timevar.def tree-switch-conversion.c: Included timevar.h 2008-07-02 11:59:34 +02:00
timevar.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
tlink.c collect2.c (main, [...]): Fix for -Wc++-compat. 2008-06-20 03:46:09 +00:00
toplev.c re PR c/28875 ("-Wextra -Wno-unused-parameter -Wall" doesn't work as expected) 2008-08-08 23:15:31 +00:00
toplev.h re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
tracer.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-affine.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-affine.h tree-affine.h (aff_combination_expand): Declare. 2008-03-27 10:25:36 +00:00
tree-browser.c tree.h (enum tree_code): Include all-tree.def, not tree.def. 2008-06-21 21:17:40 +00:00
tree-browser.def Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
tree-call-cdce.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-cfg.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
tree-cfgcleanup.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-chrec.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-chrec.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-complex.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-data-ref.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-data-ref.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-dfa.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-dump.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-dump.h re PR other/35094 (RTL dump file letters hosed and partly undocumented) 2008-03-19 11:22:40 +00:00
tree-eh.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-flow-inline.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-flow.h re PR ada/36957 (ACATS ce3801b ICE emit_move_insn, at expr.c:3381 post tuple merge) 2008-07-28 20:32:32 +00:00
tree-if-conv.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-inline.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-inline.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-into-ssa.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-iterator.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-iterator.h tree-flow.h (const_block_stmt_iterator): Remove. 2007-09-07 12:38:46 -04:00
tree-loop-distribution.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-loop-linear.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-mudflap.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-mudflap.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
tree-nested.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
tree-nomudflap.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-nrv.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-object-size.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-optimize.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-outof-ssa.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-parloops.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-pass.h tree-pass.h: Added comment about not dumping passes with name starting with star in struct... 2008-08-01 05:19:40 +00:00
tree-phinodes.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-predcom.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-pretty-print.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-profile.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-scalar-evolution.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-scalar-evolution.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-sra.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-address.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-alias-warnings.c re PR middle-end/37042 (Strict-aliasing warnings are printed for _mm_load_si128, even though __m128i is __attribute__((__may_alias__)).) 2008-08-07 10:01:48 +00:00
tree-ssa-alias.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-ccp.c tree-ssa-ccp.c (likely_value): Calls are not all varying. 2008-08-08 15:01:05 +00:00
tree-ssa-coalesce.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-copy.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-copyrename.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-dce.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-dom.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-dse.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-forwprop.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-ifcombine.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-live.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-live.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-loop-ch.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-loop-im.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-loop-ivcanon.c tree-ssa-pre.c (fini_pre): Take in_fre parameter. 2008-08-01 14:42:42 +00:00
tree-ssa-loop-ivopts.c tree-ssa-loop-ivopts.c (add_iv_value_candidates): Also add the candidate with the stripped base if... 2008-08-04 18:35:20 +00:00
tree-ssa-loop-manip.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-loop-niter.c re PR tree-optimization/37056 (ICE in build2_stat, at tree.c:3257) 2008-08-08 11:30:13 +00:00
tree-ssa-loop-prefetch.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-loop-unswitch.c re PR tree-optimization/36978 (ICE in gimple_cond_set_lhs for -O2 -funswitch-loops after tuples merge) 2008-07-31 14:12:24 +00:00
tree-ssa-loop.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-math-opts.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
tree-ssa-operands.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-operands.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-phiopt.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-phiprop.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-pre.c tree-ssa-pre.c (fini_pre): Take in_fre parameter. 2008-08-01 14:42:42 +00:00
tree-ssa-propagate.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-propagate.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-reassoc.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-sccvn.c re PR tree-optimization/36945 (PRE/SCCVN do not handle aggregate function arguments correctly) 2008-07-29 17:09:26 +00:00
tree-ssa-sccvn.h re PR tree-optimization/36945 (PRE/SCCVN do not handle aggregate function arguments correctly) 2008-07-29 17:09:26 +00:00
tree-ssa-sink.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-structalias.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree-ssa-structalias.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-ter.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-threadedge.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-threadupdate.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa-uncprop.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-ssa.c re PR other/36901 (pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors) 2008-08-08 23:57:19 +00:00
tree-ssanames.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-stdarg.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-stdarg.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
tree-switch-conversion.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-tailcall.c re PR tree-optimization/37024 (bad tail call from tuples merge) 2008-08-05 11:23:07 -07:00
tree-vect-analyze.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-vect-generic.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-vect-patterns.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-vect-transform.c tree-vect-transform.c (vectorizable_conversion): Pass the integral type to vectorize.builtin_conversion. 2008-08-08 19:00:36 +00:00
tree-vectorizer.c [multiple changes] 2008-07-30 12:20:43 -07:00
tree-vectorizer.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree-vrp.c builtins.c (expand_builtin_profile_func): Avoid C++ keywords. 2008-08-06 15:57:09 +00:00
tree.c alpha.c (alpha_preferred_reload_class, [...]): Avoid C++ keywords. 2008-08-06 16:12:51 +00:00
tree.def backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
tree.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
treestruct.def Add ability to set target options (ix86 only) and optimization options on a function specific basis 2008-07-23 10:28:06 +00:00
tsystem.h
typeclass.h
unwind-c.c
unwind-compat.c tm.texi (LIBGCC2_UNWIND_ATTRIBUTE): Document. 2007-09-14 14:35:12 -04:00
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-darwin.c
unwind-dw2-fde-glibc.c
unwind-dw2-fde.c cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
unwind-dw2-fde.h c-lex.c (c_lex_with_flags, lex_string): Constify. 2007-07-25 18:14:57 +00:00
unwind-dw2.c c-lex.c (c_lex_with_flags, lex_string): Constify. 2007-07-25 18:14:57 +00:00
unwind-dw2.h
unwind-generic.h targhooks.h (struct gcc_target): New member unwind_word_mode. 2008-06-18 20:49:12 +00:00
unwind-pe.h re PR target/34780 (Bootstrapping libstdc++-v3 failed) 2008-07-07 18:16:04 +00:00
unwind-sjlj.c
unwind.inc cgraph.c: Fix typos in comments. 2008-06-06 05:42:00 +00:00
value-prof.c gimple.c (gimple_build_call_1): Deal with FUNCTION_DECL fn. 2008-08-09 17:28:39 +00:00
value-prof.h backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
var-tracking.c ggc.h (GGC_RESIZEVAR): New, reorder macros. 2008-06-20 18:34:07 +00:00
varasm.c cgraphbuild.c (record_reference): Drop non-unit-at-a-time code. 2008-07-25 13:11:32 +00:00
varpool.c backport: ChangeLog.tuples: ChangeLog from gimple-tuples-branch. 2008-07-28 14:33:56 +00:00
varray.c alloc-pool.c (hash_descriptor, [...]): Fix -Wc++-compat warnings. 2008-07-04 00:22:31 +00:00
varray.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
vec.c ggc.h (GGC_RESIZEVAR): New, reorder macros. 2008-06-20 18:34:07 +00:00
vec.h re PR bootstrap/33304 (Bootstrap failure on solaris2 using cc due to empty macro arguments) 2008-07-03 10:31:03 +00:00
vecprim.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
version.c configure.ac: Add --with-pkgversion and --with-bugurl. 2007-08-21 16:35:30 +01:00
version.h configure.ac: Add --with-pkgversion and --with-bugurl. 2007-08-21 16:35:30 +01:00
vmsdbg.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00
vmsdbgout.c alpha.c (alpha_need_linkage, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-07-02 06:43:45 +00:00
web.c df.h (struct df_ref): Replace 'insn' field with 'insn_info' field. 2008-06-18 05:42:23 +00:00
xcoff.h
xcoffout.c c-format.c (handle_format_attribute): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-06-27 16:53:54 +00:00
xcoffout.h Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. 2007-07-26 08:37:01 +00:00

README.Portability

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

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

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

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

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


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

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

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

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

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


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

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

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

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

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

needs to be coded in some other way.


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

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

  if (mem)
    free (mem);


Trigraphs
---------

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


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

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


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

errno
-----

errno might be declared as a macro.


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

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

  unsigned variable;

as shorthand for

  unsigned int variable;

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

  (unsigned) variable

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

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

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

o Passing incorrect types to fprintf and friends.

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