gcc/gcc
Szabolcs Nagy ddda05980f [AArch64][PR 66136] rewrite geniterators.sh in awk
2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	PR target/66136
	* config/aarch64/geniterators.sh: Rewrite in awk.

From-SVN: r224031
2015-06-02 16:21:18 +00:00
..
ada * gcc-interface/Makefile.in: Fix ARM/Darwin configuration. 2015-06-01 09:16:55 +00:00
c Makefile.in (check_gcc_parallelize): Delete. 2015-05-22 16:39:06 -07:00
c-family re PR c++/44282 (fastcall is not mangled at all) 2015-06-01 22:28:19 -04:00
common rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK): Define. 2015-05-20 10:56:28 +09:30
config [AArch64][PR 66136] rewrite geniterators.sh in awk 2015-06-02 16:21:18 +00:00
cp re PR c++/61683 (decltype-specifier not accepted as mem-initializer-id) 2015-06-02 10:28:14 +00:00
doc testsuite: auto-wipe dump files 2015-05-29 10:20:29 +02:00
fortran trans-stmt.c (gfc_trans_allocate): Add missing location information for e3rhs. 2015-05-27 10:48:51 +02:00
ginclude
go compiler: If unary & does not escape, the var does not escape. 2015-05-12 22:13:01 +00:00
java libcpp: Eliminate most of the non-const/reference-returning inline fns 2015-05-20 09:13:19 +00:00
jit Unbreak the JIT after conversion of md_asm_adjust to use vec<> 2015-05-12 17:19:54 +00:00
lto LTO balanced map: add stats about insns and symbols. 2015-05-27 13:17:13 +00:00
objc Makefile-lan.in (ada.mostlyclean): Remove gnatbind and gnat1. 2015-04-27 15:59:06 -07:00
objcp Makefile-lan.in (ada.mostlyclean): Remove gnatbind and gnat1. 2015-04-27 15:59:06 -07:00
po * sv.po: Update. 2015-06-01 14:43:13 +01:00
testsuite re PR debug/65549 (crash in htab_hash_string with -flto -g) 2015-06-02 12:33:02 +00:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4 gcc: Bump to automake 1.11.6 2015-05-13 10:32:56 +00:00
addresses.h
alias.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
alias.h alias.c (alias_stats): New static var. 2015-05-21 15:51:59 +00:00
alloc-pool.c Remove old pool allocator. 2015-06-01 12:54:05 +00:00
alloc-pool.h Pool allocator fallout: fix uninialized class members. 2015-06-02 14:10:17 +00:00
asan.c Change use to type-based pool allocator in asan.c. 2015-06-01 12:37:26 +00:00
asan.h asan.c (set_sanitized_sections): New function. 2015-04-17 07:51:02 +00:00
attribs.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
attribs.h
auto-inc-dec.c
auto-profile.c auto-profile.c (afdo_calculate_branch_prob): Break once has_sample is true. 2015-05-27 09:06:25 -06:00
auto-profile.h
BASE-VER * BASE-VER: Set to 6.0.0. 2015-04-12 21:46:43 +02:00
basic-block.h
bb-reorder.c re PR rtl-optimization/66237 (FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE (internal compiler error)) 2015-05-22 22:58:22 +00:00
bb-reorder.h
bitmap.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
bitmap.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
bt-load.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
builtin-attrs.def
builtin-types.def [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-02-24 18:00:36 +01:00
builtins.c Mark parameters with ATTRIBUTE_UNUSED 2015-05-28 04:41:34 -07:00
builtins.def builtins.def (DEF_BUILTIN_CHKP): Define if not defined. 2015-02-04 15:26:16 +01:00
builtins.h insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
caller-save.c caller-save.c (init_caller_save): Base temporary register numbers on LAST_VIRTUAL_REGISTER + 1 rather than... 2015-05-26 11:02:27 +00:00
calls.c [expr.c] PR target/65358 Avoid clobbering partial argument during sibcall 2015-05-27 13:25:01 +00:00
calls.h
ccmp.c
ccmp.h
cfg-flags.def
cfg.c Change use to type-based pool allocator in cfg.c. 2015-06-01 12:38:23 +00:00
cfg.h
cfganal.c
cfganal.h
cfgbuild.c
cfgbuild.h
cfgcleanup.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
cfgcleanup.h
cfgexpand.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
cfgexpand.h
cfghooks.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
cfghooks.h cfghooks.h (create_basic_block): Replace with two overloads for RTL and GIMPLE. 2015-04-21 11:40:46 +00:00
cfgloop.c cfgexpand.c (expand_gimple_stmt_1): Use ops.code. 2015-04-23 08:30:04 +00:00
cfgloop.h re PR tree-optimization/48052 (loop not vectorized if index is "unsigned int") 2015-06-02 10:19:18 +00:00
cfgloopanal.c caller-save.c (init_caller_save): Base temporary register numbers on LAST_VIRTUAL_REGISTER + 1 rather than... 2015-05-26 11:02:27 +00:00
cfgloopmanip.c
cfgloopmanip.h
cfgrtl.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
cfgrtl.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
cgraph.c gimplify.c (gimplify_modify_expr_rhs): Use simple test on the size. 2015-06-01 20:49:18 +00:00
cgraph.h Fix spurious semicolons 2015-04-30 21:07:45 +00:00
cgraphbuild.c
cgraphclones.c lto-cgraph.c (lto_output_node, [...]): Stream split_part. 2015-04-02 05:14:26 +00:00
cgraphunit.c ipa-utils.h (method_class_type): Remove. 2015-05-24 06:13:44 +00:00
ChangeLog [AArch64][PR 66136] rewrite geniterators.sh in awk 2015-06-02 16:21:18 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
chkp-builtins.def
cif-code.def * cif-code.def (CILK_SPAWN): New code. 2015-03-26 21:10:28 +00:00
cilk-builtins.def
cilk-common.c
cilk.h
cilkplus.def
collect2-aix.c
collect2-aix.h
collect2.c Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
collect2.h
collect-utils.c Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
collect-utils.h
combine-stack-adj.c always define STACK_GROWS_DOWNWARD 2015-05-22 01:03:11 +00:00
combine.c combine.c (find_split_point): Verify that the shift count is a constant when... 2015-05-26 22:59:42 -06:00
common.md
common.opt re PR c++/44282 (fastcall is not mangled at all) 2015-06-01 22:28:19 -04:00
compare-elim.c rtl.h (always_void_p): New function. 2015-05-07 16:58:46 +00:00
conditions.h Re: [PATCH 02/12] remove some ifdef HAVE_cc0. 2015-04-23 10:34:58 +00:00
config.build
config.gcc S390: Support -mtune=native and -march=native. 2015-06-01 11:38:44 +00:00
config.host S390: Support -mtune=native and -march=native. 2015-06-01 11:38:44 +00:00
config.in read-rtl.c: Adapt to use HAVE_DECL_ATOLL instead of HAVE_ATOLL. 2015-06-01 21:46:17 +02:00
configure Check CXXFLAGS, instead of CFLAGS, for NO_PIE_CFLAGS 2015-05-31 05:06:06 -07:00
configure.ac Check CXXFLAGS, instead of CFLAGS, for NO_PIE_CFLAGS 2015-05-31 05:06:06 -07:00
context.c
context.h
convert.c convert.c (convert_to_integer, [...]): Include the types in the error message. 2015-05-22 20:59:27 +00:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h re PR target/65697 (__atomic memory barriers not strong enough for __sync builtins) 2015-05-12 20:01:47 +00:00
coverage.c Patch by Richard Biener 2015-05-11 02:48:49 +00:00
coverage.h
cppbuiltin.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
cse.c regs.h (END_HARD_REGNO): Delete. 2015-05-19 07:11:18 +00:00
cselib.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
cselib.h Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
cstamp-h.in
data-streamer-in.c passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table. 2015-02-26 13:26:11 +01:00
data-streamer-out.c
data-streamer.c
data-streamer.h
DATESTAMP Daily bump. 2015-06-02 00:16:15 +00:00
dbgcnt.c
dbgcnt.def dbgcnt: enhance behavior. 2015-05-18 09:03:28 +00:00
dbgcnt.h
dbxout.c dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03 and DW_LANG_Fortran08. 2015-02-04 23:38:48 +01:00
dbxout.h
dce.c
dce.h
ddg.c
ddg.h
debug.c
debug.h
defaults.h Add --enable-default-pie option to GCC configure 2015-05-27 19:36:55 -07:00
DEV-PHASE
df-core.c df-core.c (df_finish_pass): Iterate over df->problems_by_index[] and use df_remove_problem rather than... 2015-04-21 10:23:25 +00:00
df-problems.c Change use to type-based pool allocator in 2015-06-01 12:40:47 +00:00
df-scan.c df-scan.c (df_scan_start_dump): Add space between regno and regname. 2015-06-02 12:27:31 +02:00
df.h Change use to type-based pool allocator in 2015-06-01 12:40:47 +00:00
dfp.c
dfp.h
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
diagnostic.c diagnostic.c (diagnostic_print_caret_line): Fix off-by-one error when printing the caret character. 2015-05-20 15:58:15 +00:00
diagnostic.def
diagnostic.h re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
dojump.c caller-save.c (init_caller_save): Base temporary register numbers on LAST_VIRTUAL_REGISTER + 1 rather than... 2015-05-26 11:02:27 +00:00
dojump.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
dominance.c Change use to type-based pool allocator in et-forest.c. 2015-06-01 12:33:23 +00:00
dominance.h
domwalk.c
domwalk.h
double-int.c
double-int.h
dse.c Change use to type-based pool allocator in dse.c. 2015-06-01 12:41:48 +00:00
dumpfile.c
dumpfile.h
dwarf2asm.c Fix indentation issues seen by -Wmisleading-indentation 2015-05-05 19:41:11 +00:00
dwarf2asm.h
dwarf2cfi.c remove most ifdef STACK_GROWS_DOWNWARD 2015-05-22 01:03:42 +00:00
dwarf2out.c re PR debug/65549 (crash in htab_hash_string with -flto -g) 2015-06-02 12:33:02 +00:00
dwarf2out.h
emit-rtl.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
emit-rtl.h function.h (struct emit_status): Delete x_first_insn, x_last_insn and sequence_stack. 2015-04-15 15:35:44 +09:30
errors.c
errors.h
et-forest.c Change use to type-based pool allocator in et-forest.c. 2015-06-01 12:33:23 +00:00
et-forest.h Change use to type-based pool allocator in et-forest.c. 2015-06-01 12:33:23 +00:00
except.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
except.h insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
exec-tool.in
explow.c remove most ifdef STACK_GROWS_DOWNWARD 2015-05-22 01:03:42 +00:00
explow.h insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
expmed.c expmed.c (extract_bit_field_1): Avoid clobbering a yet-to-be-used base/index register. 2015-05-30 02:05:54 -04:00
expmed.h
expr.c expr.h (array_at_struct_end_p): Move to... 2015-05-27 18:00:15 +00:00
expr.h expr.h (array_at_struct_end_p): Move to... 2015-05-27 18:00:15 +00:00
fibonacci_heap.h Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
file-find.c
file-find.h
final.c always define HAVE_peephole 2015-05-22 01:04:24 +00:00
fixed-value.c
fixed-value.h
flag-types.h c-ubsan.c (ubsan_instrument_bounds): Don't skip instrumenting flexible member array-like members if... 2015-05-07 08:08:57 +00:00
flags.h
fold-const.c fold-const.c (fold_binary_loc): Move X % -Y -> X % Y and X % C -> X & (C - 1) for C being a power-of two to ... 2015-05-26 12:00:48 +00:00
fold-const.h
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
function.h make set_return_jump_label take an rtx_insn * 2015-05-02 21:06:59 +00:00
fwprop.c
gcc-ar.c
gcc-main.c PR jit/64810: driver, arm, jit: configure-time default options 2015-02-03 17:19:58 +00:00
gcc-plugin.h
gcc-symtab.h
gcc.c Add --enable-default-pie option to GCC configure 2015-05-27 19:36:55 -07:00
gcc.h PR jit/64810: driver, arm, jit: configure-time default options 2015-02-03 17:19:58 +00:00
gcov-counter.def
gcov-dump.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
gcov-io.c re PR gcov-profile/64123 (Instrumented Firefox segfaults on start) 2015-02-04 23:26:40 +00:00
gcov-io.h Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
gcov-iov.c
gcov-tool.c gcov-tool.c (do_merge): Refactore to remove int ret. 2015-05-07 19:57:11 +02:00
gcov.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
gcse-common.c re PR rtl-optimization/64317 (Ineffective allocation of PIC base register) 2015-03-22 23:21:04 -06:00
gcse-common.h re PR rtl-optimization/64317 (Ineffective allocation of PIC base register) 2015-03-22 23:21:04 -06:00
gcse.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
gcse.h
gdbasan.in
gdbhooks.py re PR other/65366 (gdbhooks.py is incompatible with Python3) 2015-06-02 07:37:22 +00:00
gdbinit.in * gdbinit.in (pcfun): Define and document. 2015-03-10 12:32:09 +00:00
gen-pass-instances.awk
genattr-common.c
genattr.c
genattrtab.c
genautomata.c
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c always define HAVE_lo_sum 2015-05-24 00:32:31 +00:00
genconstants.c
genemit.c rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
genenums.c
generic-match-head.c generic-match-head.c (types_match): Handle non-types. 2015-05-14 14:45:33 +00:00
generic-match.h
genextract.c
genflags.c
gengenrtl.c rtl.h (PUT_MODE_RAW): New macro. 2015-05-19 07:10:30 +00:00
gengtype-lex.l
gengtype-parse.c
gengtype-state.c
gengtype.c rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
gengtype.h
genhooks.c
genmatch.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
genmddeps.c
genmddump.c
genmodes.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
genmultilib
genopinit.c
genoutput.c
genpeep.c always define HAVE_peephole 2015-05-22 01:04:24 +00:00
genpreds.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
genrecog.c genrecog: Address -Wsign-compare diagnostics. 2015-05-21 08:46:55 +02:00
gensupport.c gensupport.h (compute_test_codes): Declare. 2015-05-26 11:01:42 +00:00
gensupport.h gensupport.h (compute_test_codes): Declare. 2015-05-26 11:01:42 +00:00
ggc-common.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
ggc-internal.h
ggc-none.c
ggc-page.c Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
ggc.h
gimple-builder.c
gimple-builder.h
gimple-expr.c expr.c (expand_cond_expr_using_cmove): Use COMPARISON_CLASS_P. 2015-05-20 11:46:00 +00:00
gimple-expr.h gimple-expr.h (is_gimple_constant): Reorder. 2015-05-13 12:36:47 +00:00
gimple-fold.c re PR middle-end/66345 (internal compiler error: Segmentation fault) 2015-06-02 09:13:29 +00:00
gimple-fold.h gimple-fold.h (gimple_build): Remove optional valueize arguments. 2015-04-20 13:23:59 +00:00
gimple-iterator.c Postpone expanding va_arg until pass_stdarg 2015-04-17 09:26:59 +00:00
gimple-iterator.h Postpone expanding va_arg until pass_stdarg 2015-04-17 09:26:59 +00:00
gimple-low.c
gimple-low.h
gimple-match-head.c generic-match-head.c (types_match): Handle non-types. 2015-05-14 14:45:33 +00:00
gimple-match.h re PR tree-optimization/65650 (CCP does not propgate copies) 2015-04-21 12:52:43 +00:00
gimple-pretty-print.c
gimple-pretty-print.h
gimple-ssa-isolate-paths.c
gimple-ssa-strength-reduction.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
gimple-ssa.h
gimple-streamer-in.c re PR lto/65536 (LTO line number information garbled) 2015-03-27 06:58:59 +00:00
gimple-streamer-out.c
gimple-streamer.h
gimple-walk.c gimple-walk.c #include TLC 2015-04-29 12:45:31 +02:00
gimple-walk.h
gimple.c Convert to md_asm_adjust 2015-05-11 16:33:23 -07:00
gimple.def
gimple.h gimple.h (gimple_expr_type): Refactor to make it concise. 2015-05-22 09:10:29 +00:00
gimplify-me.c
gimplify-me.h
gimplify.c gimplify.c (gimplify_modify_expr): Do not create a DECL_DEBUG_EXPR if the target doesn't belong to the current... 2015-06-02 09:47:02 +00:00
gimplify.h Gimplify va_arg ap based on do_deref 2015-05-13 09:06:18 +00:00
glimits.h
godump.c
graph.c graph.c (print_graph_cfg): Make function names visible and append parenthesis to it. 2015-03-13 09:45:48 +00:00
graph.h
graphds.c
graphds.h
graphite-blocking.c
graphite-dependences.c
graphite-interchange.c
graphite-isl-ast-to-gimple.c
graphite-isl-ast-to-gimple.h
graphite-optimize-isl.c
graphite-poly.c
graphite-poly.h
graphite-scop-detection.c graphite-scop-detection.c: Do not include cp/cp-tree.h. 2015-04-14 12:33:57 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c
graphite-sese-to-poly.h
graphite.c
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c bitmap.c (bitmap_set_range): Handle count==1 specially. 2015-05-19 07:11:37 +00:00
hard-reg-set.h remove need for store_values_directly 2015-04-18 18:13:18 +00:00
hash-map-traits.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
hash-map.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
hash-set.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
hash-table.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
hash-table.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
highlev-plugin-common.h
hooks.c Convert to md_asm_adjust 2015-05-11 16:33:23 -07:00
hooks.h Convert to md_asm_adjust 2015-05-11 16:33:23 -07:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c
hw-doloop.h
hwint.c
hwint.h
ifcvt.c always define HAVE_conditional_move 2015-05-22 01:04:09 +00:00
ifcvt.h
inchash.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
inchash.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
incpath.c Convert to md_asm_adjust 2015-05-11 16:33:23 -07:00
incpath.h
init-regs.c
input.c Replace line_map union with C++ class hierarchy 2015-05-19 13:18:01 +00:00
input.h libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations) 2015-05-13 13:58:18 +00:00
insn-addr.h
insn-notes.def insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
internal-fn.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
internal-fn.def Mark ifn_va_arg as ECF_LEAF 2015-04-26 07:13:13 +00:00
internal-fn.h
intl.c
intl.h
ipa-chkp.c re PR middle-end/66221 (lto1: error: type variant has different TYPE_ARG_TYPES) 2015-05-21 08:32:52 +00:00
ipa-chkp.h ipa-chkp.h (chkp_wrap_function): New. 2015-05-15 09:48:13 +00:00
ipa-comdats.c ipa-comdats.c (propagate_comdat_group): Walk through thunks. 2015-04-08 13:45:20 +00:00
ipa-cp.c Change use to type-based pool allocator in ipa-prop.c 2015-06-01 12:50:36 +00:00
ipa-devirt.c re PR lto/66180 (many -Wodr false positives when building LLVM with -flto) 2015-05-24 19:38:14 +00:00
ipa-icf-gimple.c re PR ipa/65765 (Compiling Firefox with GCC 5 leads to broken javascript engine on x86-64) 2015-04-15 13:47:44 +02:00
ipa-icf-gimple.h IPA ICF: enhance hash value calculated in TU 2015-03-24 21:51:08 +00:00
ipa-icf.c ipa-utils.h (method_class_type): Remove. 2015-05-24 06:13:44 +00:00
ipa-icf.h ipa-icf.c (sem_function::equals_wpa): Compare thunk info. 2015-04-24 00:58:25 +00:00
ipa-inline-analysis.c Change use to type-based pool allocator in 2015-06-01 12:49:51 +00:00
ipa-inline-transform.c re PR middle-end/65743 (LTO+FDO build of Firefox crashes at startup) 2015-04-12 05:44:52 +00:00
ipa-inline.c re PR ipa/65873 (Failure to inline always_inline memcpy) 2015-05-13 02:54:50 +00:00
ipa-inline.h lto-cgraph.c (lto_output_node, [...]): Stream split_part. 2015-04-01 07:41:17 +00:00
ipa-polymorphic-call.c * ipa-polymorphic-call.c 2015-05-27 04:37:48 +00:00
ipa-profile.c Change use to type-based pool allocator in 2015-06-01 12:48:40 +00:00
ipa-prop.c Change use to type-based pool allocator in ipa-prop.c 2015-06-01 12:50:36 +00:00
ipa-prop.h Change use to type-based pool allocator in ipa-prop.c 2015-06-01 12:50:36 +00:00
ipa-pure-const.c re PR ipa/65076 (16% tramp3d-v4.cpp compile time regression) 2015-03-27 04:02:28 +00:00
ipa-ref.c re PR bootstrap/65150 (r220875 causes bootstrap failure on x86_64 darwin) 2015-02-27 02:06:48 +00:00
ipa-ref.h re PR lto/64693 (PCH failed with --with-build-config=bootstrap-lto) 2015-02-26 20:21:38 +00:00
ipa-reference.c Fix IPA memory leaks. 2015-04-17 13:56:15 +00:00
ipa-reference.h
ipa-split.c tree-chkp.h (chkp_insert_retbnd_call): New. 2015-04-08 10:44:59 +00:00
ipa-utils.c re PR ipa/64872 (ICE: Segmentation fault during Chromium PGO build) 2015-02-01 18:46:14 +00:00
ipa-utils.h ipa-utils.h (method_class_type): Remove. 2015-05-24 06:13:44 +00:00
ipa-visibility.c re PR bootstrap/65150 (r220875 causes bootstrap failure on x86_64 darwin) 2015-02-27 02:06:48 +00:00
ipa.c ipa-utils.h (method_class_type): Remove. 2015-05-24 06:13:44 +00:00
ira-build.c Change use to type-based pool allocator in ira-build.c. 2015-06-01 12:51:12 +00:00
ira-color.c Change use to type-based pool allocator in ira-color.c. 2015-06-01 12:36:01 +00:00
ira-conflicts.c
ira-costs.c re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to floating-point registers) 2015-05-14 20:40:44 +00:00
ira-emit.c
ira-int.h
ira-lives.c rtl.h (REG_NREGS): New macro 2015-05-19 07:09:06 +00:00
ira.c caller-save.c (init_caller_save): Base temporary register numbers on LAST_VIRTUAL_REGISTER + 1 rather than... 2015-05-26 11:02:27 +00:00
ira.h change more argument types to rtx_insn * 2015-05-09 04:17:00 +00:00
is-a.h
jump.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
langhooks-def.h
langhooks.c dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03 and DW_LANG_Fortran08. 2015-02-04 23:38:48 +01:00
langhooks.h dwarf2.h (enum dwarf_source_language): Add DW_LANG_Fortran03 and DW_LANG_Fortran08. 2015-02-04 23:38:48 +01:00
LANGUAGES
lcm.c
lcm.h
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh
loop-doloop.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
loop-init.c cfgexpand.c (expand_gimple_stmt_1): Use ops.code. 2015-04-23 08:30:04 +00:00
loop-invariant.c Fix PR66168 2015-05-28 02:15:03 +00:00
loop-iv.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
loop-unroll.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
loop-unroll.h
lower-subreg.c caller-save.c (init_caller_save): Base temporary register numbers on LAST_VIRTUAL_REGISTER + 1 rather than... 2015-05-26 11:02:27 +00:00
lower-subreg.h
lra-assigns.c re PR target/65710 (Thumb1 ICE caused by no register to spill) 2015-04-10 19:38:55 +00:00
lra-coalesce.c Change use to type-based pool allocator in lra-lives.c. 2015-06-01 12:34:31 +00:00
lra-constraints.c always define HAVE_lo_sum 2015-05-24 00:32:31 +00:00
lra-eliminations.c change more argument types to rtx_insn * 2015-05-09 04:17:00 +00:00
lra-int.h Change use to type-based pool allocator in lra.c. 2015-06-01 12:35:20 +00:00
lra-lives.c Change use to type-based pool allocator in lra-lives.c. 2015-06-01 12:34:31 +00:00
lra-remat.c re PR debug/65678 (internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:909) 2015-04-07 15:01:07 +00:00
lra-spills.c Change use to type-based pool allocator in lra-lives.c. 2015-06-01 12:34:31 +00:00
lra.c Change use to type-based pool allocator in lra.c. 2015-06-01 12:35:20 +00:00
lra.h
lto-cgraph.c ipa-chkp.h (chkp_wrap_function): New. 2015-05-15 09:48:13 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table. 2015-02-26 13:26:11 +01:00
lto-section-names.h
lto-section-out.c
lto-streamer-in.c re PR lto/65536 (LTO line number information garbled) 2015-03-27 06:58:59 +00:00
lto-streamer-out.c re PR lto/65515 (FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto -flto-partition=none (ICE) -- SIGSEGV for stack growth failure) 2015-03-25 10:58:18 +01:00
lto-streamer.c Add checking macro within lto_streamer_init. 2015-02-18 12:12:50 +00:00
lto-streamer.h remove need for store_values_directly 2015-04-18 18:13:18 +00:00
lto-wrapper.c re PR target/65527 (ICE: in expand_builtin_with_bounds, at builtins.c:7120 with -fcheck-pointer-bounds -mmpx) 2015-06-01 11:24:07 +00:00
machmode.def
machmode.h
main.c
Makefile.in Makefile.in: Pick up gcov-dump dependencies from gcc/ directory rather than from gcc/build... 2015-06-01 17:42:30 +01:00
match.pd fold-const.c (fold_binary_loc): Move X % -Y -> X % Y and X % C -> X & (C - 1) for C being a power-of two to ... 2015-05-26 12:00:48 +00:00
mcf.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
mem-stats-traits.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
mem-stats.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c rtl.h (REG_NREGS): New macro 2015-05-19 07:09:06 +00:00
modulo-sched.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
omega.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
omega.h
omp-builtins.def [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-02-24 18:00:36 +01:00
omp-low.c re PR middle-end/66199 (lastprivate/linear clause issues on combined constructs) 2015-05-19 18:16:15 +02:00
omp-low.h
ONEWS
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c provide default for HAVE_mem_signal_fence 2015-05-24 00:32:49 +00:00
optabs.def
optabs.h remove #if HAVE_conditional_move 2015-05-22 01:04:17 +00:00
optc-gen.awk
optc-save-gen.awk
opth-gen.awk
opts-common.c
opts-diagnostic.h
opts-global.c asan.c (set_sanitized_sections): New function. 2015-04-17 07:51:02 +00:00
opts.c Add --enable-default-pie option to GCC configure 2015-05-27 19:36:55 -07:00
opts.h
output.h always define HAVE_peephole 2015-05-22 01:04:24 +00:00
params.c
params.def [tree-ssa-math-opts] Expand pow (x, CONST) using square roots when possible 2015-05-13 15:26:14 +00:00
params.h Summary: Mark help string in DEFPARAM as no-c-format 2015-05-01 14:07:51 +00:00
pass_manager.h
passes.c Fix fdump-passes 2015-04-15 18:43:32 +00:00
passes.def re PR tree-optimization/66002 (paq8p benchmark 50% slower than clang on sandybridge) 2015-05-07 09:52:38 +00:00
plugin.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
plugin.def
plugin.h
postreload-gcse.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
postreload.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
predict.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
pretty-print.h re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
print-rtl.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
print-rtl.h
print-tree.c
print-tree.h
profile.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
profile.h
read-md.c
read-md.h
read-rtl.c read-rtl.c: Adapt to use HAVE_DECL_ATOLL instead of HAVE_ATOLL. 2015-06-01 21:46:17 +02:00
README.Portability
real.c * real.c (real_from_string): Fix typo in assertion. 2015-03-06 12:05:38 +00:00
real.h passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table. 2015-02-26 13:26:11 +01:00
realmpfr.c
realmpfr.h
recog.c move default for STACK_PUSH_CODE to defaults.h 2015-05-22 01:03:51 +00:00
recog.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
ree.c rtl.h (always_void_p): New function. 2015-05-07 16:58:46 +00:00
reg-notes.def
reg-stack.c regs.h (END_HARD_REGNO): Delete. 2015-05-19 07:11:18 +00:00
regcprop.c Change use to type-based pool allocator in regcprop.c. 2015-06-01 12:44:44 +00:00
regcprop.h
reginfo.c don't compare ARG_FRAME_POINTER_REGNUM and FRAME_POINTER_REGNUM with the preprocessor 2015-05-22 01:03:59 +00:00
regrename.c rtl.h (REG_NREGS): New macro 2015-05-19 07:09:06 +00:00
regrename.h
regs.h regs.h (END_HARD_REGNO): Delete. 2015-05-19 07:11:18 +00:00
regset.h
regstat.c
reload1.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
reload.c don't compare ARG_FRAME_POINTER_REGNUM and FRAME_POINTER_REGNUM with the preprocessor 2015-05-22 01:03:59 +00:00
reload.h gcov-tool.c (do_merge): Refactore to remove int ret. 2015-05-07 19:57:11 +02:00
reorg.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
resource.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
resource.h
rtl-chkp.c
rtl-chkp.h
rtl-error.c
rtl-error.h
rtl-iter.h
rtl.c rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
rtl.def rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
rtl.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
rtlanal.c don't compare ARG_FRAME_POINTER_REGNUM and FRAME_POINTER_REGNUM with the preprocessor 2015-05-22 01:03:59 +00:00
rtlhash.c
rtlhash.h
rtlhooks-def.h
rtlhooks.c
sanitizer.def
sanopt.c
sbitmap.c
sbitmap.h
sched-deps.c Fix pool_allocator fallback. 2015-06-01 13:53:10 +00:00
sched-ebb.c
sched-int.h more rtx_insn * in sched-deps.c 2015-05-09 04:17:22 +00:00
sched-rgn.c bitmap.c (bitmap_set_range): Handle count==1 specially. 2015-05-19 07:11:37 +00:00
sched-vis.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
sdbout.c
sdbout.h
sel-sched-dump.c Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
sel-sched-dump.h
sel-sched-ir.c Change use to type-based pool allocator in 2015-06-01 12:43:47 +00:00
sel-sched-ir.h Change use to type-based pool allocator in 2015-06-01 12:43:47 +00:00
sel-sched.c rtl.h (REG_NREGS): New macro 2015-05-19 07:09:06 +00:00
sel-sched.h
sese.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
sese.h
shrink-wrap.c always define HAVE_simple_return and HAVE_return 2015-04-28 04:44:09 +00:00
shrink-wrap.h always define HAVE_simple_return and HAVE_return 2015-04-28 04:44:09 +00:00
signop.h
simplify-rtx.c [simplify-rtx][trivial] Use std::swap instead of manually swapping 2015-04-27 13:45:26 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssa-iterators.h
stab.def
stack-ptr-mod.c
statistics.c * statistics.c (statistics_fini_pass): Print pass name. 2015-05-27 09:06:10 -06:00
statistics.h
stmt.c Change use to type-based pool allocator in stmt.c. 2015-06-01 12:43:16 +00:00
stmt.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
stor-layout.c stor-layout.c (finalize_type_size): Use AGGREGATE_TYPE_P. 2015-05-19 18:06:46 +00:00
stor-layout.h
store-motion.c Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
streamer-hooks.c
streamer-hooks.h re PR lto/65536 (LTO line number information garbled) 2015-03-27 06:58:59 +00:00
stringpool.c
stringpool.h
symbol-summary.h re PR tree-optimization/65538 (Memory leak of ipa_node_params_sum elements) 2015-03-25 11:47:04 +00:00
symtab.c re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx) 2015-03-31 08:29:28 +00:00
sync-builtins.def
system.h Convert to md_asm_adjust 2015-05-11 16:33:23 -07:00
target-def.h
target-globals.c
target-globals.h
target-hooks-macros.h
target.def re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to floating-point registers) 2015-05-14 20:40:44 +00:00
target.h
targhooks.c re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to floating-point registers) 2015-05-14 20:40:44 +00:00
targhooks.h re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to floating-point registers) 2015-05-14 20:40:44 +00:00
timevar.c Move global state in timevar.c to a new "timer" class 2015-05-12 17:29:32 +00:00
timevar.def Introduce TV_INITIALIZE_RTL 2015-05-20 09:23:36 +00:00
timevar.h Move global state in timevar.c to a new "timer" class 2015-05-12 17:29:32 +00:00
tlink.c Always pass explicit location to fatal_error. 2015-01-30 16:15:00 +00:00
toplev.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
toplev.h
tracer.c
trans-mem.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
trans-mem.h
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c Fix example in header comment in tree-call-cdce.c 2015-04-28 08:46:37 +00:00
tree-cfg.c gimplify.c (gimplify_modify_expr_rhs): Use simple test on the size. 2015-06-01 20:49:18 +00:00
tree-cfg.h Add gimple_find_sub_bbs 2015-04-17 09:26:33 +00:00
tree-cfgcleanup.c gimplify.c (gimplify_modify_expr_rhs): Use simple test on the size. 2015-06-01 20:49:18 +00:00
tree-cfgcleanup.h
tree-chkp-opt.c
tree-chkp.c re PR target/65527 (ICE: in expand_builtin_with_bounds, at builtins.c:7120 with -fcheck-pointer-bounds -mmpx) 2015-06-01 11:24:07 +00:00
tree-chkp.h re PR target/65527 (ICE: in expand_builtin_with_bounds, at builtins.c:7120 with -fcheck-pointer-bounds -mmpx) 2015-06-01 11:24:07 +00:00
tree-chrec.c re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-chrec.h re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-complex.c
tree-core.h dwarf2out.c: Remove block_map. 2015-05-27 14:09:58 +00:00
tree-data-ref.c re PR tree-optimization/66272 (wrong code at -O3 on x86_64-linux-gnu) 2015-05-27 14:20:48 +00:00
tree-data-ref.h re PR tree-optimization/66272 (wrong code at -O3 on x86_64-linux-gnu) 2015-05-27 14:20:48 +00:00
tree-dfa.c
tree-dfa.h
tree-diagnostic.c Replace line_map union with C++ class hierarchy 2015-05-19 13:18:01 +00:00
tree-diagnostic.h
tree-dump.c
tree-dump.h
tree-eh.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
tree-eh.h
tree-emutls.c ipa-chkp.c: Use iterate_direct_aliases. 2015-02-14 18:42:49 +00:00
tree-hasher.h remove need for store_values_directly 2015-04-18 18:13:18 +00:00
tree-if-conv.c re PR tree-optimization/66142 (Loop is not vectorized because not sufficient support for GOMP_SIMD_LANE) 2015-05-29 15:06:23 +02:00
tree-inline.c cfghooks.h (create_basic_block): Replace with two overloads for RTL and GIMPLE. 2015-04-21 11:40:46 +00:00
tree-inline.h
tree-into-ssa.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
tree-into-ssa.h
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c
tree-nested.c
tree-nested.h
tree-nrv.c
tree-object-size.c re PR tree-optimization/64715 (__builtin_object_size (..., 1) fails to locate subobject) 2015-03-26 14:19:59 +01:00
tree-object-size.h
tree-outof-ssa.c make emit_partition_copy return a rtx_insn * 2015-05-02 21:07:15 +00:00
tree-outof-ssa.h
tree-parloops.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
tree-parloops.h Make parallelize_loops static 2015-03-18 18:55:38 +00:00
tree-pass.h Postpone expanding va_arg until pass_stdarg 2015-04-17 09:26:59 +00:00
tree-phinodes.c
tree-phinodes.h
tree-predcom.c re PR tree-optimization/65063 (gcc.dg/vect/vect-double-reduc-6.c FAILs with -O3 -fno-tree-loop-ivcanon -fno-tree-vectorize) 2015-02-18 13:08:58 +00:00
tree-pretty-print.c re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
tree-pretty-print.h
tree-profile.c
tree-scalar-evolution.c re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-scalar-evolution.h re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-sra.c Change use to type-based pool allocator in tree-sra.c. 2015-06-01 12:42:16 +00:00
tree-ssa-address.c
tree-ssa-address.h
tree-ssa-alias.c alias.c (alias_stats): New static var. 2015-05-21 15:51:59 +00:00
tree-ssa-alias.h
tree-ssa-ccp.c re PR c++/65851 (ice in set_lattice_value at tree-ssa-cc p.c:535) 2015-04-28 07:26:41 +00:00
tree-ssa-coalesce.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
tree-ssa-coalesce.h revert: re PR middle-end/63155 (memory hog) 2015-03-19 13:36:18 +00:00
tree-ssa-copy.c
tree-ssa-copyrename.c
tree-ssa-dce.c re PR tree-optimization/66101 (internal compiler error: in verify_loop_structure, at cfgloop.c:1662) 2015-05-12 13:28:33 +00:00
tree-ssa-dom.c re PR tree-optimization/66123 (Array of labels as values + ternary operator + pointer arithmetic = internal compiler error) 2015-05-13 10:59:49 +00:00
tree-ssa-dom.h
tree-ssa-dse.c
tree-ssa-forwprop.c re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions) 2015-03-13 08:47:14 +00:00
tree-ssa-ifcombine.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
tree-ssa-live.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
tree-ssa-live.h re PR middle-end/64928 (Inordinate cpu time and memory usage in "phase opt and generate" with -ftest-coverage -fprofile-arcs) 2015-03-06 12:34:28 +00:00
tree-ssa-loop-ch.c re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-loop-im.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
tree-ssa-loop-ivcanon.c
tree-ssa-loop-ivopts.c re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c re PR tree-optimization/48052 (loop not vectorized if index is "unsigned int") 2015-06-02 10:19:18 +00:00
tree-ssa-loop-niter.h re PR tree-optimization/48052 (loop not vectorized if index is "unsigned int") 2015-06-02 10:19:18 +00:00
tree-ssa-loop-prefetch.c Fix indentation issues seen by -Wmisleading-indentation 2015-05-05 19:41:11 +00:00
tree-ssa-loop-unswitch.c
tree-ssa-loop.c
tree-ssa-loop.h
tree-ssa-math-opts.c Change use to type-based pool allocator in 2015-06-01 12:42:45 +00:00
tree-ssa-operands.c
tree-ssa-operands.h
tree-ssa-phiopt.c always define HAVE_conditional_move 2015-05-22 01:04:09 +00:00
tree-ssa-phiprop.c
tree-ssa-pre.c Change use to type-based pool allocator in 2015-06-01 12:45:55 +00:00
tree-ssa-propagate.c gimple-expr.h (is_gimple_constant): Reorder. 2015-05-13 12:36:47 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c Change use to type-based pool allocator in 2015-06-01 12:46:24 +00:00
tree-ssa-sccvn.c Change use to type-based pool allocator in 2015-06-01 12:46:55 +00:00
tree-ssa-sccvn.h
tree-ssa-scopedtables.c re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-scopedtables.h re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-sink.c
tree-ssa-strlen.c Change use to type-based pool allocator in 2015-06-01 12:47:26 +00:00
tree-ssa-structalias.c tree-ssa-structalias.c (ipa_pta_execute): Handle address-taken functions. 2015-06-01 13:51:20 +00:00
tree-ssa-tail-merge.c Fix whitespace in tree-ssa-tail-merge.c 2015-05-18 08:14:09 +00:00
tree-ssa-ter.c
tree-ssa-ter.h
tree-ssa-threadedge.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
tree-ssa-threadedge.h re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-threadupdate.c revert: re PR middle-end/66314 (ice in verify_loop_structure) 2015-06-01 13:55:12 +00:00
tree-ssa-threadupdate.h
tree-ssa-uncprop.c
tree-ssa-uninit.c tree-sra.c (dump_dereferences_table): Avoid -Wformat-security warning. 2015-02-12 22:29:21 +01:00
tree-ssa.c [PATCH]Keep location info when expand complex component-wise load/store. 2015-02-06 14:37:59 +00:00
tree-ssa.h
tree-ssanames.c
tree-ssanames.h
tree-stdarg.c Move array-type va_list handling to build_va_arg 2015-05-18 08:19:29 +00:00
tree-stdarg.h
tree-streamer-in.c re PR lto/65536 (LTO line number information garbled) 2015-03-27 06:58:59 +00:00
tree-streamer-out.c passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table. 2015-02-26 13:26:11 +01:00
tree-streamer.c passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table. 2015-02-26 13:26:11 +01:00
tree-streamer.h passes.c (ipa_write_summaries_1): Call lto_output_init_mode_table. 2015-02-26 13:26:11 +01:00
tree-switch-conversion.c tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P for CSWTCH temporary. 2015-05-22 13:31:29 +00:00
tree-tailcall.c tree-tailcall.c (suitable_for_tail_opt_p, [...]): Remove unneeded forward declarations. 2015-04-22 10:20:32 +02:00
tree-vect-data-refs.c tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow consecutive accesses within outer-loop with force_vectorize for... 2015-06-01 17:15:31 +00:00
tree-vect-generic.c tree-ssa-loop-ch.c (pass_data_ch): Remove TODO_cleanup_cfg. 2015-03-18 12:29:20 +00:00
tree-vect-loop-manip.c
tree-vect-loop.c tree-vect-loop.c (vect_fixup_reduc_chain): New function. 2015-05-28 13:29:41 +00:00
tree-vect-patterns.c tree-vect-patterns.c (vect_recog_dot_prod_pattern): Replace assert with guard, remove check on detected reduction. 2015-05-22 08:55:59 +00:00
tree-vect-slp.c re PR tree-optimization/65961 (ice in vect_is_simple_use_1 with -O3) 2015-06-02 07:50:19 +00:00
tree-vect-stmts.c re PR tree-optimization/65961 (ice in vect_is_simple_use_1 with -O3) 2015-06-02 07:50:19 +00:00
tree-vectorizer.c tree-vectorizer.c (set_uid_loop_bbs): New. 2015-04-29 23:42:54 -06:00
tree-vectorizer.h tree-vectorizer.h (struct _slp_instance): Remove body_cost_vec member. 2015-05-28 07:15:57 +00:00
tree-vrp.c Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
tree.c re PR c++/66270 (ICE: canonical types differ for identical types) 2015-05-27 20:36:14 +00:00
tree.def class.c (fixup_type_variants): Do not copy TYPE_METHODS 2015-05-11 22:24:33 +00:00
tree.h expr.h (array_at_struct_end_p): Move to... 2015-05-27 18:00:15 +00:00
treestruct.def
tsan.c re PR target/65697 (__atomic memory barriers not strong enough for __sync builtins) 2015-05-12 20:01:47 +00:00
tsan.h
tsystem.h
typeclass.h
ubsan.c re PR middle-end/65984 (ICE: definition in block 4 does not dominate use in block 2 with -fnon-call-exceptions -fsanitize=enum) 2015-05-04 21:52:33 +02:00
ubsan.h
valtrack.c rtl.h (REG_NREGS): New macro 2015-05-19 07:09:06 +00:00
valtrack.h remove need for store_values_directly 2015-04-18 18:13:18 +00:00
value-prof.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
value-prof.h
var-tracking.c Change use to type-based pool allocator in 2015-06-01 12:36:49 +00:00
varasm.c rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
varasm.h Give proper type and size to named cold partitions. 2015-04-27 09:44:35 -07:00
varpool.c re PR ipa/65588 (lto1: internal compiler error: Segmentation fault) 2015-03-27 21:35:51 +00:00
vec.c New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
vec.h New memory allocation statistics infrastructure. 2015-05-27 12:47:22 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c
vtable-verify.c remove need for store_values_directly 2015-04-18 18:13:18 +00:00
vtable-verify.h remove need for store_values_directly 2015-04-18 18:13:18 +00:00
web.c
wide-int-print.cc bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
wide-int-print.h
wide-int.cc re PR tree-optimization/65170 (curve25519-donna-c64 miscompilation) 2015-02-24 09:07:10 +01:00
wide-int.h
xcoff.h
xcoffout.c
xcoffout.h re PR debug/2714 (Stabs truncated on AIX) 2015-02-06 21:34:38 -05:00

Copyright (C) 2000-2015 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 now 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.


Avoid unnecessary test before free
----------------------------------

Since SunOS 4 stopped being a reasonable portability target,
(which happened around 2007) there has been no need to guard
against "free (NULL)".  Thus, any guard like the following
constitutes a redundant test:

  if (P)
    free (P);

It is better to avoid the test.[*]
Instead, simply free P, regardless of whether it is NULL.

[*] However, if your profiling exposes a test like this in a
performance-critical loop, say where P is nearly always NULL, and
the cost of calling free on a NULL pointer would be prohibitively
high, consider using __builtin_expect, e.g., like this:

  if (__builtin_expect (ptr != NULL, 0))
    free (ptr);



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.