gcc/gcc
Martin Liska 6aa1abe5f2 re PR tree-optimization/71239 (ICE in operand_equal_p (fold-const.c:2769))
Fix PR tree-optimization/71239.

	* g++.dg/pr71239.C: New test.
	PR tree-optimization/71239
	* tree.c (array_at_struct_end_p): Do not call operand_equal_p
	if DECL_SIZE is NULL.

From-SVN: r236696
2016-05-25 09:10:16 +00:00
..
ada tree-vrp.c (compare_values_warnv): Simplify handling of symbolic ranges by calling get_single_symbol and tidy up. 2016-05-20 21:46:58 +00:00
c c-parser.c (c_parser_oacc_declare): Add support for GOMP_MAP_FIRSTPRIVATE_POINTER. 2016-05-24 15:54:21 -07:00
c-family re PR middle-end/70434 (adding an extraneous cast to vector type results in inferior code) 2016-05-24 07:55:56 +00:00
common revert: re PR target/70738 (Add -mgeneral-regs-only option) 2016-05-22 19:20:10 +02:00
config altivec.md (VNEG iterator): New iterator for VNEGW/VNEGD instructions. 2016-05-24 23:19:08 +00:00
cp c-parser.c (c_parser_oacc_declare): Add support for GOMP_MAP_FIRSTPRIVATE_POINTER. 2016-05-24 15:54:21 -07:00
doc altivec.md (VParity): New mode iterator for vector parity built-in functions. 2016-05-24 22:45:45 +00:00
fortran re PR fortran/66461 (ICE on missing end program in fixed source) 2016-05-24 04:15:39 +00:00
ginclude Test __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ 2016-01-29 12:29:42 +00:00
go escape: Implement the discovery phase. 2016-05-13 20:42:36 +00:00
java Forgotten gcc/java/ChangeLog entry. 2016-04-28 16:23:36 +00:00
jit jit: implement gcc_jit_rvalue_set_bool_require_tail_call 2016-05-20 19:12:49 +00:00
lto lto-cgraph.c (compute_ltrans_boundary, [...]): Fix handling of inline thunks 2016-05-16 09:55:14 +00:00
objc tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount. 2016-04-18 20:36:27 +00:00
objcp
po * da.po, sv.po: Update. 2016-05-18 01:10:15 +01:00
testsuite re PR tree-optimization/71239 (ICE in operand_equal_p (fold-const.c:2769)) 2016-05-25 09:10:16 +00:00
ABOUT-GCC-NLS
BASE-VER * BASE-VER: Set to 7.0.0. 2016-04-15 16:55:57 +02:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog re PR tree-optimization/71239 (ICE in operand_equal_p (fold-const.c:2769)) 2016-05-25 09:10:16 +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 Minor ChangeLog formatting fixes. 2016-03-02 21:30:48 +01:00
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2016-05-25 00:16:19 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Makefile.in (GTFILES): Add cilk.h and cilk-common.c. 2016-05-19 12:03:30 -06:00
ONEWS
README.Portability
acinclude.m4
aclocal.m4
addresses.h
alias.c re PR middle-end/71002 (-fstrict-aliasing breaks Boost's short string optimization implementation) 2016-05-11 10:24:11 +00:00
alias.h
alloc-pool.c Do not gather mem stats in run_exit_handles (PR 2016-02-25 16:57:39 +00:00
alloc-pool.h Do not gather mem stats in run_exit_handles (PR 2016-02-25 16:57:39 +00:00
asan.c re PR sanitizer/70541 (unnoticed invalid dereference when using address sanitizer) 2016-04-08 13:46:13 +03:00
asan.h
attribs.c Implement C++17 [[maybe_unused]] attribute. 2016-04-25 13:21:49 -04:00
attribs.h Implement C++17 [[maybe_unused]] attribute. 2016-04-25 13:21:49 -04:00
auto-inc-dec.c
auto-profile.c [PATCH 2/2] (header usage fix) include c++ headers in system.h 2016-04-22 11:00:42 +00:00
auto-profile.h
backend.h
basic-block.h
bb-reorder.c re PR rtl-optimization/69609 (block reordering consumes an inordinate amount of time, REE consumes much memory) 2016-02-17 14:57:58 +00:00
bb-reorder.h
bitmap.c * bitmap.c (bitmap_find_bit): Remove useless test. 2016-05-20 15:32:56 -06:00
bitmap.h re PR tree-optimization/64058 (Performance degradation after r216304) 2016-03-23 07:20:16 -06:00
bt-load.c
builtin-attrs.def
builtin-types.def Merge of HSA 2016-01-19 11:35:10 +01:00
builtins.c builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
builtins.def
builtins.h re PR target/49244 (__sync or __atomic builtins will not emit 'lock bts/btr/btc') 2016-05-03 13:37:25 +02:00
caller-save.c
calls.c calls.c: fix warning on targets without REG_PARM_STACK_SPACE 2016-05-20 18:52:56 +00:00
calls.h
ccmp.c This patch fixes an exponential issue in ccmp.c. 2016-02-04 18:23:35 +00:00
ccmp.h
cfg-flags.def
cfg.c
cfg.h
cfganal.c re PR tree-optimization/71253 (ICE during loop distribution w/ -O2 -ftree-loop-distribution) 2016-05-24 12:40:01 +00:00
cfganal.h re PR tree-optimization/71253 (ICE during loop distribution w/ -O2 -ftree-loop-distribution) 2016-05-24 12:40:01 +00:00
cfgbuild.c
cfgbuild.h
cfgcleanup.c cfgcleanup: Handle a branch with just a return in both arms (PR71028) 2016-05-11 01:31:27 +02:00
cfgcleanup.h
cfgexpand.c Implement CALL_EXPR_MUST_TAIL_CALL 2016-05-20 14:20:03 +00:00
cfgexpand.h
cfghooks.c re PR tree-optimization/69740 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure") 2016-03-07 10:01:54 -07:00
cfghooks.h
cfgloop.c
cfgloop.h cfgloop.h (expected_loop_iterations_unbounded, [...]): Unconstify. 2016-05-20 13:19:59 +00:00
cfgloopanal.c cfgloop.h (expected_loop_iterations_unbounded, [...]): Unconstify. 2016-05-20 13:19:59 +00:00
cfgloopmanip.c tree-ssanames.c (release_free_names_and_compact_live_names): Replace "the the" with "the" in the comments. 2016-01-23 15:13:53 +01:00
cfgloopmanip.h
cfgrtl.c re PR middle-end/70807 (fwprop pass ICE with incoming CDI_DOMINATORS) 2016-05-11 09:33:13 +00:00
cfgrtl.h re PR middle-end/70807 (fwprop pass ICE with incoming CDI_DOMINATORS) 2016-05-11 09:33:13 +00:00
cgraph.c cgraph.c (cgraph_node::get_availability): Fix typo in comment. 2016-05-25 07:38:32 +00:00
cgraph.h Indirect inlining of targets from references of global constants 2016-05-18 18:38:56 +02:00
cgraphbuild.c
cgraphclones.c ipa-inline-transform.c (preserve_function_body_p): Look for first non-thunk clone. 2016-05-18 07:12:46 +00:00
cgraphunit.c cgraph.c (thunk_adjust): Export. 2016-05-08 18:44:02 +00:00
chkp-builtins.def
cif-code.def ipa-inline-analysis.c (compute_inline_parameters): Disable inlinig into instrumentation thunks. 2016-05-16 19:33:02 +00:00
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: Don't call extract_left_shift with count < 0 (PR67483) 2016-05-14 01:01:40 +02:00
common.md
common.opt re PR c/49859 (gcc could warn about statements between "switch" and first "case") 2016-05-23 15:37:09 +00:00
compare-elim.c
conditions.h
config.build
config.gcc Add support for MIPS SIMD Architecture (MSA). 2016-05-09 12:04:09 +00:00
config.host
config.in Error out on -fvtable-verify without --enable-vtable-verify 2016-05-09 11:54:55 +00:00
configure configure.ac: Add ACX_NONCANONICAL_HOST. 2016-05-16 08:55:12 +00:00
configure.ac configure.ac: Add ACX_NONCANONICAL_HOST. 2016-05-16 08:55:12 +00:00
context.c
context.h
convert.c * convert.c (convert_to_integer_1): Re-indent. 2016-02-08 10:31:53 -05:00
convert.h re PR c++/69631 (Bogus overflow in constant expression error) 2016-02-08 10:31:47 -05:00
coretypes.h Add OVERRIDE and FINAL macros to coretypes.h 2016-05-06 17:02:01 +00:00
coverage.c tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount. 2016-04-18 20:36:27 +00:00
coverage.h
cppbuiltin.c re PR sanitizer/64354 (no preprocessor symbol __SANITIZE_THREAD__) 2016-05-19 15:05:59 +03:00
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c
cse.c cse.c (cse_main): Free dominance info. 2016-05-19 13:50:22 +00:00
cselib.c re PR rtl-optimization/70886 (-frename-registers causes boostrap comparison failures on ia64) 2016-05-02 10:08:59 +00:00
cselib.h re PR rtl-optimization/70886 (-frename-registers causes boostrap comparison failures on ia64) 2016-05-02 10:08:59 +00:00
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c
dbxout.h
dce.c
dce.h
ddg.c
ddg.h
debug.c
debug.h
defaults.h
df-core.c df: make df_problem instances "const" 2016-04-27 18:18:45 +00:00
df-problems.c df: make df_problem instances "const" 2016-04-27 18:18:45 +00:00
df-scan.c Fix PR44281, bad RA with global regs. 2016-05-03 09:35:42 +00:00
df.h df: make df_problem instances "const" 2016-04-27 18:18:45 +00:00
dfp.c
dfp.h
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h
diagnostic-show-locus.c Add debugging ruler to diagnostic-show-locus.c 2016-05-10 13:28:41 +00:00
diagnostic.c [PATCH 1/2] (header usage fix) remove unused system header includes 2016-04-22 10:57:56 +00:00
diagnostic.def
diagnostic.h Add debugging ruler to diagnostic-show-locus.c 2016-05-10 13:28:41 +00:00
dojump.c
dojump.h
dominance.c
dominance.h
domwalk.c
domwalk.h
double-int.c
double-int.h
dse.c builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
dumpfile.c Only finalize dot files that have been initialized 2016-04-17 05:22:33 +00:00
dumpfile.h Only finalize dot files that have been initialized 2016-04-17 05:22:33 +00:00
dwarf2asm.c
dwarf2asm.h
dwarf2cfi.c
dwarf2out.c re PR debug/71057 (ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142) 2016-05-11 13:59:34 +00:00
dwarf2out.h DWARF: turn dw_loc_descr_node field into hash map for frame offset check 2016-04-27 15:03:40 +00:00
emit-rtl.c maybe_set_first_label_num can take an rtx_code_label * 2016-04-27 18:22:12 +00:00
emit-rtl.h
errors.c
errors.h
et-forest.c
et-forest.h
except.c builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
except.h
exec-tool.in
explow.c re PR debug/70628 (ICE in get_reg_rtx, at emit-rtl.c:1025) 2016-04-13 15:57:29 +02:00
explow.h
expmed.c re PR middle-end/37870 (ICE in extract_bit_field_1) 2016-04-18 09:25:46 +00:00
expmed.h
expr.c re PR target/29756 (SSE intrinsics hard to use without redundant temporaries appearing) 2016-05-20 09:17:16 +00:00
expr.h builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
fibonacci_heap.h
file-find.c
file-find.h
final.c system.h (string, algorithm): Include only conditionally. 2016-01-22 16:44:10 +00:00
fixed-value.c
fixed-value.h
flag-types.h Move "X +- C1 CMP C2 to X CMP C2 -+ C1" to match.pd 2016-05-02 14:09:07 +00:00
flags.h
fold-const-call.c
fold-const-call.h
fold-const.c re PR target/29756 (SSE intrinsics hard to use without redundant temporaries appearing) 2016-05-20 09:17:16 +00:00
fold-const.h Move "X +- C1 CMP C2 to X CMP C2 -+ C1" to match.pd 2016-05-02 14:09:07 +00:00
fp-test.c
function.c This fixes a bug in my r236491: on nvptx, functions without prologue 2016-05-20 23:31:17 +02:00
function.h re PR middle-end/70199 (Crash at -O2 when using labels.) 2016-03-16 09:50:18 -07:00
fwprop.c fwprop.c (fwprop): Remove duplicate cleanup_cfg call. 2016-05-06 07:27:33 +00:00
gcc-ar.c
gcc-main.c
gcc-plugin.h
gcc-rich-location.c PR c++/70105: Defer location expansion until diagnostic_show_locus 2016-03-09 18:14:43 +00:00
gcc-rich-location.h
gcc-symtab.h
gcc.c Error out on -fvtable-verify without --enable-vtable-verify 2016-05-09 11:54:55 +00:00
gcc.h PR driver/69265 and 69453: improved suggestions for various misspelled options 2016-02-12 17:39:27 +00:00
gcov-counter.def
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov-tool.c
gcov.c
gcse-common.c
gcse-common.h
gcse.c re PR rtl-optimization/70007 (wrong code with -mbmi2) 2016-03-01 22:31:52 +00:00
gcse.h
gdbasan.in
gdbhooks.py Add dot-fn to gdbhooks.py 2016-02-22 10:31:41 +00:00
gdbinit.in * gdbinit.in: Skip line-map.h. 2016-04-28 15:04:23 -04:00
gen-pass-instances.awk
genattr-common.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genattr.c genautomata.c cleanup 2016-05-11 21:13:11 +03:00
genattrtab.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genautomata.c genautomata.c cleanup 2016-05-11 21:13:11 +03:00
gencfn-macros.c
gencheck.c
genchecksum.c
gencodes.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genconditions.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genconfig.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genconstants.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genemit.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genenums.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
generic-match-head.c
generic-match.h
genextract.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genflags.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
gengenrtl.c
gengtype-lex.l
gengtype-parse.c
gengtype-state.c
gengtype.c Makefile.in (GTFILES): Add cilk.h and cilk-common.c. 2016-05-19 12:03:30 -06:00
gengtype.h
genhooks.c
genmatch.c match.pd: X + X --> X * 2 for integers 2016-04-26 14:02:09 +00:00
genmddeps.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genmddump.c * genmddump.c (main): Convert argv from char ** to const char **. 2016-05-06 22:42:10 +02:00
genmodes.c machmode.h (mode_complex): Add support to give the complex mode for a given mode. 2016-05-02 23:23:45 +00:00
genmultilib
genopinit.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genoutput.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genpeep.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genpreds.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
genrecog.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
gensupport.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
gensupport.h Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
gentarget-def.c Make argv const char ** in read_md_files etc 2016-05-06 15:14:05 +00:00
ggc-common.c re PR pch/68758 (Invalid read of size 8 in gt_pch_save (ggc-common.c:551)) 2016-01-28 08:39:05 +00:00
ggc-internal.h
ggc-none.c
ggc-page.c
ggc.h
gimple-builder.c
gimple-builder.h
gimple-expr.c tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount. 2016-04-18 20:36:27 +00:00
gimple-expr.h re PR tree-optimization/70177 (ICE in extract_ops_from_tree starting with r233660) 2016-03-11 13:28:50 +01:00
gimple-fold.c tree-cfg.h (should_remove_lhs_p): New predicate. 2016-05-24 13:34:37 +00:00
gimple-fold.h
gimple-iterator.c
gimple-iterator.h
gimple-laddress.c
gimple-low.c gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
gimple-low.h
gimple-match-head.c gimple-match.h (maybe_build_generic_op): Adjust prototype. 2016-04-20 12:49:58 +00:00
gimple-match.h gimple-match.h (maybe_build_generic_op): Adjust prototype. 2016-04-20 12:49:58 +00:00
gimple-predict.h
gimple-pretty-print.c Implement CALL_EXPR_MUST_TAIL_CALL 2016-05-20 14:20:03 +00:00
gimple-pretty-print.h
gimple-ssa-backprop.c gimple-ssa-backprop.c (optimize_phi): Do not replace an argument corresponding to an abnormal edge. 2016-02-09 17:21:57 +00:00
gimple-ssa-isolate-paths.c cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor. 2016-02-12 00:53:54 +01:00
gimple-ssa-nonnull-compare.c re PR c++/69850 (unnecessary -Wnonnull-compare warning) 2016-02-17 23:27:24 +01:00
gimple-ssa-split-paths.c re PR tree-optimization/69999 (ICE in verify_loop_structure, at cfgloop.c:1639 (error: loop with header 3 not in loop tree) at -O3 or -Ofast) 2016-02-29 15:45:41 -07:00
gimple-ssa-strength-reduction.c Support << and >> for offset_int and widest_int 2016-05-02 09:39:38 +00:00
gimple-ssa.h
gimple-streamer-in.c
gimple-streamer-out.c
gimple-streamer.h
gimple-walk.c gimple-walk.h (struct walk_stmt_info): Add stmt member. 2016-04-19 12:13:04 +00:00
gimple-walk.h gimple-walk.h (struct walk_stmt_info): Add stmt member. 2016-04-19 12:13:04 +00:00
gimple.c Implement CALL_EXPR_MUST_TAIL_CALL 2016-05-20 14:20:03 +00:00
gimple.def Merge of HSA 2016-01-19 11:35:10 +01:00
gimple.h Implement CALL_EXPR_MUST_TAIL_CALL 2016-05-20 14:20:03 +00:00
gimplify-me.c re PR middle-end/70499 (internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266) 2016-04-05 08:05:06 +00:00
gimplify-me.h
gimplify.c c-parser.c (c_parser_oacc_declare): Add support for GOMP_MAP_FIRSTPRIVATE_POINTER. 2016-05-24 15:54:21 -07:00
gimplify.h gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
glimits.h
godump.c
graph.c Add dot-fn to gdbhooks.py 2016-02-22 10:31:41 +00:00
graph.h
graphds.c
graphds.h
graphite-dependences.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
graphite-isl-ast-to-gimple.c [PATCH 2/2] (header usage fix) include c++ headers in system.h 2016-04-22 11:00:42 +00:00
graphite-optimize-isl.c Fix optimize_isl dump 2016-01-28 10:23:24 -08:00
graphite-poly.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
graphite-scop-detection.c Handle NULL def in build_cross_bb_scalars_def 2016-05-07 06:47:07 +00:00
graphite-sese-to-poly.c Fix pdr accesses order 2016-04-09 15:28:24 +00:00
graphite.c re PR bootstrap/70706 (r235082 caused bootstrap failure) 2016-04-17 18:04:51 +00:00
graphite.h new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c haifa-sched.c (autopref_multipass_init): Work around -Wmaybe-uninitialized warning. 2016-01-18 10:02:42 +01:00
hard-reg-set.h Fix PR44281, bad RA with global regs. 2016-05-03 09:35:42 +00:00
hash-map-traits.h
hash-map.h
hash-set.h
hash-table.c
hash-table.h Optimise hash_table::empty 2016-01-16 11:03:18 +00:00
hash-traits.h
highlev-plugin-common.h
hooks.c
hooks.h
host-default.c
hosthooks-def.h
hosthooks.h
hsa-brig-format.h Merge of HSA 2016-01-19 11:35:10 +01:00
hsa-brig.c hsa: Fix bootstrap with older host compilers 2016-04-18 10:57:01 +02:00
hsa-dump.c re PR hsa/70402 (HSA: SBR instruction can be undefined) 2016-04-04 08:46:51 +00:00
hsa-gen.c [hsa] Avoid segfault in hsa switch expansion 2016-05-23 13:45:13 +02:00
hsa-regalloc.c HSA: handle alignment of string builtins (PR hsa/70391) 2016-03-31 17:10:48 +00:00
hsa.c HSA: support alignment for hsa_symbols (PR hsa/70391) 2016-03-31 17:10:15 +00:00
hsa.h re PR hsa/70402 (HSA: SBR instruction can be undefined) 2016-04-04 08:46:51 +00:00
hw-doloop.c
hw-doloop.h
hwint.c
hwint.h cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor. 2016-02-12 00:53:54 +01:00
ifcvt.c re PR rtl-optimization/69291 (wrong code at -O1 for ruby-2.3.0/regcomp.c:985:compile_length_quantifier_node()) 2016-02-16 10:53:08 +00:00
ifcvt.h
inchash.c
inchash.h
incpath.c
incpath.h
init-regs.c
input.c re PR c/70859 (Bad column number in type-generic function errors) 2016-05-03 18:03:42 +00:00
input.h re PR c/70859 (Bad column number in type-generic function errors) 2016-05-03 18:03:42 +00:00
insn-addr.h
insn-notes.def
internal-fn.c re PR target/49244 (__sync or __atomic builtins will not emit 'lock bts/btr/btc') 2016-05-03 13:37:25 +02:00
internal-fn.def re PR target/49244 (__sync or __atomic builtins will not emit 'lock bts/btr/btc') 2016-05-03 13:37:25 +02:00
internal-fn.h
intl.c
intl.h
ipa-chkp.c re PR middle-end/70199 (Crash at -O2 when using labels.) 2016-03-16 09:50:18 -07:00
ipa-chkp.h
ipa-comdats.c
ipa-cp.c [PR 71234] Avoid valgrind warning in ipa-cp 2016-05-23 18:31:14 +02:00
ipa-devirt.c re PR ipa/66223 (Diagnostic of pure virtual function call broken, including __cxa_pure_virtual) 2016-04-05 20:58:56 +00:00
ipa-hsa.c Merge of HSA 2016-01-19 11:35:10 +01:00
ipa-icf-gimple.c [PATCH 1/2] (header usage fix) remove unused system header includes 2016-04-22 10:57:56 +00:00
ipa-icf-gimple.h
ipa-icf.c Set DECL_PT_UID for merged variables in IPA ICF (PR70856). 2016-05-18 11:48:50 +00:00
ipa-icf.h
ipa-inline-analysis.c Indirect inlining of targets from references of global constants 2016-05-18 18:38:56 +02:00
ipa-inline-transform.c ipa-inline-transform.c (preserve_function_body_p): Look for first non-thunk clone. 2016-05-18 07:12:46 +00:00
ipa-inline.c ipa-inline.c (report_inline_failed_reason): Look into thunks, too 2016-05-16 09:56:19 +00:00
ipa-inline.h [PR 70646] Store size to inlining predicate conditions 2016-05-18 15:04:23 +02:00
ipa-polymorphic-call.c re PR c++/70594 (-fcompare-debug failure) 2016-04-14 21:21:31 +02:00
ipa-profile.c
ipa-prop.c Allow constant global VAR_DECLs in constant jump functions 2016-05-18 18:44:08 +02:00
ipa-prop.h Indirect inlining of targets from references of global constants 2016-05-18 18:38:56 +02:00
ipa-pure-const.c Fix memory leak in ipa-pure-const 2016-05-19 15:06:17 +00:00
ipa-ref.c
ipa-ref.h
ipa-reference.c ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling - becuase -> because. 2016-03-08 18:49:34 +01:00
ipa-reference.h
ipa-split.c re PR ipa/69241 (ICE with noreturn and function that return non-POD) 2016-02-12 12:59:00 +01:00
ipa-utils.c
ipa-utils.h re PR c++/70594 (-fcompare-debug failure) 2016-04-14 21:21:31 +02:00
ipa-visibility.c re PR lto/68881 (UNRESOLVED/FAIL: gcc.dg/lto/attr-weakref-1 -O2 -flto) 2016-04-04 09:26:29 +00:00
ipa.c re PR ipa/69589 (ICE in initialize_node_lattices, at ipa-cp.c:971) 2016-03-10 16:11:14 +00:00
ira-build.c cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor. 2016-02-12 00:53:54 +01:00
ira-color.c re PR rtl-optimization/70461 (Performance regression after r234527) 2016-03-31 17:51:13 +00:00
ira-conflicts.c
ira-costs.c Improve TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS target hook. 2016-02-02 17:12:56 +00:00
ira-emit.c
ira-int.h
ira-lives.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
ira.c PR70890, stage2 miscompilation 2016-05-04 00:13:35 +09:30
ira.h
is-a.h
jump.c
langhooks-def.h re PR c/70756 (Wrong column number shown for "error: invalid use of flexible array member") 2016-05-12 15:28:08 +00:00
langhooks.c nvptx.c (nvptx_mangle_decl_assembler_name): New. 2016-05-13 15:51:24 +00:00
langhooks.h re PR c/70756 (Wrong column number shown for "error: invalid use of flexible array member") 2016-05-12 15:28:08 +00:00
lcm.c
lcm.h
libfuncs.h builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
limitx.h
limity.h
lists.c
lock-and-run.sh
loop-doloop.c loop-doloop.c (doloop_optimize): Use get_estimated_loop_iterations_int and get_max_loop_iterations_int. 2016-05-20 12:59:08 +00:00
loop-init.c
loop-invariant.c re PR rtl-optimization/69052 (Performance regression after r229402.) 2016-03-02 14:10:56 +00:00
loop-iv.c
loop-unroll.c
loop-unroll.h
lower-subreg.c re PR target/70355 (ICE: in simplify_subreg_concatn, at lower-subreg.c:617 with -funroll-loops -mavx512f) 2016-03-29 08:19:00 -07:00
lower-subreg.h
lra-assigns.c Avoid terminating early in LRA, unless -fchecking (PR57676) 2016-03-04 14:12:36 +00:00
lra-coalesce.c re PR rtl-optimization/68990 (wrong code at -O3 on x86_64-pc-linux-gnu in 32-bit mode.) 2016-01-21 16:01:22 +00:00
lra-constraints.c [Patch, lra] Guard in_class_p with REG_P check 2016-05-18 14:37:28 +00:00
lra-eliminations.c re PR rtl-optimization/69691 (wrong code at -O2 on x86_64-linux-gnu) 2016-02-05 22:13:43 +01:00
lra-int.h
lra-lives.c LRA: identify biggest access mode for hard_regs and use it in split_reg 2016-03-14 15:08:54 +00:00
lra-remat.c re PR target/70123 (Miscompilation of cfitsio testcase on s390x-linux starting with r222144) 2016-03-11 15:38:41 -07:00
lra-spills.c re PR rtl-optimization/70596 (-fcompare-debug failure with one extra NOTE_INSN_DELETED) 2016-04-12 19:18:31 +02:00
lra.c re PR rtl-optimization/70326 (ICE: RTL check: expected elt 3 type 'e' or 'u', have '0' (rtx note) in PATTERN, at rtl.h:1440) 2016-03-21 22:04:32 +01:00
lra.h
lto-cgraph.c ipa-inline-transform.c (preserve_function_body_p): Look for first non-thunk clone. 2016-05-18 07:12:46 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c LTO: display file name if LTO version check fails 2016-05-19 15:02:30 +00:00
lto-section-names.h
lto-section-out.c
lto-streamer-in.c ipa-inline-transform.c (preserve_function_body_p): Look for first non-thunk clone. 2016-05-18 07:12:46 +00:00
lto-streamer-out.c lto-streamer-in.c (input_ssa_names): Do not allocate GIMPLE_NOP for all SSA names. 2016-04-22 09:05:10 +00:00
lto-streamer.c LTO: display file name if LTO version check fails 2016-05-19 15:02:30 +00:00
lto-streamer.h LTO: display file name if LTO version check fails 2016-05-19 15:02:30 +00:00
lto-wrapper.c re PR driver/68463 (Offloading fails when some objects are compiled with LTO and some without) 2016-02-25 12:23:52 +00:00
machmode.def
machmode.h machmode.h (mode_complex): Add support to give the complex mode for a given mode. 2016-05-02 23:23:45 +00:00
main.c
match.pd match.pd: Relax some tree_nop_conversion_p 2016-05-23 17:49:10 +00:00
mcf.c
mem-stats-traits.h Missing copyright for mem-stats header files. 2016-02-01 13:57:09 +00:00
mem-stats.h mem-stats.h (struct mem_usage): Use PRIu64 for printing size_t. 2016-02-23 14:01:51 +00:00
memory-block.cc
memory-block.h
mkconfig.sh
mode-classes.def
mode-switching.c
modulo-sched.c re PR target/69252 (gcc.dg/vect/vect-iv-9.c FAILs with -Os -fmodulo-sched -fmodulo-sched-allow-regmoves -fsched-pressure) 2016-01-21 15:58:29 -07:00
multiple_target.c
omp-builtins.def Merge BUILT_IN_GOACC_HOST_DATA into BUILT_IN_GOACC_DATA_START 2016-02-02 14:53:55 +01:00
omp-low.c [PR 70857] Copy RESULT_DECL of HSA outlined kernel function 2016-05-16 17:40:30 +02:00
omp-low.h omp-low.h (oacc_fn_attrib_kernels_p): Declare. 2016-01-26 14:32:30 +00:00
omp-simd-clone.c Fix memory leak in omp-simd-clone.c 2016-05-19 15:05:26 +00:00
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs-libfuncs.c builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
optabs-libfuncs.h
optabs-query.c
optabs-query.h
optabs-tree.c re PR tree-optimization/69282 (aarch64/armhf ICE on SPEC2006 464.h264ref at -O3) 2016-02-09 19:13:53 -08:00
optabs-tree.h
optabs.c builtins.c (expand_builtin_memcmp): Do not emit the call here. 2016-05-13 08:49:20 +00:00
optabs.def re PR target/49244 (__sync or __atomic builtins will not emit 'lock bts/btr/btc') 2016-05-03 13:37:25 +02:00
optabs.h
optc-gen.awk
optc-save-gen.awk
opth-gen.awk
opts-common.c PR driver/69265: add hint for options with misspelled arguments 2016-05-19 00:52:08 +00:00
opts-diagnostic.h
opts-global.c re PR target/48344 (powerpc ICE with -fstack-limit-register=r2) 2016-02-16 23:12:19 +00:00
opts.c re PR driver/71063 (ICE: Segmentation fault with --help="^") 2016-05-12 10:59:11 +00:00
opts.h re PR target/48344 (powerpc ICE with -fstack-limit-register=r2) 2016-02-16 23:12:19 +00:00
output.h
params-enum.h
params-list.h
params.c
params.def re PR tree-optimization/56541 (vectorizaton fails in conditional assignment of a constant) 2016-05-03 09:04:46 +00:00
params.h
pass_manager.h Move name_to_pass_map into class pass_manager 2016-05-06 15:18:59 +00:00
passes.c Move name_to_pass_map into class pass_manager 2016-05-06 15:18:59 +00:00
passes.def re PR tree-optimization/70729 (Loop marked with omp simd pragma is not vectorized) 2016-05-19 07:39:52 +00:00
plugin.c
plugin.def
plugin.h
postreload-gcse.c
postreload.c re PR rtl-optimization/69941 (bogus zero_extend transformation in postreload on aarch64) 2016-03-04 22:30:10 -07:00
predict.c predict.c (combine_predictions_for_bb): Add dry_run parmaeter. 2016-04-17 16:08:27 +00:00
predict.def
predict.h re PR bootstrap/70706 (r235082 caused bootstrap failure) 2016-04-17 18:30:21 +00:00
prefix.c
prefix.h
pretty-print.c [PATCH 1/2] (header usage fix) remove unused system header includes 2016-04-22 10:57:56 +00:00
pretty-print.h PR other/69006: fix extra newlines after diagnostics 2016-01-26 17:08:12 +00:00
print-rtl.c make avail_stores a vec<rtx_insn *> 2016-04-24 08:45:38 +00:00
print-rtl.h make avail_stores a vec<rtx_insn *> 2016-04-24 08:45:38 +00:00
print-tree.c Implement CALL_EXPR_MUST_TAIL_CALL 2016-05-20 14:20:03 +00:00
print-tree.h
profile.c predict.c (combine_predictions_for_bb): Add dry_run parmaeter. 2016-04-17 16:08:27 +00:00
profile.h
read-md.c Simplify read-md.c and read-rtl.c using require_char_ws 2016-05-10 18:28:10 +00:00
read-md.h Simplify read-md.c and read-rtl.c using require_char_ws 2016-05-10 18:28:10 +00:00
read-rtl.c Simplify read-md.c and read-rtl.c using require_char_ws 2016-05-10 18:28:10 +00:00
real.c
real.h
realmpfr.c
realmpfr.h
recog.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
recog.h
ree.c re PR rtl-optimization/70542 (Wrong code with -O3 -mavx2.) 2016-04-05 19:05:23 +02:00
reg-notes.def
reg-stack.c
regcprop.c re PR rtl-optimization/69896 (wrong code with -frename-registers @ x64_64) 2016-02-25 09:09:02 +01:00
regcprop.h
reginfo.c Fix PR44281, bad RA with global regs. 2016-05-03 09:35:42 +00:00
regrename.c regrename.c (base_reg_class_for_rename): New static function. 2016-05-09 09:44:30 +00:00
regrename.h
regs.h Goodbye REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED 2016-04-30 09:31:52 +09:30
regset.h
regstat.c Goodbye REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED 2016-04-30 09:31:52 +09:30
reload.c PRE_INC with invalid hard reg 2016-02-14 12:07:40 +10:30
reload.h
reload1.c avr-related reload fix from Senthil Kumar Selvaraj 2016-04-29 08:59:09 +00:00
reorg.c reorg.c (try_merge_delay_insns): Declare i and j inside the for loops rather than one for the whole function. 2016-04-26 22:32:05 +02:00
resource.c
resource.h
rtl-chkp.c
rtl-chkp.h
rtl-error.c
rtl-error.h
rtl-iter.h
rtl.c
rtl.def Fix comment in rtl.def 2016-04-27 17:54:42 +00:00
rtl.h maybe_set_first_label_num can take an rtx_code_label * 2016-04-27 18:22:12 +00:00
rtlanal.c [rtlanal.c] Convert conditional compilation on WORD_REGISTER_OPERATIONS 2016-04-27 14:38:10 +00:00
rtlhash.c
rtlhash.h
rtlhooks-def.h
rtlhooks.c
sancov.c
sanitizer.def re PR lto/69254 (ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only) 2016-01-27 19:48:30 +01:00
sanopt.c
sbitmap.c sbitmap: Remove popcount 2016-04-28 20:43:12 +02:00
sbitmap.h sbitmap: Remove popcount 2016-04-28 20:43:12 +02:00
sched-deps.c sched-deps.c (sched_analyze_2): Also force pending loads from memory. 2016-05-19 19:52:56 +02:00
sched-ebb.c cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor. 2016-02-12 00:53:54 +01:00
sched-int.h re PR target/64411 (ICE: in verify_target_availability, at sel-sched.c:1577 with -Os -mcmodel=medium -fPIC -fschedule-insns -fselective-scheduling) 2016-03-15 18:13:29 +03:00
sched-rgn.c
sdbout.c
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c re PR rtl-optimization/69032 (ICE: in cfg_preds_1, at sel-sched-ir.c:4809 with -fsched-pressure -fsel-sched-pipelining -fselective-scheduling) 2016-03-15 18:42:07 +03:00
sel-sched-ir.h
sel-sched.c re PR rtl-optimization/63384 (scheduler loops on endless fence list with -fselective-scheduling2 on x86) 2016-03-15 18:25:41 +03:00
sel-sched.h
sese.c new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
sese.h new scop schedule for isl-0.15 2016-01-26 00:19:20 +00:00
shrink-wrap.c function: Restructure *logue insertion 2016-05-20 00:17:53 +02:00
shrink-wrap.h function: Restructure *logue insertion 2016-05-20 00:17:53 +02:00
signop.h
simplify-rtx.c re PR debug/70628 (ICE in get_reg_rtx, at emit-rtl.c:1025) 2016-04-13 14:26:26 +02:00
sparseset.c
sparseset.h
spellcheck-tree.c
spellcheck.c PR driver/69265 and 69453: improved suggestions for various misspelled options 2016-02-12 17:39:27 +00:00
spellcheck.h PR driver/69265 and 69453: improved suggestions for various misspelled options 2016-02-12 17:39:27 +00:00
sreal.c
sreal.h
ssa-iterators.h re PR tree-optimization/70405 (-fcompare-debug failure with -mavx512f) 2016-03-29 19:33:52 +02:00
ssa.h
stab.def
stack-ptr-mod.c
statistics.c
statistics.h
stmt.c re PR target/69299 (-mavx performance degradation with r232088) 2016-01-29 18:47:17 +00:00
stmt.h
stor-layout.c machmode.h (mode_complex): Add support to give the complex mode for a given mode. 2016-05-02 23:23:45 +00:00
stor-layout.h re PR ada/70759 (Ada rts fails to build with -mabi=ilp32) 2016-04-27 07:49:49 +00:00
store-motion.c make avail_stores a vec<rtx_insn *> 2016-04-24 08:45:38 +00:00
streamer-hooks.c
streamer-hooks.h
stringpool.c
stringpool.h
symbol-summary.h Symbol summary: refactor usage of gcc_checking_asserts 2016-05-02 09:20:01 +00:00
symtab.c cgraph.c (cgraph_node::get_availability): Fix typo in comment. 2016-05-25 07:38:32 +00:00
sync-builtins.def
system.h Remove TARGET_INVALID_PARAMETER_TYPE and TARGET_INVALID_RETURN_TYPE hooks. 2016-05-16 10:22:25 +00:00
target-def.h
target-globals.c
target-globals.h
target-hooks-macros.h
target-insns.def
target.def Remove TARGET_INVALID_PARAMETER_TYPE and TARGET_INVALID_RETURN_TYPE hooks. 2016-05-16 10:22:25 +00:00
target.h cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor. 2016-02-12 00:53:54 +01:00
targhooks.c tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount. 2016-04-18 20:36:27 +00:00
targhooks.h Improve TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS target hook. 2016-02-02 17:12:56 +00:00
timevar.c
timevar.def timevar.def (TV_TREE_LOOP_IFCVT): Add. 2016-05-25 08:52:22 +00:00
timevar.h
tlink.c
toplev.c toplev.c (backend_init_target): Avoid calling init_reload when using LRA. 2016-04-26 14:52:16 -06:00
toplev.h
tracer.c tracer: Make bb_seen static 2016-04-28 19:08:39 +02:00
tracer.h
trans-mem.c gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
trans-mem.h
tree-affine.c Missing pointer dereference in tree-affine.c 2016-05-09 15:29:03 +00:00
tree-affine.h
tree-call-cdce.c To... 2016-05-18 14:01:31 +00:00
tree-cfg.c tree-cfg.h (should_remove_lhs_p): New predicate. 2016-05-24 13:34:37 +00:00
tree-cfg.h tree-cfg.h (should_remove_lhs_p): New predicate. 2016-05-24 13:34:37 +00:00
tree-cfgcleanup.c tree-cfg.h (should_remove_lhs_p): New predicate. 2016-05-24 13:34:37 +00:00
tree-cfgcleanup.h
tree-chkp-opt.c
tree-chkp.c re PR middle-end/70877 ([MPX] ICE in in convert_move) 2016-05-10 16:06:36 +00:00
tree-chkp.h
tree-chrec.c re PR middle-end/69983 (FAIL: gcc.dg/graphite/scop-sor.c scan-tree-dump-times graphite "number of SCoPs: 1" 1) 2016-03-01 15:58:25 +00:00
tree-chrec.h
tree-complex.c re PR tree-optimization/70497 (Missed CSE of subregs on GIMPLE) 2016-05-10 08:20:43 +00:00
tree-core.h Implement CALL_EXPR_MUST_TAIL_CALL 2016-05-20 14:20:03 +00:00
tree-data-ref.c re PR tree-optimization/71060 (Compiler reports "loop vectorized" but actually it was not) 2016-05-12 07:29:33 +00:00
tree-data-ref.h re PR tree-optimization/56625 (After if-conversion vectorizer doesn't recognize similar loads) 2016-04-20 15:41:45 +00:00
tree-dfa.c To... 2016-05-18 14:01:31 +00:00
tree-dfa.h To... 2016-05-18 14:01:31 +00:00
tree-diagnostic.c
tree-diagnostic.h
tree-dump.c
tree-dump.h
tree-eh.c
tree-eh.h
tree-emutls.c
tree-hash-traits.h
tree-hasher.h
tree-if-conv.c timevar.def (TV_TREE_LOOP_IFCVT): Add. 2016-05-25 08:52:22 +00:00
tree-inline.c re PR target/29756 (SSE intrinsics hard to use without redundant temporaries appearing) 2016-05-20 09:17:16 +00:00
tree-inline.h re PR middle-end/70199 (Crash at -O2 when using labels.) 2016-03-16 09:50:18 -07:00
tree-into-ssa.c gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
tree-into-ssa.h
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c re PR tree-optimization/71253 (ICE during loop distribution w/ -O2 -ftree-loop-distribution) 2016-05-24 12:40:01 +00:00
tree-nested.c tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount. 2016-04-18 20:36:27 +00:00
tree-nested.h
tree-nrv.c
tree-object-size.c
tree-object-size.h
tree-outof-ssa.c re PR rtl-optimization/70061 (ICE: SIGSEGV in delete_insn_chain() with unused label) 2016-03-07 03:48:57 -08:00
tree-outof-ssa.h
tree-parloops.c Fix memory leak in tree-parloops.c 2016-05-19 15:07:28 +00:00
tree-parloops.h
tree-pass.h gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
tree-phinodes.c
tree-phinodes.h
tree-predcom.c
tree-pretty-print.c re PR target/29756 (SSE intrinsics hard to use without redundant temporaries appearing) 2016-05-20 09:17:16 +00:00
tree-pretty-print.h
tree-profile.c
tree-scalar-evolution.c tree-scalar-evolution.c (interpret_rhs_expr): Handle BIT_AND_EXPR. 2016-04-20 11:42:36 +00:00
tree-scalar-evolution.h
tree-sra.c [PR 70884] Constant pool SRA fix 2016-05-20 23:04:31 +02:00
tree-ssa-address.c tree-ssa-address.c (copy_ref_info): Check NULL TMR_STEP when TMR_INDEX is non-NULL. 2016-05-23 14:44:07 +00:00
tree-ssa-address.h
tree-ssa-alias.c re PR middle-end/71062 (r235622 and restrict pointers) 2016-05-12 13:05:13 +00:00
tree-ssa-alias.h re PR middle-end/71062 (r235622 and restrict pointers) 2016-05-12 13:05:13 +00:00
tree-ssa-ccp.c gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
tree-ssa-coalesce.c tree-ssa-coalesce.c (gimple_can_coalesce_p): In the optimized case, allow coalescing if the types are compatible. 2016-05-06 15:54:15 +00:00
tree-ssa-coalesce.h
tree-ssa-copy.c
tree-ssa-dce.c re PR tree-optimization/71253 (ICE during loop distribution w/ -O2 -ftree-loop-distribution) 2016-05-24 12:40:01 +00:00
tree-ssa-dom.c * tree-ssa-dom.c (record_temporary_equivalences): Fix typo in comment. 2016-04-27 14:52:15 -06:00
tree-ssa-dom.h
tree-ssa-dse.c
tree-ssa-forwprop.c re PR tree-optimization/70509 (wrong code with extract from a v64qi) 2016-04-05 18:58:50 +02:00
tree-ssa-ifcombine.c re PR tree-optimization/70586 (wrong code at -O2 and -O3 on x86_64-linux-gnu in 32-bit and 64-bit modes) 2016-04-09 13:23:51 +02:00
tree-ssa-live.c re PR c++/70594 (-fcompare-debug failure) 2016-04-14 21:21:31 +02:00
tree-ssa-live.h
tree-ssa-loop-ch.c
tree-ssa-loop-im.c tree-ssa-loop-im.c (determine_max_movement): Properly add condition cost to PHI cost instead of total_cost. 2016-05-18 12:32:46 +00:00
tree-ssa-loop-ivcanon.c [obvious] Typo fix in tree-ssa-loop-ivanon.c 2016-05-13 12:36:01 +00:00
tree-ssa-loop-ivopts.c tree-ssa-loop-ivopts.c (get_computation_cost_at): Check inv expression pointer, not pointer to the pointer. 2016-05-18 10:41:28 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c prefetch-5.c: xfail. 2016-05-20 12:41:45 +00:00
tree-ssa-loop-niter.h
tree-ssa-loop-prefetch.c re PR target/71185 (ice in gimplify_modify_expr, at gimplify.c:4873) 2016-05-20 09:09:28 +00:00
tree-ssa-loop-unswitch.c re PR debug/70935 (ICE: verify_ssa failed (error: definition in block 9 does not dominate use in block 12) w/ -O3 -g) 2016-05-06 12:07:25 +00:00
tree-ssa-loop.c re PR tree-optimization/70169 (ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791) 2016-03-11 13:05:58 +01:00
tree-ssa-loop.h
tree-ssa-math-opts.c re PR tree-optimization/71240 (ICE on valid code at -O2 and above on x86_64-linux-gnu: verify_gimple failed) 2016-05-24 14:40:35 +00:00
tree-ssa-operands.c re PR target/29756 (SSE intrinsics hard to use without redundant temporaries appearing) 2016-05-20 09:17:16 +00:00
tree-ssa-operands.h
tree-ssa-phionlycprop.c
tree-ssa-phiopt.c re PR tree-optimization/56365 (Missed opportunities for smin/smax standard name patterns when compiling as C++) 2016-03-14 14:50:40 +00:00
tree-ssa-phiprop.c re PR tree-optimization/71039 (ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 5) w/ -O1 and above) 2016-05-10 13:13:59 +00:00
tree-ssa-pre.c re PR tree-optimization/71059 (gcc ICE at -O3 on valid code on x86_64-linux-gnu in "vn_nary_op_insert_into") 2016-05-12 13:46:26 +00:00
tree-ssa-propagate.c tree-ssa-propagate.c: Enhance docs for SSA_PROP_NOT_INTERESTING. 2016-03-25 05:59:57 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c tree-ssa-reassoc.c (sort_by_operand_rank): Skip checking gimple_bb when there is stmt_to_insert. 2016-05-24 22:29:27 +00:00
tree-ssa-sccvn.c re PR tree-optimization/71059 (gcc ICE at -O3 on valid code on x86_64-linux-gnu in "vn_nary_op_insert_into") 2016-05-12 13:46:26 +00:00
tree-ssa-sccvn.h re PR tree-optimization/70724 (Miscompiles python3 with FDO) 2016-04-19 13:22:19 +00:00
tree-ssa-scopedtables.c re PR tree-optimization/65917 (XFAIL: gcc.dg/tree-ssa/20030922-2.c scan-tree-dump-times dom1 "if " 2) 2016-02-08 01:17:32 -07:00
tree-ssa-scopedtables.h re PR tree-optimization/65917 (XFAIL: gcc.dg/tree-ssa/20030922-2.c scan-tree-dump-times dom1 "if " 2) 2016-02-08 01:17:32 -07:00
tree-ssa-sink.c
tree-ssa-strlen.c
tree-ssa-structalias.c re PR middle-end/71062 (r235622 and restrict pointers) 2016-05-12 13:05:13 +00:00
tree-ssa-tail-merge.c gimple.c (gimple_call_same_target_p): Unique functions are eq. 2016-05-06 13:02:42 +00:00
tree-ssa-ter.c
tree-ssa-ter.h
tree-ssa-threadbackward.c tree-ssa-threadbackwards.c (convert_and_register_jump_thread_path): New function, extracted from... 2016-05-24 10:57:48 -06:00
tree-ssa-threadbackward.h
tree-ssa-threadedge.c tree-ssa-threadedge.c (simplify_control_stmt_condition): Split out into ... 2016-04-29 13:15:25 -06:00
tree-ssa-threadedge.h
tree-ssa-threadupdate.c re PR tree-optimization/69196 (code size regression with jump threading at -O2) 2016-01-25 12:19:09 -07:00
tree-ssa-threadupdate.h re PR tree-optimization/69196 (code size regression with jump threading at -O2) 2016-01-25 12:19:09 -07:00
tree-ssa-uncprop.c re PR tree-optimization/70005 (wrong code at -O2 and -O3 on x86_64-linux-gnu) 2016-02-29 17:04:48 -07:00
tree-ssa-uninit.c Manual changes to GCC coding style in tree-ssa-uninit.c 2016-05-06 11:27:28 +00:00
tree-ssa.c re PR middle-end/70434 (adding an extraneous cast to vector type results in inferior code) 2016-05-24 07:55:56 +00:00
tree-ssa.h
tree-ssanames.c gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter default true. 2016-05-03 12:06:19 +00:00
tree-ssanames.h re PR tree-optimization/69270 (DOM should exploit range information to create more equivalences) 2016-01-15 15:32:05 -07:00
tree-stdarg.c
tree-stdarg.h
tree-streamer-in.c tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount. 2016-04-18 20:36:27 +00:00
tree-streamer-out.c ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling - becuase -> because. 2016-03-08 18:49:34 +01:00
tree-streamer.c
tree-streamer.h
tree-switch-conversion.c
tree-tailcall.c
tree-vect-data-refs.c Fix GROUP_GAP for single-element interleaving 2016-05-24 10:13:35 +00:00
tree-vect-generic.c re PR tree-optimization/70310 (wrong code with vector compare at -O0) 2016-03-21 13:50:50 +00:00
tree-vect-loop-manip.c re PR tree-optimization/70138 (wrong code at -O3 on x86_64-linux-gnu) 2016-03-09 16:41:19 +00:00
tree-vect-loop.c Clean up PURE_SLP_STMT handling 2016-05-24 14:05:20 +00:00
tree-vect-patterns.c Fix ASAN bootstrap (uninitialized variable warning) 2016-05-13 11:16:59 +00:00
tree-vect-slp.c re PR tree-optimization/58135 ([x86] Missed opportunities for partial SLP) 2016-05-23 09:48:54 +00:00
tree-vect-stmts.c re PR c++/71257 (OpenMP declare simd linear with ref modifier doesn't accept references to non-integer/non-pointer) 2016-05-24 18:19:43 +02:00
tree-vectorizer.c tree-vectorizer.c (get_vec_alignment_for_decl): New static function. 2016-05-20 09:35:46 +00:00
tree-vectorizer.h Clean up PURE_SLP_STMT handling 2016-05-24 14:05:20 +00:00
tree-vrp.c tree-vrp.c (compare_values_warnv): Simplify handling of symbolic ranges by calling get_single_symbol and tidy up. 2016-05-20 21:46:58 +00:00
tree.c re PR tree-optimization/71239 (ICE in operand_equal_p (fold-const.c:2769)) 2016-05-25 09:10:16 +00:00
tree.def re PR target/29756 (SSE intrinsics hard to use without redundant temporaries appearing) 2016-05-20 09:17:16 +00:00
tree.h PR c++/71147 - [6 Regression] Flexible array member wrongly rejected in template 2016-05-24 14:29:36 -06:00
treestruct.def
tsan.c
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.h
ubsan.c re PR sanitizer/70875 (ICE in get_ubsan_type_info_for_type with -fsanitize=undefined) 2016-05-06 09:47:25 +00:00
ubsan.h
valtrack.c
valtrack.h
value-prof.c
value-prof.h
var-tracking.c re PR rtl-optimization/69217 (ICE at var-tracking.c:5038 Segmentation fault) 2016-01-26 20:57:37 +00:00
varasm.c re PR go/49889 (Calling a function whose name is obscured by a local variable does not produce an error) 2016-04-27 11:29:20 +00:00
varasm.h
varpool.c cgraph.c (cgraph_node::get_availability): Fix typo in comment. 2016-05-25 07:38:32 +00:00
vec.c
vec.h add some utility methods to vec 2016-04-24 07:47:38 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c
vtable-verify.c
vtable-verify.h
web.c
wide-int-print.cc
wide-int-print.h
wide-int.cc wide-int.cc (canonize_uhwi): New function. 2016-02-02 20:44:16 +01:00
wide-int.h * wide-int.h: Change fixed_wide_int_storage from class to struct. 2016-05-17 14:56:45 +00: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.