gcc/gcc
Doug Gilmore fe8b1e839c re PR tree-optimization/77808 (ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439)
Fix PR tree-optimization/77808

gcc/
	PR tree-optimization/77808
	* tree-ssa-loop-prefetch.c (issue_prefetch_ref): Check base_addr
	and addr are different before copying points-to information.

gcc/testsuite/
	PR tree-optimization/77808
	* gcc.dg/tree-ssa/pr77808.c: New testcase.

From-SVN: r240749
2016-10-04 15:28:23 +00:00
..
ada [Patch] Remove all uses of TARGET_FLT_EVAL_METHOD_NON_DEFAULT and poison it 2016-09-29 08:41:34 +00:00
c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
c-family defaults.h (JCR_SECTION_NAME, [...]): Remove. 2016-10-04 09:49:44 +02:00
common re PR target/70677 (Suboptimal cond on AVR: unneeded stack frame) 2016-08-04 07:52:38 +00:00
config x86-tune.def (X86_TUNE_VECTORIZE_DOUBLE): Remove. 2016-10-04 16:50:35 +02:00
cp Core 903 2016-10-03 08:10:43 +00:00
doc defaults.h (JCR_SECTION_NAME, [...]): Remove. 2016-10-04 09:49:44 +02:00
fortran re PR fortran/66643 (Missing compilation error for formatted data transfer without format) 2016-09-30 23:19:58 +00:00
ginclude Define TS 18661-1 CR_DECIMAL_DIG in <float.h>. 2016-09-19 22:53:30 +01:00
go re PR go/77809 ("_LITTLE_ENDIAN" redefined) 2016-10-03 18:39:54 +00:00
jit
lto Add IPA VRP 2016-09-20 23:29:05 +00:00
objc auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
objcp ChangeLog formatting fixes. 2016-09-05 21:42:42 +02:00
po ChangeLog formatting fixes. 2016-09-05 21:42:42 +02:00
testsuite re PR tree-optimization/77808 (ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439) 2016-10-04 15:28:23 +00:00
ABOUT-GCC-NLS
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog re PR tree-optimization/77808 (ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439) 2016-10-04 15:28:23 +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-2015
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2016-10-04 00:16:17 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Machine-readable RTL dumps: print_rtx_function 2016-09-29 19:01:41 +00:00
ONEWS
README.Portability
acinclude.m4
aclocal.m4
addresses.h
alias.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
alias.h
alloc-pool.c
alloc-pool.h
asan.c Makefile.in: Add tree-vrp.h to GTFILES. 2016-08-20 05:43:01 +00:00
asan.h
attribs.c
attribs.h
auto-inc-dec.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
auto-profile.c Print indirect call changes in afdo dump file 2016-07-14 02:13:48 +00:00
auto-profile.h
backend.h
basic-block.h
bb-reorder.c
bb-reorder.h
bitmap.c
bitmap.h
bt-load.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
builtin-attrs.def 016-07-21 Bernd Edlinger <bernd.edlinger@hotmail.de> 2016-07-21 19:11:26 +00:00
builtin-types.def Add minimal _FloatN, _FloatNx built-in functions. 2016-08-22 12:57:39 +01:00
builtins.c builtins.c (expand_builtin_memcmp): don't swap args unless result is only being compared with zero. 2016-09-29 11:21:20 -05:00
builtins.def Add minimal _FloatN, _FloatNx built-in functions. 2016-08-22 12:57:39 +01:00
builtins.h
caller-save.c
calls.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
calls.h 016-07-21 Bernd Edlinger <bernd.edlinger@hotmail.de> 2016-07-21 19:06:02 +00:00
ccmp.c
ccmp.h
cfg-flags.def
cfg.c cfg.c (free_original_copy_tables): Replace second assignment of bb_copy = NULL by bb_original = NULL. 2016-09-02 17:00:38 +00:00
cfg.h
cfganal.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
cfganal.h
cfgbuild.c make forced labels a vec 2016-08-28 00:03:59 +00:00
cfgbuild.h
cfgcleanup.c make next/prev active_insn and active_insn_p take rtx_insn * 2016-09-22 13:16:41 +00:00
cfgcleanup.h
cfgexpand.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
cfgexpand.h
cfghooks.c tree-cfgcleanup.c (tree_forwarder_block_p): Use bb_loop_header_p. 2016-08-05 07:41:45 +00:00
cfghooks.h
cfgloop.c cfgloop.h (struct loop): New field constraints. 2016-07-29 15:44:00 +00:00
cfgloop.h make next/prev nondebug_insn take rtx_insn * 2016-09-22 13:16:23 +00:00
cfgloopanal.c Handle loops with loop->latch == NULL (PR gcov-profile/71868) 2016-07-25 10:56:08 +00:00
cfgloopmanip.c re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440) 2016-08-11 09:02:04 +00:00
cfgloopmanip.h
cfgrtl.c make forced labels a vec 2016-08-28 00:03:59 +00:00
cfgrtl.h
cgraph.c Add IPA VRP 2016-09-20 23:29:05 +00:00
cgraph.h
cgraphbuild.c
cgraphclones.c
cgraphunit.c re PR debug/77692 (gcc.dg/debug/dwarf2/const-2b.c FAILs) 2016-09-26 07:33:33 +00:00
chkp-builtins.def
cif-code.def
cilk-builtins.def
cilk-common.c
cilk.h
cilkplus.def
collect-utils.c
collect-utils.h
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
combine-stack-adj.c
combine.c combine.c (simplify_comparison): Add canonical FALLTHROUGH comments. 2016-09-27 10:15:26 +02:00
common.md
common.opt configure.ac: Split CHECKING_P into CHECKING_P and ENABLE_EXTRA_CHECKING. 2016-09-30 18:57:49 +00:00
compare-elim.c
conditions.h
config.build
config.gcc [ARC] New CPU C-define handler. 2016-09-28 16:25:21 +02:00
config.host
config.in configure.ac: Split CHECKING_P into CHECKING_P and ENABLE_EXTRA_CHECKING. 2016-09-30 18:57:49 +00:00
configure configure.ac (strict_warn): Merge -Wmissing-format-attribute and -Woverloaded-virtual checks for warning... 2016-10-03 17:51:33 +02:00
configure.ac configure.ac (strict_warn): Merge -Wmissing-format-attribute and -Woverloaded-virtual checks for warning... 2016-10-03 17:51:33 +02:00
context.c
context.h
convert.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
convert.h
coretypes.h Cherry-pick fprofile-generate-atomic from google/gcc-4_9 2016-08-10 13:11:42 +00:00
coverage.c gcov: dump in a static dtor instead of in an atexit handler 2016-09-27 11:07:11 +00:00
coverage.h
cppbuiltin.c
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c
cse.c make next/prev _nonnote_insn take rtx_insn * 2016-09-22 13:16:17 +00:00
cselib.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
cselib.h
cstamp-h.in
data-streamer-in.c data-streamer-in.c (streamer_read_wide_int): New. 2016-08-06 21:11:26 +00:00
data-streamer-out.c data-streamer-in.c (streamer_read_wide_int): New. 2016-08-06 21:11:26 +00:00
data-streamer.c
data-streamer.h data-streamer-in.c (streamer_read_wide_int): New. 2016-08-06 21:11:26 +00:00
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c * dbxout.c (xcoff_debug_hooks): Add filename parameter to early_finish hook. 2016-09-20 12:37:08 -04:00
dbxout.h
dce.c
dce.h
ddg.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
ddg.h
debug.c debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook. 2016-09-20 07:37:53 +00:00
debug.h debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook. 2016-09-20 07:37:53 +00:00
defaults.h defaults.h (JCR_SECTION_NAME, [...]): Remove. 2016-10-04 09:49:44 +02:00
df-core.c re PR rtl-optimization/72855 (Long compile time due to integrity checking during dataflow analysis per loop) 2016-08-11 22:20:41 +00:00
df-problems.c
df-scan.c tm.texi.in (INITIAL_FRAME_POINTER_OFFSET): Remove. 2016-09-09 23:08:54 +00:00
df.h
dfp.c
dfp.h
diagnostic-color.c Introduce class edit_context 2016-09-02 18:00:57 +00:00
diagnostic-color.h
diagnostic-core.h
diagnostic-show-locus.c fix-it hints can't contain newlines 2016-09-15 23:57:01 +00:00
diagnostic.c fix-it hints: insert_before vs insert_after 2016-09-13 16:08:59 +00:00
diagnostic.def
diagnostic.h Add -fdiagnostics-generate-patch 2016-09-02 19:41:17 +00:00
dojump.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
dojump.h
dominance.c
dominance.h
domwalk.c
domwalk.h
double-int.c hwint.h (HOST_WIDE_INT_0): New define. 2016-07-20 23:59:44 +02:00
double-int.h cse.c: Use HOST_WIDE_INT_M1 instead of ~(HOST_WIDE_INT) 0. 2016-07-20 17:47:33 +02:00
dse.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
dumpfile.c
dumpfile.h
dwarf2asm.c dwarf2asm.h (dw2_asm_output_offset): Add overload with extra offset argument. 2016-09-15 10:22:32 +00:00
dwarf2asm.h dwarf2asm.h (dw2_asm_output_offset): Add overload with extra offset argument. 2016-09-15 10:22:32 +00:00
dwarf2cfi.c make forced labels a vec 2016-08-28 00:03:59 +00:00
dwarf2out.c dwarf2out.c (output_fde, [...]): Use MAX_ARTIFICIAL_LABEL_BYTES as char array sizes for... 2016-10-02 21:31:57 +02:00
dwarf2out.h
edit-context.c fix-it hints: insert_before vs insert_after 2016-09-13 16:08:59 +00:00
edit-context.h Introduce class edit_context 2016-09-02 18:00:57 +00:00
emit-rtl.c make next_cc0_user take rtx_insn * 2016-09-22 13:17:34 +00:00
emit-rtl.h make stack_slot_list a vec<rtx> 2016-08-28 00:04:04 +00:00
errors.c
errors.h
et-forest.c
et-forest.h
except.c make forced labels a vec 2016-08-28 00:03:59 +00:00
except.h
exec-tool.in
explow.c re PR target/77833 (ICE: in plus_constant, at explow.c:87 with -O -mavx512f) 2016-10-04 13:39:22 +00:00
explow.h Allocate constant size dynamic stack space in the prologue 2016-07-18 13:10:27 +00:00
expmed.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
expmed.h [1/2] Move choose_mult_variant declaration and dependent declarations to expmed.h 2016-07-14 13:57:05 +00:00
expr.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
expr.h
fibonacci_heap.c Add selftests for fibonacci_heap 2016-07-20 07:01:48 +00:00
fibonacci_heap.h Add selftests for fibonacci_heap 2016-07-20 07:01:48 +00:00
file-find.c Prevent LTO wrappers to process a recursive execution 2016-07-07 12:03:39 +00:00
file-find.h Prevent LTO wrappers to process a recursive execution 2016-07-07 12:03:39 +00:00
final.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
fixed-value.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
fixed-value.h
flag-types.h Fix handling of -fsanitize-recover* options. 2016-09-26 10:55:34 +00:00
flags.h
fold-const-call.c Add minimal _FloatN, _FloatNx built-in functions. 2016-08-22 12:57:39 +01:00
fold-const-call.h
fold-const.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
fold-const.h
fp-test.c
function-tests.c function-tests.c (build_trivial_generic_function): Set BLOCK_SUPERCONTEXT of DECL_INITIAL. 2016-07-21 12:25:00 +00:00
function.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
function.h make forced labels a vec 2016-08-28 00:03:59 +00:00
fwprop.c builtins.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1... 2016-07-19 18:40:55 +02:00
gcc-ar.c Prevent LTO wrappers to process a recursive execution 2016-07-07 12:03:39 +00:00
gcc-main.c
gcc-plugin.h
gcc-rich-location.c rich_location: add convenience overloads for adding fix-it hints 2016-08-30 13:54:48 +00:00
gcc-rich-location.h rich_location: add convenience overloads for adding fix-it hints 2016-08-30 13:54:48 +00:00
gcc-symtab.h
gcc.c re PR other/31566 (@missing_file gives bad error message) 2016-09-30 11:21:26 -06:00
gcc.h
gcov-counter.def Remove __gcov_merge_delta (PR bootstrap/77749) 2016-09-27 10:04:39 +00:00
gcov-dump.c
gcov-io.c
gcov-io.h Do not use LONG_LONG_TYPE_SIZE in #if macro condition 2016-08-17 06:55:35 +00:00
gcov-iov.c Adapt the numbering scheme (PR gcov-profile/64874) 2016-07-25 08:42:42 +00:00
gcov-tool.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
gcov.c gcov: add new option (--hash-filenames) (PR 2016-08-16 14:14:18 +00:00
gcse-common.c
gcse-common.h
gcse.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
gcse.h
gdbasan.in
gdbhooks.py
gdbinit.in
gen-pass-instances.awk
genattr-common.c
genattr.c
genattrtab.c * genattrtab.c (write_attr_case): Also emit FALLTHRU marker. 2016-09-29 16:28:38 +00:00
genautomata.c
gencfn-macros.c
gencheck.c
genchecksum.c
gencodes.c
genconditions.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
genconfig.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
genconstants.c Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
genemit.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
genenums.c Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
generic-match-head.c
generic-match.h
genextract.c genextract.c: add [cd]tors to accum_extract 2016-07-13 02:43:23 +00:00
genflags.c
gengenrtl.c
gengtype-lex.l
gengtype-parse.c
gengtype-state.c
gengtype.c Makefile.in: Add tree-vrp.h to GTFILES. 2016-08-20 05:43:01 +00:00
gengtype.h
genhooks.c
genmatch.c re PR middle-end/77798 (465.tonto ICE with trunk with -O2) 2016-10-01 14:34:18 +00:00
genmddeps.c Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
genmddump.c
genmodes.c c-ada-spec.c (dump_ada_function_declaration): Increase buffer size to guarantee it fits the output of the formatted function... 2016-09-01 16:47:49 -06:00
genmultilib fragments.texi (MULTILIB_REUSE): Mention that only options in MULTILIB_OPTIONS should be used. 2016-08-24 09:51:35 +00:00
genopinit.c
genoutput.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
genpeep.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
genpreds.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
genrecog.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
gensupport.c Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
gensupport.h Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
gentarget-def.c
ggc-common.c
ggc-internal.h
ggc-none.c
ggc-page.c
ggc-tests.c
ggc.h
gimple-builder.c Makefile.in: Add tree-vrp.h to GTFILES. 2016-08-20 05:43:01 +00:00
gimple-builder.h
gimple-expr.c
gimple-expr.h
gimple-fold.c If strchr can't be folded in gimple-fold... 2016-09-28 16:31:34 +00:00
gimple-fold.h PR middle-end/49905 - Better sanity checking on sprintf src & dest to 2016-09-20 19:39:27 -06:00
gimple-iterator.c
gimple-iterator.h
gimple-laddress.c Makefile.in: Add tree-vrp.h to GTFILES. 2016-08-20 05:43:01 +00:00
gimple-low.c gimple-fold.c (gimple_fold_call): Use gimple_call_noreturn_p instead of testing ECF_NORETURN bit in gimple_call_flags. 2016-08-17 16:24:53 +02:00
gimple-low.h
gimple-match-head.c re PR tree-optimization/77677 (ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in set_value_range, at tree-vrp.c:361)) 2016-09-22 12:16:12 +00:00
gimple-match.h
gimple-predict.h
gimple-pretty-print.c gimple-pretty-print.c (dump_gimple_call_args): Simplify "' " printing. 2016-09-28 11:26:16 +00:00
gimple-pretty-print.h
gimple-ssa-backprop.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
gimple-ssa-isolate-paths.c
gimple-ssa-nonnull-compare.c
gimple-ssa-split-paths.c
gimple-ssa-sprintf.c gimple-ssa-sprintf.c (pass_sprintf_length::gate): Use x > 0 instead of 0 < x. 2016-09-28 23:52:53 +02:00
gimple-ssa-strength-reduction.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
gimple-ssa.h
gimple-streamer-in.c
gimple-streamer-out.c
gimple-streamer.h
gimple-walk.c
gimple-walk.h
gimple.c Designate the widest case label to be the default label 2016-08-04 18:11:08 +00:00
gimple.def
gimple.h Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
gimplify-me.c
gimplify-me.h
gimplify.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
gimplify.h
glimits.h Define TS 18661-1 type width macros in <limits.h> and <stdint.h>. 2016-09-09 17:59:43 +01:00
godump.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
graph.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
graph.h
graphds.c
graphds.h
graphite-dependences.c
graphite-isl-ast-to-gimple.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
graphite-optimize-isl.c
graphite-poly.c
graphite-scop-detection.c
graphite-sese-to-poly.c
graphite.c
graphite.h
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c sel-sched-ir.c (sel_global_bb_info, [...]): Remove unnecessary = vNULL initialization of file scope vec. 2016-09-23 18:58:40 +02:00
hard-reg-set.h
hash-map-tests.c
hash-map-traits.h
hash-map.h
hash-set-tests.c
hash-set.h
hash-table.c
hash-table.h
hash-traits.h
highlev-plugin-common.h
hooks.c hooks.c (hook_bool_bool_false, [...]): For arguments with ATTRIBUTE_UNUSED... 2016-09-23 20:08:43 +02:00
hooks.h hooks.h (hook_uint_uintp_false): Rename to... 2016-09-23 12:05:29 +02:00
host-default.c
hosthooks-def.h
hosthooks.h
hsa-brig-format.h
hsa-brig.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
hsa-dump.c
hsa-gen.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
hsa-regalloc.c
hsa.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
hsa.h
hw-doloop.c
hw-doloop.h
hwint.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
hwint.h Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
ifcvt.c Revert: [RTL ifcvt] Transform (X == CST) ? -CST : Y into (X == CST) ? -X : Y when conditional negation is available 2016-10-03 09:28:28 +00:00
ifcvt.h
inchash.c
inchash.h
incpath.c
incpath.h
init-regs.c
input.c re PR preprocessor/77699 (suspicious code in get_next_line) 2016-10-03 14:05:46 +00:00
input.h re PR gcov-profile/46266 (gcov generates data for non-existing file <built-in>) 2016-09-27 13:22:04 +00:00
insn-addr.h
insn-notes.def
internal-fn.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
internal-fn.def Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
internal-fn.h internal-fn.h (IFN_UNIQUE_CODES, [...]): New. 2016-09-27 16:46:21 +00:00
intl.c
intl.h
ipa-chkp.c
ipa-chkp.h
ipa-comdats.c
ipa-cp.c ipa-cp.c (propagate_bits_accross_jump_function): Introduce space between callee name and param in dump message in call to fprintf. 2016-10-03 19:42:55 +00:00
ipa-devirt.c Add IPA VRP 2016-09-20 23:29:05 +00:00
ipa-hsa.c
ipa-icf-gimple.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
ipa-icf-gimple.h
ipa-icf.c Fix typo in IPA ICF 2016-09-23 08:49:41 +00:00
ipa-icf.h
ipa-inline-analysis.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
ipa-inline-transform.c Add IPA VRP 2016-09-20 23:29:05 +00:00
ipa-inline.c Add IPA VRP 2016-09-20 23:29:05 +00:00
ipa-inline.h
ipa-polymorphic-call.c [PR ipa/71981] Make get_dynamic_type grok MEM_REF 2016-08-09 18:05:30 +02:00
ipa-profile.c Add IPA VRP 2016-09-20 23:29:05 +00:00
ipa-prop.c Fix ipa-vrp convert value_range 2016-09-27 03:41:14 +00:00
ipa-prop.h Add IPA VRP 2016-09-20 23:29:05 +00:00
ipa-pure-const.c re PR sanitizer/77396 (address sanitizer crashes if all static global variables are optimized) 2016-09-02 19:11:42 +02:00
ipa-ref.c
ipa-ref.h
ipa-reference.c
ipa-reference.h
ipa-split.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
ipa-utils.c Add IPA VRP 2016-09-20 23:29:05 +00:00
ipa-utils.h
ipa-visibility.c
ipa.c Add IPA VRP 2016-09-20 23:29:05 +00:00
ira-build.c re PR rtl-optimization/71634 (Invalid write with in mark_loops_for_removal (ira-build.c:2256) with --param ira-max-loops-num=0) 2016-07-12 14:54:52 +00:00
ira-color.c
ira-conflicts.c
ira-costs.c
ira-emit.c
ira-int.h
ira-lives.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
ira.c [PATCH][IRA]Initialize ira_use_lra_p early by moving the initialization into 2016-09-23 10:16:22 +00:00
ira.h
is-a.h
jump.c make next/prev nonnote_nondebug_insn take rtx_insn * 2016-09-22 13:16:35 +00:00
langhooks-def.h Move class substring_loc from c-family into gcc 2016-09-07 16:56:23 +00:00
langhooks.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
langhooks.h Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
lcm.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
lcm.h
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh
loop-doloop.c make next/prev nondebug_insn take rtx_insn * 2016-09-22 13:16:23 +00:00
loop-init.c
loop-invariant.c builtins.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1... 2016-07-19 18:40:55 +02:00
loop-iv.c common.opt (funsafe-loop-optimizations): Mark ignore. 2016-07-22 13:25:59 +00:00
loop-unroll.c loop-unroll.c (unroll_loop_runtime_iterations): Set probability of succ edge. 2016-09-14 17:04:18 +00:00
loop-unroll.h
lower-subreg.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
lower-subreg.h
lra-assigns.c re PR rtl-optimization/69847 (Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC) 2016-08-02 16:07:36 +00:00
lra-coalesce.c
lra-constraints.c re PR rtl-optimization/77289 (ICE in extract_constrain_insn, at recog.c:2212 on powerpc64) 2016-09-13 21:25:04 +00:00
lra-eliminations.c re PR rtl-optimization/77714 (Wrong code generation for gcc.c-torture/execute/pr51447.c) 2016-09-27 04:54:49 +00:00
lra-int.h re PR rtl-optimization/69847 (Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC) 2016-08-02 16:07:36 +00:00
lra-lives.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
lra-remat.c re PR rtl-optimization/77416 (LRA rematerializing use of CA reg across function call) 2016-09-19 21:38:27 +00:00
lra-spills.c re PR rtl-optimization/72821 (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1424) 2016-08-08 15:58:46 +02:00
lra.c re PR rtl-optimization/69847 (Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC) 2016-08-02 16:07:36 +00:00
lra.h
lto-cgraph.c Don't call get_working_sets w/ LTO and -fauto-profile (PR 2016-07-25 11:28:52 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c
lto-section-names.h
lto-section-out.c
lto-streamer-in.c data-streamer-in.c (streamer_read_wide_int): New. 2016-08-06 21:11:26 +00:00
lto-streamer-out.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
lto-streamer.c
lto-streamer.h cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE. 2016-07-25 12:35:08 +00:00
lto-wrapper.c
machmode.def
machmode.h
main.c
match.pd re PR middle-end/77407 (Optimize integer i / abs (i) into the sign of i) 2016-10-04 13:18:18 +00:00
mcf.c
mem-stats-traits.h
mem-stats.h
memmodel.h tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
memory-block.cc
memory-block.h
mkconfig.sh
mode-classes.def
mode-switching.c
modulo-sched.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
multiple_target.c * multiple_target.c (pass_data_dispatcher_calls): Fix typo. 2016-08-25 08:07:10 -04:00
omp-builtins.def
omp-low.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
omp-low.h
omp-simd-clone.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs-libfuncs.c
optabs-libfuncs.h
optabs-query.c
optabs-query.h
optabs-tree.c
optabs-tree.h
optabs.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
optabs.def
optabs.h
optc-gen.awk
optc-save-gen.awk
opth-gen.awk
opts-common.c re PR middle-end/77475 (unnecessary or misleading context in reporting command line problems) 2016-09-13 10:45:36 +02:00
opts-diagnostic.h
opts-global.c
opts.c Fix handling of -fsanitize-recover* options. 2016-09-26 10:55:34 +00:00
opts.h Fix handling of -fsanitize-recover* options. 2016-09-26 10:55:34 +00:00
output.h
params-enum.h
params-list.h
params-options.h Add tests that test boundary values of params 2016-07-12 15:03:07 +00:00
params.c
params.def Teach VRP to register assertions along default switch labels (PR18046) 2016-07-26 15:19:58 +00:00
params.h
pass_manager.h
passes.c sel-sched-ir.c (sel_global_bb_info, [...]): Remove unnecessary = vNULL initialization of file scope vec. 2016-09-23 18:58:40 +02:00
passes.def PR middle-end/49905 - Better sanity checking on sprintf src & dest to 2016-09-20 19:39:27 -06:00
plugin.c
plugin.def
plugin.h
postreload-gcse.c postreload-gcse.c (bb_has_well_behaved_predecessors): Tweak criterion used for abnormal egdes. 2016-08-30 10:10:26 +00:00
postreload.c
predict.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c PR c/77520 - wrong value for extended ASCII characters in -Wformat message 2016-09-09 17:12:10 -06:00
pretty-print.h
print-rtl-function.c Machine-readable RTL dumps: print_rtx_function 2016-09-29 19:01:41 +00:00
print-rtl.c
print-rtl.h Machine-readable RTL dumps: print_rtx_function 2016-09-29 19:01:41 +00:00
print-tree.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
print-tree.h
profile.c re PR gcov-profile/46266 (gcov generates data for non-existing file <built-in>) 2016-09-27 13:22:04 +00:00
profile.h
read-md.c Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
read-md.h Introduce class rtx_reader 2016-09-21 20:55:06 +00:00
read-rtl.c read-rtl.c: split out read_rtx_operand from read_rtx_code 2016-09-26 16:39:15 +00:00
real.c Implement C _FloatN, _FloatNx types. 2016-08-19 18:43:26 +01:00
real.h Implement C _FloatN, _FloatNx types. 2016-08-19 18:43:26 +01:00
realmpfr.c
realmpfr.h
recog.c recog.c (rest_of_handle_split_after_reload): Delete. 2016-09-16 21:39:05 +00:00
recog.h
ree.c ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. 2016-08-15 11:07:52 +00:00
reg-notes.def
reg-stack.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-09 16:39:28 +00:00
regcprop.c Revert accidental commit. 2016-09-22 15:20:43 +00:00
regcprop.h
reginfo.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
regrename.c [regrename][sel-sched] Fix bogus use of HARD_FRAME_POINTER_REGNUM (was: Fix arm bootstrap) 2016-09-26 14:52:03 +00:00
regrename.h
regs.h
regset.h
regstat.c
reload.c [RELOAD] Don't assume subreg mem address is ok 2016-08-18 08:11:22 +09:30
reload.h
reload1.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
reorg.c make next/prev active_insn and active_insn_p take rtx_insn * 2016-09-22 13:16:41 +00:00
resource.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
resource.h
rtl-chkp.c
rtl-chkp.h
rtl-error.c
rtl-error.h
rtl-iter.h
rtl-tests.c
rtl.c
rtl.def
rtl.h make next_cc0_user take rtx_insn * 2016-09-22 13:17:34 +00:00
rtlanal.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
rtlhash.c
rtlhash.h
rtlhooks-def.h
rtlhooks.c
sancov.c
sanitizer.def
sanopt.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
sbitmap.c
sbitmap.h add auto_sbitmap class 2016-07-26 10:43:58 +00:00
sched-deps.c
sched-ebb.c
sched-int.h re PR rtl-optimization/77425 (Pointer test follows dereference in sched-int.h) 2016-09-15 14:27:35 +02:00
sched-rgn.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:30:47 +00:00
sdbout.c debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook. 2016-09-20 07:37:53 +00:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c sel-sched-ir.c (sel_global_bb_info, [...]): Remove unnecessary = vNULL initialization of file scope vec. 2016-09-23 18:58:40 +02:00
sel-sched-ir.h
sel-sched.c [regrename][sel-sched] Fix bogus use of HARD_FRAME_POINTER_REGNUM (was: Fix arm bootstrap) 2016-09-26 14:52:03 +00:00
sel-sched.h
selftest-run-tests.c Introduce class edit_context 2016-09-02 18:00:57 +00:00
selftest.c selftest.c: avoid explicit "selftest::" qualifiers 2016-08-31 13:22:43 +00:00
selftest.h Introduce class edit_context 2016-09-02 18:00:57 +00:00
sese.c
sese.h
shrink-wrap.c
shrink-wrap.h
signop.h
simplify-rtx.c make next/prev _nonnote_insn take rtx_insn * 2016-09-22 13:16:17 +00:00
sparseset.c
sparseset.h
spellcheck-tree.c Fix build of spellcheck-tree.c with older gccs 2016-07-21 17:21:12 +00:00
spellcheck-tree.h Enabling work for C++ handling of misspelled identifiers and typenames 2016-07-20 14:03:03 +00:00
spellcheck.c
spellcheck.h
sreal.c Add sreal to selftests 2016-07-20 07:00:50 +00:00
sreal.h ipa-cp.c (ipcp_store_vr_results): Avoid static local var zero. 2016-09-23 11:43:09 +02:00
ssa-iterators.h ssa-iterators.h (ssa_vuse_operand): New inline. 2016-08-18 07:21:11 +00:00
ssa.h Makefile.in: Add tree-vrp.h to GTFILES. 2016-08-20 05:43:01 +00:00
stab.def
stack-ptr-mod.c
statistics.c re PR lto/77305 (-fdump-tree-all and -flto causes ICE) 2016-08-23 07:21:36 +00:00
statistics.h
stmt.c make forced labels a vec 2016-08-28 00:03:59 +00:00
stmt.h
stor-layout.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
stor-layout.h
store-motion.c make pattern_regs a vec 2016-07-28 11:01:34 +00:00
streamer-hooks.c
streamer-hooks.h
stringpool.c
stringpool.h
substring-locations.c Move class substring_loc from c-family into gcc 2016-09-07 16:56:23 +00:00
substring-locations.h Move class substring_loc from c-family into gcc 2016-09-07 16:56:23 +00:00
symbol-summary.h
symtab.c
sync-builtins.def
system.h defaults.h (JCR_SECTION_NAME, [...]): Remove. 2016-10-04 09:49:44 +02:00
target-def.h
target-globals.c
target-globals.h
target-hooks-macros.h
target-insns.def
target.def target.def (elf_flags_numeric): Change documentation to present tense. 2016-09-26 10:47:06 +00:00
target.h
targhooks.c PR middle-end/49905 - Better sanity checking on sprintf src & dest to 2016-09-20 19:39:27 -06:00
targhooks.h PR middle-end/49905 - Better sanity checking on sprintf src & dest to 2016-09-20 19:39:27 -06:00
timevar.c passes.c (execute_todo): Do not push/pop TV_TODO. 2016-08-12 07:38:24 +00:00
timevar.def Add Early VRP 2016-09-20 23:23:55 +00:00
timevar.h passes.c (execute_todo): Do not push/pop TV_TODO. 2016-08-12 07:38:24 +00:00
tlink.c
toplev.c Add IPA VRP 2016-09-20 23:29:05 +00:00
toplev.h
tracer.c
tracer.h
trans-mem.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
trans-mem.h
tree-affine.c Convert TYPE_ALIGN_OK to a TYPE_LANG_FLAG. 2016-07-11 15:02:12 +00:00
tree-affine.h
tree-call-cdce.c
tree-cfg.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
tree-cfg.h
tree-cfgcleanup.c re PR middle-end/77259 (ICE in emit_move_insn since r232167) 2016-08-17 15:56:30 +02:00
tree-cfgcleanup.h
tree-chkp-opt.c sel-sched-ir.c (sel_global_bb_info, [...]): Remove unnecessary = vNULL initialization of file scope vec. 2016-09-23 18:58:40 +02:00
tree-chkp.c re PR middle-end/72657 ([CHKP] internal compiler error: in ix86_expand_builtin) 2016-07-28 12:58:37 +00:00
tree-chkp.h
tree-chrec.c re PR middle-end/77436 (Incorrect constant result for summing loop inserted) 2016-09-01 13:38:25 +00:00
tree-chrec.h tree-chrec.c (convert_affine_scev): New parameter. 2016-07-21 10:52:13 +00:00
tree-complex.c re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) 2016-08-12 10:15:57 +00:00
tree-core.h Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
tree-data-ref.c re PR tree-optimization/77605 (wrong code at -O3 on x86_64-linux-gnu) 2016-09-19 06:55:17 +00:00
tree-data-ref.h
tree-dfa.c
tree-dfa.h
tree-diagnostic.c use auto_vec for more local variables 2016-07-13 02:44:52 +00:00
tree-diagnostic.h
tree-dump.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
tree-dump.h
tree-eh.c
tree-eh.h
tree-emutls.c
tree-hash-traits.h
tree-hasher.h
tree-if-conv.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
tree-inline.c re PR tree-optimization/77665 (ICE in expand_GOMP_SIMD_VF, at internal-fn.c:172) 2016-09-22 13:17:24 +02:00
tree-inline.h
tree-into-ssa.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-into-ssa.h
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c re PR tree-optimization/72824 (Signed floating point zero semantics broken at optimization level -O3 (tree-loop-distribute-patterns)) 2016-08-15 10:31:05 +02:00
tree-nested.c
tree-nested.h
tree-nrv.c
tree-object-size.c PR tree-optimization/71831 - __builtin_object_size poor results with no 2016-09-01 20:14:50 -06:00
tree-object-size.h PR tree-optimization/71831 - __builtin_object_size poor results with no 2016-09-01 20:14:50 -06:00
tree-outof-ssa.c add a constructor to elim_graph 2016-07-26 10:44:25 +00:00
tree-outof-ssa.h
tree-parloops.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
tree-parloops.h
tree-pass.h PR middle-end/49905 - Better sanity checking on sprintf src & dest to 2016-09-20 19:39:27 -06:00
tree-phinodes.c ssa-iterators.h (ssa_vuse_operand): New inline. 2016-08-18 07:21:11 +00:00
tree-phinodes.h ssa-iterators.h (ssa_vuse_operand): New inline. 2016-08-18 07:21:11 +00:00
tree-predcom.c re PR tree-optimization/71083 (Unaligned bit-field address when predictive commoning) 2016-08-12 19:30:39 +00:00
tree-pretty-print.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
tree-pretty-print.h
tree-profile.c Remove HIST_TYPE_CONST_DELTA counter type (PR gcov-profile/23332) 2016-09-26 11:04:18 +00:00
tree-scalar-evolution.c re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440) 2016-08-09 15:01:49 +00:00
tree-scalar-evolution.h tree-scalar-evolution.c (simple_iv_with_niters): New funcion. 2016-07-15 09:04:57 +00:00
tree-sra.c * hsa-gen.c (hsa_op_immed::hsa_op_immed Use CONSTRUCTOR_NELTS (...) 2016-09-23 09:34:43 +02:00
tree-ssa-address.c Makefile.in: Add tree-vrp.h to GTFILES. 2016-08-20 05:43:01 +00:00
tree-ssa-address.h
tree-ssa-alias.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-ssa-alias.h
tree-ssa-ccp.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
tree-ssa-ccp.h Patch for performing interprocedural bitwise constant propagation. 2016-08-26 08:05:39 +00:00
tree-ssa-coalesce.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-ssa-coalesce.h
tree-ssa-copy.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-ssa-dce.c
tree-ssa-dom.c re PR tree-optimization/77454 (IMM ERROR w/ -O2 and above) 2016-09-13 21:19:33 +02:00
tree-ssa-dom.h
tree-ssa-dse.c
tree-ssa-forwprop.c re PR tree-optimization/77399 (Poor code generation for vector casts and loads) 2016-10-04 13:40:54 +00:00
tree-ssa-ifcombine.c
tree-ssa-live.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
tree-ssa-live.h
tree-ssa-loop-ch.c
tree-ssa-loop-im.c re PR middle-end/71734 (FAIL: libgomp.fortran/simd4.f90 -O3 -g execution test) 2016-08-10 08:03:02 -07:00
tree-ssa-loop-ivcanon.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
tree-ssa-loop-ivopts.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c use auto_sbitmap in various places 2016-07-26 10:44:08 +00:00
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c re PR tree-optimization/72817 (wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)) 2016-08-16 09:13:50 +00:00
tree-ssa-loop-niter.h re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440) 2016-08-09 15:01:49 +00:00
tree-ssa-loop-prefetch.c re PR tree-optimization/77808 (ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439) 2016-10-04 15:28:23 +00:00
tree-ssa-loop-unswitch.c re PR tree-optimization/23855 (loop header should also be pulled out of the inner loop too) 2016-08-17 08:11:32 +00:00
tree-ssa-loop.c
tree-ssa-loop.h
tree-ssa-math-opts.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
tree-ssa-operands.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-ssa-operands.h
tree-ssa-phionlycprop.c
tree-ssa-phiopt.c re PR middle-end/55152 (MAX_EXPR(a,-a) is really ABS_EXPR(a)) 2016-09-29 12:27:19 +00:00
tree-ssa-phiprop.c
tree-ssa-pre.c re PR bootstrap/77768 (LTO/PGO -O3 bootstrap broken: tree-vrp.c:11053:0: internal compiler error: Segmentation fault) 2016-09-29 12:31:02 +00:00
tree-ssa-propagate.c Add Early VRP 2016-09-20 23:23:55 +00:00
tree-ssa-propagate.h Add Early VRP 2016-09-20 23:23:55 +00:00
tree-ssa-reassoc.c re PR tree-optimization/77719 (ICE in pp_string, at pretty-print.c:955) 2016-09-26 18:16:23 +00:00
tree-ssa-sccvn.c re PR bootstrap/77768 (LTO/PGO -O3 bootstrap broken: tree-vrp.c:11053:0: internal compiler error: Segmentation fault) 2016-09-29 07:15:13 +00:00
tree-ssa-sccvn.h re PR tree-optimization/71901 (ice in find_or_generate_expression) 2016-07-19 10:19:46 +00:00
tree-ssa-scopedtables.c
tree-ssa-scopedtables.h
tree-ssa-sink.c
tree-ssa-strlen.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
tree-ssa-structalias.c re PR tree-optimization/77648 (Setting conversion to a integer to double to 0 3/4 through a loop) 2016-09-21 07:38:33 +00:00
tree-ssa-tail-merge.c
tree-ssa-ter.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-ssa-ter.h
tree-ssa-threadbackward.c re PR tree-optimization/71550 (wrong code at -O3 on x86_64-linux-gnu) 2016-10-03 13:28:24 -06:00
tree-ssa-threadbackward.h
tree-ssa-threadedge.c Improve forward jump threading of switch statements (PR18046) 2016-08-05 23:29:53 +00:00
tree-ssa-threadedge.h
tree-ssa-threadupdate.c tree-ssa-threadupdate.c (thread_block_1): Remove unnecessary restriction on threading to a loop header. 2016-08-05 08:00:00 +00:00
tree-ssa-threadupdate.h
tree-ssa-uncprop.c
tree-ssa-uninit.c
tree-ssa.c Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-ssa.h
tree-ssanames.c
tree-ssanames.h Iterator to visit SSA 2016-09-15 02:03:51 +00:00
tree-stdarg.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
tree-stdarg.h
tree-streamer-in.c cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE. 2016-07-25 12:35:08 +00:00
tree-streamer-out.c cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE. 2016-07-25 12:35:08 +00:00
tree-streamer.c
tree-streamer.h cgraph.c (cgraph_node::verify_node): Compare against builtin by using DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE. 2016-07-25 12:35:08 +00:00
tree-switch-conversion.c
tree-tailcall.c
tree-vect-data-refs.c re PR tree-optimization/77621 (Internal compiler error for mtune=atom + msse2) 2016-09-21 07:37:18 +00:00
tree-vect-generic.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
tree-vect-loop-manip.c re PR tree-optimization/77724 (bootstrap-O3 broken: ICE: in tree_to_uhwi, at tree.c:7330) 2016-09-28 05:13:19 +00:00
tree-vect-loop.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
tree-vect-patterns.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
tree-vect-slp.c re PR tree-optimization/71752 (ICE in compute_live_loop_exits, at tree-ssa-loop-manip.c:229 w/ -O1 -ftree-vectorize) 2016-08-17 15:31:44 +00:00
tree-vect-stmts.c tree-vect-stmts.c (vectorizable_load): Avoid emitting vector constructors with vector elements. 2016-09-29 07:16:10 +00:00
tree-vectorizer.c ipa-inline-analysis.c (find_foldable_builtin_expect): Use gimple_call_internal_p. 2016-09-26 15:50:13 +00:00
tree-vectorizer.h re PR tree-optimization/77503 (ICE in vect_transform_stmt compiling postgresql) 2016-09-15 16:31:35 +00:00
tree-vrp.c tree-vrp.c (intersect_ranges): If we failed to handle the intersection choose a constant singleton range if... 2016-09-30 07:09:28 +00:00
tree-vrp.h Fix ipa-vrp convert value_range 2016-09-27 03:41:14 +00:00
tree.c Implement C _FloatN, _FloatNx types. 2016-08-19 18:43:26 +01:00
tree.def
tree.h tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
treestruct.def
tsan.c tree.h (memmodel_from_int, [...]): Move to ... 2016-09-26 17:20:39 +00:00
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.c Improvements to typed_splay_tree 2016-09-02 15:22:21 +00:00
typed-splay-tree.h Improvements to typed_splay_tree 2016-09-02 15:22:21 +00:00
ubsan.c ubsan.c (ubsan_use_new_style_p): Fix check for empty string. 2016-09-03 10:57:05 +00:00
ubsan.h
valtrack.c
valtrack.h
value-prof.c Remove HIST_TYPE_CONST_DELTA counter type (PR gcov-profile/23332) 2016-09-26 11:04:18 +00:00
value-prof.h Remove HIST_TYPE_CONST_DELTA counter type (PR gcov-profile/23332) 2016-09-26 11:04:18 +00:00
var-tracking.c Add inline functions for various bitwise operations. 2016-09-16 15:20:44 -04:00
varasm.c PR bootstrap/77753 - [7 Regression] broken profiledbootstrap due to 2016-09-28 10:02:06 -06:00
varasm.h
varpool.c handle undefined extern vars in output_in_order 2016-07-15 14:01:23 +03:00
vec.c
vec.h vec.h (vNULL): Extend comment to say = vNULL initialization isn't needed for static vars. 2016-09-23 18:59:14 +02:00
version.c
version.h
vmsdbg.h
vmsdbgout.c
vtable-verify.c
vtable-verify.h
web.c
wide-int-print.cc builtins.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1... 2016-07-19 18:40:55 +02:00
wide-int-print.h
wide-int.cc builtins.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1... 2016-07-19 18:40:55 +02:00
wide-int.h builtins.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1... 2016-07-19 18:40:55 +02:00
xcoff.h
xcoffout.c
xcoffout.h

README.Portability

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