8sa1-gcc/gcc
Aldy Hernandez db3927fb49 re PR c/40435 (Revision 148442 caused many regressions on trunk)
2009-07-17  Aldy Hernandez  <aldyh@redhat.com>
	    Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR 40435 
	* tree-complex.c, tree-loop-distribution.c,
	tree.c, tree.h, builtins.c, fold-const.c, omp-low.c,
	cgraphunit.c, tree-ssa-ccp.c, tree-ssa-dom.c,
	gimple-low.c, expr.c, tree-ssa-ifcombine.c, c-decl.c,
	stor-layout.c, tree-if-conv.c, c-typeck.c,
	gimplify.c, calls.c, tree-sra.c, tree-mudflap.c,
	tree-ssa-copy.c, tree-ssa-forwprop.c, c-convert.c, c-omp.c,
	varasm.c, tree-inline.c, c-common.c,
	c-common.h, gimple.c, tree-switch-conversion.c, gimple.h,
	tree-cfg.c, c-parser.c, convert.c: Add location
	argument to fold_{unary,binary,ternary}, fold_build[123],
	build_call_expr, build_size_arg, build_fold_addr_expr,
	build_call_array, non_lvalue, size_diffop,
	fold_build1_initializer, fold_build2_initializer,
	fold_build3_initializer, fold_build_call_array,
	fold_build_call_array_initializer, fold_single_bit_test,
	omit_one_operand, omit_two_operands, invert_truthvalue,
	fold_truth_not_expr, build_fold_indirect_ref, fold_indirect_ref,
	combine_comparisons, fold_builtin_*, fold_call_expr,
	build_range_check, maybe_fold_offset_to_address, round_up,
	round_down.
objc/
	* objc-act.c: Add location argument to all calls to
	build_fold_addr_expr.
testsuite/
	* gcc.dg/pr36902.c: Add column info.
	* g++.dg/gcov/gcov-2.C: Change count for definition.
cp/
	* typeck.c, init.c, class.c, method.c, rtti.c, except.c, error.c,
	tree.c, cp-gimplify.c, cxx-pretty-print.c, pt.c, semantics.c,
	call.c, cvt.c, mangle.c: Add location argument to
	fold_{unary,binary,ternary}, fold_build[123], build_call_expr,
	build_size_arg, build_fold_addr_expr, build_call_array,
	non_lvalue, size_diffop, fold_build1_initializer,
	fold_build2_initializer, fold_build3_initializer,
	fold_build_call_array, fold_build_call_array_initializer,
	fold_single_bit_test, omit_one_operand, omit_two_operands,
	invert_truthvalue, fold_truth_not_expr, build_fold_indirect_ref,
	fold_indirect_ref, combine_comparisons, fold_builtin_*,
	fold_call_expr, build_range_check, maybe_fold_offset_to_address,
	round_up, round_down.
fortran/
	* trans-expr.c, trans-array.c, trans-openmp.c, trans-stmt.c,
	trans.c, trans-io.c, trans-decl.c, trans-intrinsic.c: Add location
	argument to fold_{unary,binary,ternary}, fold_build[123],
	build_call_expr, build_size_arg, build_fold_addr_expr,
	build_call_array, non_lvalue, size_diffop,
	fold_build1_initializer, fold_build2_initializer,
	fold_build3_initializer, fold_build_call_array,
	fold_build_call_array_initializer, fold_single_bit_test,
	omit_one_operand, omit_two_operands, invert_truthvalue,
	fold_truth_not_expr, build_fold_indirect_ref, fold_indirect_ref,
	combine_comparisons, fold_builtin_*, fold_call_expr,
	build_range_check, maybe_fold_offset_to_address, round_up,
	round_down.

Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>

From-SVN: r149722
2009-07-16 22:29:52 +00:00
..
ada Make-lang.in: Update dependencies 2009-07-15 15:20:41 +02:00
config m32c.c (m32c_compare_redundant): Avoid removing compares that may be indirectly affected by previous instructions. 2009-07-16 16:07:46 -04:00
cp re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
doc re PR libstdc++/37907 ([c++0x] support for std::is_standard_layout) 2009-07-16 16:36:10 -04:00
fortran re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
ginclude Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
java sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
objc re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
objcp sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
po * gcc.pot: Regenerate. 2009-05-10 11:36:44 +01:00
testsuite re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
ABOUT-GCC-NLS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
acinclude.m4 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
aclocal.m4
addresses.h
alias.c re PR bootstrap/40753 (ICE in refs_may_alias_p_1 for libffi/src/powerpc/ffi.c) 2009-07-15 09:25:34 +00:00
alias.h
alloc-pool.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
alloc-pool.h
attribs.c attribs.c (register_attribute): Use CONST_CAST. 2009-06-01 16:35:01 +00:00
auto-inc-dec.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
BASE-VER
basic-block.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
bb-reorder.c
bitmap.c bitmap.h (bitmap_ior_and_into): New. 2009-06-27 14:46:56 +00:00
bitmap.h bitmap.h (bitmap_ior_and_into): New. 2009-06-27 14:46:56 +00:00
bt-load.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
builtin-attrs.def
builtin-types.def
builtins.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
builtins.def re PR c/39252 (Request new feature __builtin_unreachable ()) 2009-06-11 23:55:45 +00:00
c-aux-info.c
c-common.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-common.def
c-common.h re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-config-lang.in
c-convert.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-cppbuiltin.c re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
c-decl.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-dump.c
c-errors.c
c-format.c pretty-print.c (pp_base_format): Remove %J. 2009-07-07 15:29:12 +00:00
c-format.h
c-gimplify.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
c-lang.c
c-lex.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
c-objc-common.c c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-objc-common.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
c-omp.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-opts.c df-problems.c (df_simulate_one_insn_forwards): Fix braces in switch. 2009-06-16 05:12:15 +00:00
c-parser.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-pch.c c-pch.c (get_ident): Don't set size of templ array. 2009-06-17 13:21:23 +00:00
c-ppoutput.c
c-pragma.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
c-pragma.h
c-pretty-print.c pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
c-pretty-print.h c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-semantics.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
c-tree.h tree-cfg.c (gimple_redirect_edge_and_branch): Change ERROR_MARK to GIMPLE_ERROR_MARK. 2009-06-19 20:55:27 +00:00
c-typeck.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c.opt re PR c/25509 (can't disable __attribute__((warn_unused_result))) 2009-07-10 07:27:32 +00:00
caller-save.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
calls.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
cfg.c
cfganal.c
cfgbuild.c cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. 2009-04-22 04:48:34 +00:00
cfgcleanup.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cfgexpand.c re PR middle-end/40745 (Revision 149624 caused x86-64 failures) 2009-07-14 14:08:09 +00:00
cfghooks.c cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. 2009-04-22 04:48:34 +00:00
cfghooks.h
cfglayout.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cfglayout.h
cfgloop.c
cfgloop.h cfgloopanal.c (check_irred): Move into ... 2009-06-30 14:56:37 +00:00
cfgloopanal.c cfgloopanal.c (check_irred): Move into ... 2009-06-30 14:56:37 +00:00
cfgloopmanip.c
cfgrtl.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cgraph.c cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP. 2009-06-15 14:52:41 +00:00
cgraph.h cgraph.c (cgraph_node_can_be_local_p): New function. 2009-06-10 18:43:24 +02:00
cgraphbuild.c cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node. 2009-05-10 15:11:01 +00:00
cgraphunit.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
ChangeLog re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
ChangeLog-1997 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1998 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1999 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2000 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2001 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2002 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2003 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2004 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2005 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2006 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2007 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2008 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.dataflow ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.lib ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.ptr ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tree-ssa ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tuples ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
cif-code.def
collect2-aix.c Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. 2009-06-02 19:06:56 +00:00
collect2-aix.h Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. 2009-06-02 19:06:56 +00:00
collect2.c collect2.c (main): Use CONST_CAST2 to perform char ** to const char ** conversion in AIX specific... 2009-06-18 07:45:09 +00:00
collect2.h
combine-stack-adj.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
combine.c combine.c (make_extraction): Check TRULY_NOOP_TRUNCATION before creating LHS paradoxical subregs. 2009-07-09 05:32:21 +00:00
common.opt 2009-07-13 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-07-13 22:42:41 +00:00
conditions.h
config.build
config.gcc re PR target/39079 (MIPS: __builtin___clear_cache() broken on SMP ISA_HAS_SYNCI systems.) 2009-07-10 22:49:52 +00:00
config.host
config.in Step 1 of VSX changes: Powerpc infrstructure changes 2009-06-23 20:15:15 +00:00
configure sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
configure.ac sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
convert.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h tree.c (list_equal_p): New function. 2009-04-25 18:27:19 +00:00
coverage.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cselib.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cselib.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
cstamp-h.in
DATESTAMP Daily bump. 2009-07-16 00:16:41 +00:00
dbgcnt.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
dbgcnt.def dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +00:00
dbgcnt.h
dbxout.c re PR debug/40666 (Ada tools build failure) 2009-07-07 20:46:06 +00:00
dbxout.h
dce.c tree-ssa-operands.c (get_expr_operands): Do not handle INDIRECT_REFs in the handled-component case. 2009-05-29 09:49:42 +00:00
dce.h
ddg.c
ddg.h
debug.c dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
debug.h dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
defaults.h re PR target/40667 (stack frames are generated even with -fomit-frame-pointer) 2009-07-11 19:40:29 +02:00
DEV-PHASE
df-byte-scan.c
df-core.c * df-core.c (df_ref_debug): Honor -fdump-noaddr. 2009-06-02 08:08:57 +00:00
df-problems.c df-problems.c (df_set_seen, [...]): Delete. 2009-06-27 14:50:00 +00:00
df-scan.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
df.h re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
dfp.c re PR middle-end/39986 (decimal float constant is incorrect when cc1 is a 64-bit binary) 2009-05-06 16:59:53 +00:00
dfp.h
diagnostic.c diagnostic.c (diagnostic_build_prefix): Always print columns. 2009-06-01 16:09:33 +00:00
diagnostic.def ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
diagnostic.h re PR testsuite/40488 (Revision 148642 caused extra failures) 2009-06-18 16:27:40 -07:00
dojump.c dojump.c (do_compare_rtx_and_jump): Try swapping the condition for floating point modes. 2009-06-28 17:03:03 +00:00
dominance.c basic-block.h (get_all_dominated_blocks): Declare. 2009-04-20 14:01:52 +00:00
domwalk.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
domwalk.h domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
double-int.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
double-int.h
dse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
dse.h
dummy-checksum.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
dwarf2asm.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
dwarf2asm.h
dwarf2out.c re PR debug/40705 (ICE in gen_type_die_with_usage, at dwarf2out.c:15117) 2009-07-14 17:01:55 +02:00
dwarf2out.h cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
ebitmap.c
ebitmap.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
emit-rtl.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
emit-rtl.h
emutls.c re PR other/40024 (trunk/gcc-4.3/gcc: * emutls.c (emutls_destroy): Don' t fall out of the array bound.) 2009-06-01 20:03:26 +02:00
errors.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
errors.h Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
et-forest.c
et-forest.h
except.c re PR tree-optimization/40585 (tracer duplicates blocks w/o adjusting EH tree) 2009-07-12 12:07:35 +00:00
except.h cgraph.c (dump_cgraph_node): Dump size/time/benefit. 2009-05-25 21:59:24 +00:00
exec-tool.in
explow.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
expmed.c expmed.c (emit_store_flag_1): Fix choice of zero vs. 2009-07-11 08:28:34 +00:00
expr.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
expr.h builtins.c (expand_errno_check): Use do_compare_rtx_and_jump. 2009-06-28 16:53:18 +00:00
final.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
fixed-value.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
fixed-value.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
flags.h flags.h (extra_warnings): Delete. 2009-05-03 19:14:06 +00:00
fold-const.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
fp-test.c
FSFChangeLog ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
FSFChangeLog.10 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
FSFChangeLog.11 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
function.c re PR target/40667 (stack frames are generated even with -fomit-frame-pointer) 2009-07-11 19:40:29 +02:00
function.h function.h (struct function): Add cannot_be_copied_reason, and cannot_be_copied_set. 2009-06-26 11:23:32 -07:00
fwprop.c re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
gbl-ctors.h gbl-ctors.h: Add header guard. 2009-06-07 21:53:14 +02:00
gcc-plugin.h plugins.texi: Document PLUGIN_START_UNIT. 2009-06-29 21:17:40 +00:00
gcc.c gcc.c (option_map): New flag -no-canonical-prefixes. 2009-07-16 11:25:20 +00:00
gcc.h
gccbug.in
gccspec.c
gcov-dump.c
gcov-io.c
gcov-io.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gcov-iov.c
gcov.c df-problems.c (df_simulate_one_insn_forwards): Fix braces in switch. 2009-06-16 05:12:15 +00:00
gcse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
gdbinit.in ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
genattr.c
genattrtab.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
genautomata.c Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
gencheck.c
genchecksum.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c
genextract.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
genflags.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
gengenrtl.c
gengtype-lex.l hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
gengtype-parse.c gengtype-parse.c (parse_error): Add newline after message. 2009-04-24 09:46:47 -04:00
gengtype.c plugins.texi (Interacting with the GCC Garbage Collector): Mention the plugin mode of gengtype. 2009-06-16 05:56:39 +00:00
gengtype.h
genmddeps.c
genmodes.c
genmultilib
genopinit.c re PR testsuite/40491 (Revision 148663 caused extra failures) 2009-06-19 16:22:16 +02:00
genoutput.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
genpeep.c
genpreds.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
genrecog.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
gensupport.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
gensupport.h
ggc-common.c plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
ggc-none.c
ggc-page.c ggc-page.c (ggc_pch_write_object): Initialize emptyBytes. 2009-06-19 15:32:43 +00:00
ggc-zone.c plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
ggc.h plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
gimple-iterator.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
gimple-low.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
gimple-pretty-print.c re PR testsuite/40488 (Revision 148642 caused extra failures) 2009-06-18 16:27:40 -07:00
gimple.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
gimple.def re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
gimple.h re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
gimplify.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
glimits.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
graph.c
graph.h
graphds.c
graphds.h
graphite.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
graphite.h alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
gsstruct.def
gstab.h gstab.h (stab_code_type): Define, to be used instead of the __stab_debug_code enum, made anonymous. 2009-05-20 12:44:44 +00:00
gsyms.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
gsyslimits.h
gthr-aix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-dce.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-gnat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-gnat.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-lynx.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-mipssde.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-nks.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix95.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-rtems.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-single.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-solaris.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-tpf.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-vxworks.h gthr-vxworks.h (struct __gthread_once_t): Add alignment and padding for PPC. 2009-04-22 10:53:53 +00:00
gthr-win32.h mingw-tls.c: New file. 2009-05-30 11:05:56 +02:00
gthr.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
haifa-sched.c 2009-07-13 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-07-13 22:42:41 +00:00
hard-reg-set.h
hooks.c tm.texi (Misc): Document TARGET_INVALID_PARAMETER_TYPE... 2009-05-20 23:06:12 -04:00
hooks.h tm.texi (Misc): Document TARGET_INVALID_PARAMETER_TYPE... 2009-05-20 23:06:12 -04:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h re PR middle-end/39301 (ICE in register_overhead, at bitmap.c:115) 2009-05-16 15:42:15 -07:00
ifcvt.c re PR middle-end/40525 (if conversion (in dead_or_predicable) fails for targets with limited conditional execution support) 2009-06-26 06:06:04 +00:00
incpath.c
incpath.h
init-regs.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
input.h
insn-addr.h
insn-notes.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
integrate.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
integrate.h
intl.c intl.c (locale_encoding, [...]): New. 2009-05-04 13:23:50 +01:00
intl.h intl.c (locale_encoding, [...]): New. 2009-05-04 13:23:50 +01:00
ipa-cp.c function.h (struct function): Add cannot_be_copied_reason, and cannot_be_copied_set. 2009-06-26 11:23:32 -07:00
ipa-inline.c ipa-inline.c (cgraph_decide_inlining_incrementally): When optimizing for size, reduce amount of inlining. 2009-07-03 20:28:14 +00:00
ipa-prop.c re PR tree-optimization/40323 (compiling just takes forever and doesn't really process) 2009-06-03 13:56:05 +02:00
ipa-prop.h cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
ipa-pure-const.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
ipa-reference.c alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
ipa-reference.h
ipa-struct-reorg.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
ipa-struct-reorg.h
ipa-type-escape.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-type-escape.h
ipa-utils.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-utils.h re PR middle-end/40147 (Memory leak in revision 147436) 2009-05-14 08:45:32 -07:00
ipa.c cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node. 2009-05-10 15:11:01 +00:00
ira-build.c ira-build.c (copy_info_to_removed_store_destinations): Initialize parent_a. 2009-06-16 20:25:30 +00:00
ira-color.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-conflicts.c ira-conflicts.c (add_insn_allocno_copies): Fix wrong conditional. 2009-05-15 20:05:36 +00:00
ira-costs.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
ira-emit.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-int.h re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-lives.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
ira.c re PR target/40587 (Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827) 2009-07-03 22:36:31 +00:00
ira.h
jump.c re PR debug/40462 (ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb) 2009-07-01 21:25:52 +02:00
lambda-code.c
lambda-mat.c
lambda-trans.c
lambda.h
langhooks-def.h cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
langhooks.c cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
langhooks.h cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
LANGUAGES ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
lcm.c
libfuncs.h
libgcc2.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcc2.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcc-std.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
libgcov.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
limitx.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
limity.h
lists.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
longlong.h
loop-doloop.c
loop-init.c
loop-invariant.c re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 07:51:46 +00:00
loop-iv.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
loop-unroll.c loop-unroll.c (struct iv_to_split): Add pointer to next. 2009-06-02 17:47:33 +00:00
loop-unswitch.c
lower-subreg.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
machmode.def
machmode.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
main.c re PR other/31567 (cc1, cc1plus, etc. don't support @file mechanism) 2009-04-17 17:11:46 -04:00
Makefile.in re PR libstdc++/37907 ([c++0x] support for std::is_standard_layout) 2009-07-16 16:36:10 -04:00
matrix-reorg.c tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 21:44:39 +02:00
mcf.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
mips-tdump.c alpha.c (alpha_initialize_trampoline): Change 0 to LCT_NORMAL in function call. 2009-05-14 10:10:23 +00:00
mips-tfile.c gstab.h (stab_code_type): Define, to be used instead of the __stab_debug_code enum, made anonymous. 2009-05-20 12:44:44 +00:00
mkconfig.sh
mkmap-flat.awk
mkmap-symver.awk
mode-classes.def
mode-switching.c
modulo-sched.c modulo-sched.c (sms_schedule): stage_count <= 1 as correct comparison to skip unprofitable schedule 2009-07-16 16:20:28 +00:00
omega.c alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
omega.h alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
omp-builtins.def
omp-low.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
ONEWS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
opt-functions.awk
opt-gather.awk
optabs.c dojump.c (do_compare_rtx_and_jump): Try swapping the condition for floating point modes. 2009-06-28 17:03:03 +00:00
optabs.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
optc-gen.awk
opth-gen.awk common.opt (gdwarf-): Accept a version number. 2009-06-11 20:08:11 -07:00
opts-common.c
opts.c see removal 2009-06-18 16:08:00 +00:00
opts.h
output.h tree.h (CONSTRUCTOR_BITFIELD_P): True if NODE... 2009-06-01 14:42:56 +00:00
params.c
params.def * params.def: Revert my accidental commit at 2009-06-30. 2009-07-06 09:37:01 +00:00
params.h 2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-06-08 16:00:13 +00:00
passes.c Give names to some currently nameless passes (this 2009-07-07 14:52:01 +00:00
plugin.c plugin.c (try_init_one_plugin): passes RTLD_GLOBAL to dlopen. 2009-07-09 17:57:14 +00:00
plugin.h 2009-05-13 Taras Glek <tglek@mozilla.com> 2009-05-14 01:38:33 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c
postreload.c re PR rtl-optimization/30807 (postreload bug (might be generic in trunk)) 2009-07-06 13:28:22 +00:00
predict.c cgraph.c (dump_cgraph_node): Dump size/time/benefit. 2009-05-25 21:59:24 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c pretty-print.c (pp_base_format): Remove %J. 2009-07-07 15:29:12 +00:00
pretty-print.h pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
print-rtl.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
print-tree.c re PR middle-end/38212 (restrict implementation causes wrong-code) 2009-06-29 12:20:39 +00:00
profile.c profile.c (total_num_never_executed): Don't define. 2009-06-17 20:23:57 +00:00
profile.h
read-rtl.c
README.Portability
real.c real.c (encode_ieee_half): Define. 2009-05-15 10:22:58 -04:00
real.h builtins.c (do_mpc_arg2): New. 2009-07-16 17:46:30 +00:00
recog.c MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
recog.h MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
reg-notes.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
reg-stack.c re PR target/39856 (ICE in subst_stack_regs_pat, at reg-stack.c:1386) 2009-05-22 19:00:45 +00:00
regcprop.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
reginfo.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
regmove.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
regrename.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
regs.h
regstat.c regstat.c (regstat_n_sets_and_refs): Remove duplicate definition. 2009-05-31 23:11:51 +00:00
reload1.c target.h (struct gcc_target): Add frame_pointer_required field. 2009-06-30 02:51:04 +04:00
reload.c reload.c (alternative_allows_const_pool_ref): Mark mem parameter with ATTRIBUTE_UNUSED. 2009-06-23 22:11:22 +00:00
reload.h
reorg.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
resource.c re PR rtl-optimization/40710 (Linux kernel miscompiled for sh4-linux) 2009-07-15 21:32:46 +00:00
resource.h resource.c (mark_referenced_resources): Change include_delayed_effects parameter to bool. 2009-06-16 18:55:20 +00:00
rtl-error.c
rtl.c var-tracking.c (unshare_variable): Force initialized to be VAR_INIT_STATUS_INITIALIZED unless flag_var_tracking_uninit. 2009-06-23 16:32:59 +02:00
rtl.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
rtl.h * rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int. 2009-06-19 15:53:07 +00:00
rtlanal.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
sched-deps.c
sched-ebb.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-int.h haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-rgn.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-vis.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
sdbout.c * sdbout.c (sdbout_one_type): Fix braces in switch. 2009-06-23 10:19:18 +00:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sel-sched-ir.h 20071210-2.c: New testcase. 2009-04-28 14:01:52 +04:00
sel-sched.c sel-sched.c: Make forward declarations of move_op_hooks and fur_hooks explicitly extern. 2009-06-16 19:09:35 +00:00
sel-sched.h
simplify-rtx.c simplify-rtx.c (simplify_binary_operation_1): Transform (and (truncate)) into (truncate (and)). 2009-07-09 05:43:56 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
stab.def
stack-ptr-mod.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
statistics.c statistics.c (statistics_counter_event): Do not record event in pass dump if its number == -1. 2009-06-03 18:36:47 +04:00
statistics.h
stmt.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
stor-layout.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
store-motion.c * store-motion.c Do not include params.h 2009-05-14 20:14:18 +00:00
stringpool.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
stub-objc.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
sync-builtins.def
system.h target.h (struct gcc_target): Add frame_pointer_required field. 2009-06-30 02:51:04 +04:00
target-def.h targhooks.c (default_target_can_inline_p): Rename from default_target_option_can_inline_p. 2009-07-10 01:03:01 -04:00
target.h target.h (struct gcc_target): Add frame_pointer_required field. 2009-06-30 02:51:04 +04:00
targhooks.c targhooks.c (default_target_can_inline_p): Rename from default_target_option_can_inline_p. 2009-07-10 01:03:01 -04:00
targhooks.h targhooks.c (default_target_can_inline_p): Rename from default_target_option_can_inline_p. 2009-07-10 01:03:01 -04:00
timevar.c
timevar.def re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
timevar.h df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tlink.c
toplev.c plugins.texi: Document PLUGIN_START_UNIT. 2009-06-29 21:17:40 +00:00
toplev.h toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static inline, not extern inline. 2009-06-16 16:55:41 +00:00
tracer.c
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-cfg.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-cfgcleanup.c tree-eh.c (tree_remove_unreachable_handlers): Handle shared labels. 2009-04-25 09:02:05 +00:00
tree-chrec.c re PR middle-end/34163 (10% performance regression since Nov 1 on Polyhedron's "NF" on AMD64) 2009-07-03 14:11:14 +00:00
tree-chrec.h re PR middle-end/40460 (Enormous memory usage during compilation with -O2 or -O3 optimizations.) 2009-06-17 10:26:24 +00:00
tree-complex.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-data-ref.c re PR tree-optimization/40254 (SPEC2006 403.gcc miscompares) 2009-05-28 09:02:53 +00:00
tree-data-ref.h passes.texi (Tree-SSA passes): Document SLP pass. 2009-05-24 08:44:56 +00:00
tree-dfa.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-dump.c re PR testsuite/40488 (Revision 148642 caused extra failures) 2009-06-18 16:27:40 -07:00
tree-dump.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
tree-eh.c except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl. 2009-06-15 14:27:18 +00:00
tree-flow-inline.h tree-flow.h (insert_edge_copies_seq): Undeclare. 2009-05-20 12:18:10 +02:00
tree-flow.h tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-if-conv.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-inline.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-inline.h cgraphunit.c (cgraph_finalize_compilation_unit): Call finalize_size_functions before further processing. 2009-06-30 17:26:32 +00:00
tree-into-ssa.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-iterator.c tree-iterator.c (expr_only): Remove. 2009-04-18 11:47:22 +00:00
tree-iterator.h tree-iterator.c (tsi_split_statement_list_after, [...]): Remove. 2009-04-16 18:50:07 +00:00
tree-loop-distribution.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-loop-linear.c
tree-mudflap.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-mudflap.h
tree-nested.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-nomudflap.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
tree-nrv.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-object-size.c tree-object-size.c (addr_object_size): Instead of checking for non-NULL TREE_CHAIN of the FIELD_DECL check that there... 2009-06-23 16:27:04 +02:00
tree-optimize.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-outof-ssa.c re PR middle-end/39976 (Big sixtrack degradation on powerpc 32/64 after revision r146817) 2009-05-13 20:14:44 +00:00
tree-parloops.c tree-parloops.c (loop_parallel_p): Call vect_is_simple_reduction with additional argument. 2009-07-12 07:09:07 +00:00
tree-pass.h re PR testsuite/40488 (Revision 148642 caused extra failures) 2009-06-18 16:27:40 -07:00
tree-phinodes.c
tree-predcom.c re PR tree-optimization/40421 (Revision 148352 failed 416.gamess in SPEC CPU 2006) 2009-06-13 17:02:17 +00:00
tree-pretty-print.c tree-pretty-print.c (dump_generic_node): Protect against NULL op0. 2009-07-06 13:04:34 -04:00
tree-profile.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-scalar-evolution.c tree-scalar-evolution.c (follow_ssa_edge_expr): Turn into CASE_CONVERT. 2009-05-19 19:14:42 +00:00
tree-scalar-evolution.h
tree-sra.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-address.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
tree-ssa-alias.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-ssa-alias.h tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-ssa-ccp.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-coalesce.c tree-ssa-coalesce.c (coalesce_cost): Do not take ciritical parameter; update callers. 2009-05-02 11:00:59 +00:00
tree-ssa-copy.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-copyrename.c re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
tree-ssa-dce.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
tree-ssa-dom.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-dse.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-forwprop.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-ifcombine.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-live.c tree-ssa-live.c (remove_unused_locals): Do not remove heap variables. 2009-07-02 10:18:24 +00:00
tree-ssa-live.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
tree-ssa-loop-ch.c
tree-ssa-loop-im.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-loop-ivcanon.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
tree-ssa-loop-ivopts.c tree-ssa-loop-ivopts.c (strip_offset_1): New case. 2009-05-29 19:25:04 +00:00
tree-ssa-loop-manip.c re PR tree-optimization/40496 (ICE in verify_stmts with -fprefetch-loop-arrays) 2009-07-10 11:45:40 +00:00
tree-ssa-loop-niter.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
tree-ssa-loop-prefetch.c 2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-06-09 17:00:31 +00:00
tree-ssa-loop-unswitch.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-loop.c basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
tree-ssa-math-opts.c re PR middle-end/40501 (error: invalid conversion in gimple call) 2009-06-24 07:01:24 +00:00
tree-ssa-operands.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-ssa-operands.h tree-ssa-operands.h (push_stmt_changes, [...]): Delete. 2009-05-24 11:20:29 +00:00
tree-ssa-phiopt.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-phiprop.c common.opt (-ftree-forwprop, [...]): New options, enabled by default. 2009-05-15 12:26:48 +00:00
tree-ssa-pre.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
tree-ssa-propagate.c tree-ssa-operands.h (push_stmt_changes, [...]): Delete. 2009-05-24 11:20:29 +00:00
tree-ssa-propagate.h tree-ssa-propagate.c (stmt_makes_single_load): Remove. 2009-04-16 18:48:16 +00:00
tree-ssa-reassoc.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-ssa-sccvn.c bitmap.c (bitmap_clear): Don't declare as inline. 2009-06-16 16:46:31 +00:00
tree-ssa-sccvn.h tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 21:44:39 +02:00
tree-ssa-sink.c tree-ssa-sink.c (statement_sink_location): Stop sinking expression if the target bb post dominates from bb. 2009-06-30 06:51:29 +00:00
tree-ssa-structalias.c tree-ssa-structalias.c (make_constraint_from_heapvar): Initialize offset member. 2009-07-15 10:01:42 +00:00
tree-ssa-ter.c ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
tree-ssa-threadedge.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-threadupdate.c
tree-ssa-uncprop.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-ssanames.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-stdarg.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-stdarg.h
tree-switch-conversion.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-tailcall.c re PR middle-end/40669 (ICE in gimple_assign_set_rhs1 from eliminate_tail_call) 2009-07-07 14:18:38 +02:00
tree-vect-data-refs.c misaligned store support 2009-06-05 15:28:50 +00:00
tree-vect-generic.c re PR tree-optimization/40550 (Segmentation fault caused by alignment error in sse code) 2009-06-28 20:33:54 +02:00
tree-vect-loop-manip.c re PR tree-optimization/39129 (The meaning of 'BB' in "too many BBs in loop") 2009-06-01 08:15:01 +00:00
tree-vect-loop.c tree-vect-loop.c (get_initial_def_for_reduction): Ensure that the checks access only relevant statements. 2009-07-13 12:27:32 +00:00
tree-vect-patterns.c tree-parloops.c (loop_parallel_p): Call vect_is_simple_reduction with additional parameter. 2009-06-16 07:21:12 +00:00
tree-vect-slp.c re PR tree-optimization/39129 (The meaning of 'BB' in "too many BBs in loop") 2009-06-01 08:15:01 +00:00
tree-vect-stmts.c tree-parloops.c (loop_parallel_p): Call vect_is_simple_reduction with additional argument. 2009-07-12 07:09:07 +00:00
tree-vectorizer.c tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't mark phis for renaming. 2009-05-31 10:43:38 +00:00
tree-vectorizer.h tree-parloops.c (loop_parallel_p): Call vect_is_simple_reduction with additional argument. 2009-07-12 07:09:07 +00:00
tree-vrp.c tree-vrp.c (vrp_evaluate_conditional): Mark strings for translation. 2009-07-14 22:21:17 +00:00
tree.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree.def re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
tree.h re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
treestruct.def tree.c: Include debug.h. 2009-07-06 13:06:26 -04:00
tsystem.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
typeclass.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-c.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-compat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-compat.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-compat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-darwin.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde-glibc.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-generic.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-pe.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-sjlj.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind.inc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
value-prof.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
value-prof.h
var-tracking.c var-tracking.c (unshare_variable): Force initialized to be VAR_INIT_STATUS_INITIALIZED unless flag_var_tracking_uninit. 2009-06-23 16:32:59 +02:00
varasm.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
varpool.c
varray.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
varray.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
vec.c df-problems.c (df_byte_lr_alloc): Don't set problem_data to itself. 2009-06-16 19:01:18 +00:00
vec.h vec.h (VEC_stack_alloc): Define different version if GATHER_STATISTICS is defined... 2009-06-17 00:10:23 +00:00
vecprim.h
version.c ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
version.h
vmsdbg.h
vmsdbgout.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
web.c
xcoff.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
xcoffout.c dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
xcoffout.h dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00

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.