gcc/gcc
Jakub Jelinek 6b24e342cb re PR middle-end/92825 (Unnecesary stack protection in Firefox's LightPixel.)
PR middle-end/92825
	* cfgexpand.c (add_stack_protection_conflicts): Change return type
	from void to bool, return true if at least one stack_vars[i].decl
	is addressable.
	(record_or_union_type_has_array_p, stack_protect_decl_p): Remove.
	(expand_used_vars): Don't call stack_protect_decl_p, instead for
	-fstack-protector-strong set gen_stack_protect_signal to true
	if add_stack_protection_conflicts returned true.  Formatting fixes.
	* doc/invoke.texi (-fstack-protector-strong): Clarify that optimized
	out variables or variables not living on the stack don't count.
	(-fstack-protector): Likewise.  Clarify it affects >= 8 byte arrays
	rather than > 8 byte.

	* gcc.target/i386/pr92825.c: New test.

From-SVN: r279193
2019-12-10 22:04:08 +01:00
..
ada re PR bootstrap/92783 (SEGV in field_byte_offset) 2019-12-03 23:10:46 +00:00
brig Mark C2x built-in functions as such. 2019-10-04 17:08:06 +01:00
c Replace label_text ctor with "borrow" and "take" 2019-12-10 02:02:38 +00:00
c-family Replace label_text ctor with "borrow" and "take" 2019-12-10 02:02:38 +00:00
common Use OPTION_MASK_ISA2_$target_[SET,UNSET, ] to indicate those for 2019-12-09 11:20:13 +00:00
config [AArch64] Don't allow partial SVE modes in GPRs 2019-12-10 16:46:05 +00:00
cp PR c++/92847 - C++20 comparison ambiguity with class template. 2019-12-10 15:12:50 -05:00
d Remove build_{same_sized_,}truth_vector_type 2019-11-14 14:49:36 +00:00
doc re PR middle-end/92825 (Unnecesary stack protection in Firefox's LightPixel.) 2019-12-10 22:04:08 +01:00
fortran Bail out in gfc_dep_compare_expr for a NULL argument. 2019-12-10 18:57:30 +00:00
ginclude Add C2x *_NORM_MAX constants to <float.h>. 2019-11-13 15:25:15 +00:00
go re PR go/92861 (Passes relative time to sem_timedwait on GNU/Hurd) 2019-12-09 18:03:53 +00:00
jit Remove unused decimal floating-point pointer types 2019-11-29 00:58:35 +00:00
lto Turn tp_first_run counts back to 32bit values. 2019-12-10 17:54:41 +00:00
objc [Objective-C, NeXT ABI] Identify V2 IVAR refs by metadata. 2019-10-10 19:04:33 +00:00
objcp
po * fi.po: Update. 2019-10-11 18:23:50 +01:00
testsuite re PR middle-end/92825 (Unnecesary stack protection in Firefox's LightPixel.) 2019-12-10 22:04:08 +01:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h
alias.c re PR target/92462 ([arm32] -ftree-pre makes a variable to be wrongly hoisted out) 2019-11-18 09:44:52 +00:00
alias.h
align.h
alloc-pool.c
alloc-pool.h
array-traits.h Remove name of unused parameter in array-traits.h 2019-09-17 14:27:54 +00:00
asan.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
asan.h
attribs.c Properly handle C2x attributes on types. 2019-11-25 13:42:49 +00:00
attribs.h PR middle-end/83859 - attributes to associate pointer arguments and sizes 2019-11-22 10:14:17 -07:00
auto-inc-dec.c Allow autoinc in jumps, but only when using reload. 2019-11-27 03:31:24 +00:00
auto-profile.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
auto-profile.h
backend.h
BASE-VER
basic-block.h
bb-reorder.c [mid-end] Add notes to dataflow insn info when re-emitting (PR92410) 2019-12-09 12:03:53 +00:00
bb-reorder.h
bitmap.c Add "fast" conversions from arrays to bitmaps 2019-09-09 18:01:47 +00:00
bitmap.h Add "fast" conversions from arrays to bitmaps 2019-09-09 18:01:47 +00:00
brig-builtins.def
builtin-attrs.def
builtin-types.def Remove unused decimal floating-point pointer types 2019-11-29 00:58:35 +00:00
builtins.c PR middle-end/91582 - missing heap overflow detection for strcpy 2019-12-04 18:28:11 -07:00
builtins.def Mark C2x built-in functions as such. 2019-10-04 17:08:06 +01:00
builtins.h PR middle-end/91582 - missing heap overflow detection for strcpy 2019-12-04 18:28:11 -07:00
caller-save.c Remove global call sets: caller-save.c 2019-09-30 16:20:08 +00:00
calls.c PR middle-end/83859 - attributes to associate pointer arguments and sizes 2019-11-22 10:14:17 -07:00
calls.h Add a pass_by_reference flag to function_arg_info 2019-08-20 08:54:03 +00:00
ccmp.c
ccmp.h
cfg-flags.def
cfg.c
cfg.h
cfganal.c re PR target/92669 (ICE in pre_and_rev_post_order_compute_fn at gcc/cfganal.c:1034 since r278666) 2019-11-26 12:03:58 +00:00
cfganal.h
cfgbuild.c
cfgbuild.h
cfgcleanup.c Make flag_thread_jumps a gate of pass_jump_after_combine 2019-11-14 16:40:33 +00:00
cfgcleanup.h
cfgexpand.c re PR middle-end/92825 (Unnecesary stack protection in Firefox's LightPixel.) 2019-12-10 22:04:08 +01:00
cfgexpand.h
cfghooks.c
cfghooks.h
cfgloop.c cfgloop.h (get_loop_exit_edges): Add extra parameter denoting loop body, defaulted to NULL. 2019-11-25 07:51:38 +00:00
cfgloop.h cfgloop.h (get_loop_exit_edges): Add extra parameter denoting loop body, defaulted to NULL. 2019-11-25 07:51:38 +00:00
cfgloopanal.c cfgloop.h (get_loop_exit_edges): Add extra parameter denoting loop body, defaulted to NULL. 2019-11-25 07:51:38 +00:00
cfgloopmanip.c
cfgloopmanip.h
cfgrtl.c find_partition_fixes: remove unused bbs_in_cold_partition variable 2019-10-16 15:00:38 +00:00
cfgrtl.h
cgraph.c Turn tp_first_run counts back to 32bit values. 2019-12-10 17:54:41 +00:00
cgraph.h Turn tp_first_run counts back to 32bit values. 2019-12-10 17:54:41 +00:00
cgraphbuild.c Remove cgraph_global_info. 2019-10-30 07:55:39 +00:00
cgraphclones.c cgraphclones.c (cgraph_node::create_clone): Only localize toplevel functions, not inline clones. 2019-12-06 08:51:43 +00:00
cgraphunit.c Turn tp_first_run counts back to 32bit values. 2019-12-10 17:54:41 +00:00
ChangeLog re PR middle-end/92825 (Unnecesary stack protection in Firefox's LightPixel.) 2019-12-10 22:04:08 +01: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-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def Convert inliner to function specific param infrastructure 2019-11-23 13:11:25 +00:00
collect2-aix.c
collect2-aix.h
collect2.c Remove support for repo files (PR c++/91125). 2019-09-06 06:58:42 +00:00
collect2.h Remove support for repo files (PR c++/91125). 2019-09-06 06:58:42 +00:00
collect-utils.c
collect-utils.h
color-macros.h
combine-stack-adj.c Remove clobber_high 2019-10-01 08:55:50 +00:00
combine.c re PR rtl-optimization/92510 (ICE in native_encode_rtx, at simplify-rtx.c:6272) 2019-11-27 17:32:54 +01:00
common.md
common.opt re PR tree-optimization/92860 (Global flags affected by -O settings are clobbered by optimize attribute) 2019-12-08 13:50:32 +00:00
compare-elim.c
conditions.h
config.build
config.gcc Update the arm-*-vxworks* support 2019-11-14 16:11:30 +00:00
config.host
config.in [RS6000] Remove TARGET_TLS_MARKERS and require binutils 2.20 2019-11-12 11:39:47 +10:30
configure Switch gcc ftp URL's to https 2019-11-20 22:24:48 +02:00
configure.ac Switch gcc ftp URL's to https 2019-11-20 22:24:48 +02:00
context.c
context.h
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h Add a simulate_enum_decl langhook 2019-10-29 08:39:45 +00:00
coverage.c Fix __gcov_exit fn prototype. 2019-12-05 12:35:26 +00:00
coverage.h
cppbuiltin.c
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
cse.c re PR rtl-optimization/92610 (ICE in calc_dfs_tree, at dominance.c:458 since r270940) 2019-11-23 11:05:31 +01:00
cselib.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
cselib.h Remove clobber_high 2019-10-01 08:55:50 +00:00
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
DATESTAMP Daily bump. 2019-12-10 00:16:19 +00:00
dbgcnt.c Translate header for -fdbg-cnt-list. 2019-11-28 20:56:51 +00:00
dbgcnt.def Sort debug counter names. 2019-11-11 15:23:31 +00:00
dbgcnt.h
dbxout.c
dbxout.h
dce.c Remove clobber_high 2019-10-01 08:55:50 +00:00
dce.h
ddg.c Make note_stores take an rtx_insn 2019-09-09 17:58:59 +00:00
ddg.h
debug.c
debug.h
defaults.h Rework constant subreg folds and handle more variable-length cases 2019-09-19 09:04:28 +00:00
DEV-PHASE
df-core.c Remove global REG_SETs 2019-09-09 18:01:55 +00:00
df-problems.c Remove global call sets: DF (EH edges) 2019-09-30 16:20:30 +00:00
df-scan.c Remove clobber_high 2019-10-01 08:55:50 +00:00
df.h Remove global REG_SETs 2019-09-09 18:01:55 +00:00
dfp.c
dfp.h
diagnostic-color.c pretty-print: support URL escape sequences (PR 87488) 2019-10-10 16:57:30 +00:00
diagnostic-color.h
diagnostic-core.h
diagnostic-format-json.cc Come up with json::integer_number and use it in GCOV. 2019-10-22 09:58:27 +00:00
diagnostic-show-locus.c diagnostic_show_locus: move initial newline to callers 2019-12-10 01:48:42 +00:00
diagnostic-url.h pretty-print: support URL escape sequences (PR 87488) 2019-10-10 16:57:30 +00:00
diagnostic.c diagnostic_show_locus: move initial newline to callers 2019-12-10 01:48:42 +00:00
diagnostic.def
diagnostic.h Documentation hyperlinks for [-Wname-of-option] (PR 87488) 2019-10-10 17:03:46 +00:00
dojump.c
dojump.h
dominance.c
dominance.h
domwalk.c
domwalk.h
double-int.c
double-int.h
dse.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
dump-context.h
dumpfile.c [dump] small source cleanup 2019-10-24 16:03:26 +00:00
dumpfile.h
dwarf2asm.c
dwarf2asm.h
dwarf2cfi.c
dwarf2out.c Make dwarf2out punt for MODE_VECTOR_BOOL 2019-12-10 12:20:20 +00:00
dwarf2out.h
early-remat.c Remove global call sets: early-remat.c 2019-09-30 16:20:37 +00:00
edit-context.c
edit-context.h
emit-rtl.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
emit-rtl.h Add function_abi.{h,cc} 2019-09-30 16:19:38 +00:00
errors.c
errors.h
escaped_string.h Implement C++20 P1301 [[nodiscard("should have a reason")]]. 2019-10-19 00:51:59 -04:00
et-forest.c
et-forest.h
except.c
except.h
exec-tool.in
explow.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
explow.h
expmed.c re PR middle-end/90840 (ICE in simplify_subreg, at simplify-rtx.c:6441) 2019-11-20 09:32:56 +01:00
expmed.h
expr.c re PR middle-end/90840 (ICE in simplify_subreg, at simplify-rtx.c:6441) 2019-12-07 12:20:44 +00:00
expr.h builtins.c (expand_builtin_memory_copy_args): Add might_overlap parm. 2019-10-02 09:23:51 -05:00
fibonacci_heap.c Add pool_allocator for fibonaci heaps. 2019-11-20 15:04:34 +00:00
fibonacci_heap.h Workaround bogus warning in fibonacci_heap<K,V>::consolidate. 2019-11-20 15:45:53 +00:00
file-find.c
file-find.h
file-prefix-map.c
file-prefix-map.h
final.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
fixed-value.c
fixed-value.h
flag-types.h Include new generated gcc/params.opt file. 2019-11-12 10:08:04 +00:00
flags.h re PR middle-end/91283 (gcc.dg/torture/c99-contract-1.c FAILs) 2019-08-23 13:37:29 +02:00
fold-const-call.c PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0 2019-11-27 10:16:24 +01:00
fold-const-call.h
fold-const.c PR c++/91678 - wrong error with decltype and location wrapper. 2019-12-07 17:35:54 +00:00
fold-const.h Come up with an abstraction. 2019-10-30 12:01:03 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function-abi.cc Assert for POINTER_TYPE_P in expr_callee_abi 2019-10-16 10:58:55 +00:00
function-abi.h Add expr_callee_abi 2019-10-14 08:06:06 +00:00
function-tests.c Makefile.in (OBJS): Add range.o and range-op.o. 2019-10-03 08:08:50 +00:00
function.c drop attempt to reuse cgraph callees for -fcallgraph-info 2019-11-20 20:54:31 +00:00
function.h drop attempt to reuse cgraph callees for -fcallgraph-info 2019-11-20 20:54:31 +00:00
fwprop.c
gcc-ar.c
gcc-main.c
gcc-plugin.h
gcc-rich-location.c Replace label_text ctor with "borrow" and "take" 2019-12-10 02:02:38 +00:00
gcc-rich-location.h Replace label_text ctor with "borrow" and "take" 2019-12-10 02:02:38 +00:00
gcc-symtab.h
gcc.c driver: Do not warn about ineffective `-x' option if no inputs were given 2019-11-30 11:10:50 +00:00
gcc.h
gcov-counter.def
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov-tool.c
gcov.c Come up with json::integer_number and use it in GCOV. 2019-10-22 09:58:27 +00:00
gcse-common.c Make note_stores take an rtx_insn 2019-09-09 17:58:59 +00:00
gcse-common.h
gcse.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gcse.h
gdbasan.in
gdbhooks.py
gdbinit.in
gen-pass-instances.awk
genattr-common.c
genattr.c
genattrtab.c genattrtab: Parenthesize expressions correctly (PR92107) 2019-10-16 01:47:47 +02:00
genautomata.c
gencfn-macros.c
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c Remove clobber_high 2019-10-01 08:55:50 +00:00
genconstants.c
genemit.c arc.c (hwloop_optimize): Add missing space in string literal. 2019-10-25 00:27:10 +02:00
genenums.c
generic-match-head.c re PR tree-optimization/91734 (gcc skip an if statement with "-O1 -ffast-math") 2019-10-05 09:36:09 +02:00
generic-match.h
genextract.c
genflags.c
gengenrtl.c Introduce rtx_alloca, alloca_raw_REG and alloca_rtx_fmt_* 2019-09-30 14:56:33 +00:00
gengtype-lex.l [PATCH] teach gengtype about 'mutable' 2019-10-13 14:46:45 +00:00
gengtype-parse.c
gengtype-state.c
gengtype.c Move plain value_range things to value-range.[hc]*. 2019-11-13 19:13:40 +00:00
gengtype.h
genhooks.c
genmatch.c genmatch.c (enum tree_code): Remove CONVERT{0,1,2} and VIEW_CONVERT{0,1,2}. 2019-12-06 10:25:08 +00:00
genmddeps.c
genmddump.c
genmodes.c [AArch64] Add partial SVE vector modes 2019-10-16 10:53:40 +00:00
genmultilib
genopinit.c
genoutput.c
genpeep.c
genpreds.c
genrecog.c Remove clobber_high 2019-10-01 08:55:50 +00:00
gensupport.c [gensupport] PR 91255: Do not error out immediately on set_attr_alternative with define_subst 2019-08-16 09:32:36 +00:00
gensupport.h
gentarget-def.c
ggc-common.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
ggc-internal.h
ggc-none.c ggc-page.c (release_pages): Output statistics when !quiet_flag. 2019-10-11 11:53:40 +00:00
ggc-page.c Release memory-block-pool memory back to malloc. 2019-11-22 14:37:37 +00:00
ggc-tests.c
ggc.h Come up with ggc_delete. 2019-11-04 09:11:14 +00:00
gimple-builder.c
gimple-builder.h
gimple-expr.c Allow COND_EXPR and VEC_COND_EXPR condtions to trap 2019-10-07 14:59:00 +00:00
gimple-expr.h Allow COND_EXPR and VEC_COND_EXPR condtions to trap 2019-10-07 14:59:00 +00:00
gimple-fold.c re PR tree-optimization/92645 (Hand written vector code is 450 times slower when compiled with GCC compared to Clang) 2019-12-03 11:59:13 +00:00
gimple-fold.h Auto-generate maybe_fold_and/or_comparisons from match.pd 2019-09-16 14:21:20 +00:00
gimple-iterator.c
gimple-iterator.h Make gsi_next_nonvirtual_phi do what one expects 2019-10-07 14:29:07 +00:00
gimple-laddress.c
gimple-loop-interchange.cc Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-loop-jam.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-loop-versioning.cc Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-low.c
gimple-low.h
gimple-match-head.c Fix ICE in re-simplification of VEC_COND_EXPR 2019-11-29 15:02:35 +00:00
gimple-match.h
gimple-predict.h
gimple-pretty-print.c Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
gimple-pretty-print.h
gimple-ssa-backprop.c
gimple-ssa-evrp-analyze.c Rewrite value_range constructors to the value_range_kind is at the end, and defaults to VR_RANGE. 2019-11-13 16:03:27 +00:00
gimple-ssa-evrp-analyze.h The base class for ranges is currently value_range_base, which is rather long and cumbersome. 2019-11-05 15:39:11 +00:00
gimple-ssa-evrp.c The base class for ranges is currently value_range_base, which is rather long and cumbersome. 2019-11-05 15:39:11 +00:00
gimple-ssa-isolate-paths.c Protect some checks of DECL_FUNCTION_CODE 2019-08-13 21:35:10 +00:00
gimple-ssa-nonnull-compare.c
gimple-ssa-split-paths.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-ssa-sprintf.c PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0 2019-11-27 10:16:24 +01:00
gimple-ssa-store-merging.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-ssa-strength-reduction.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-ssa-warn-alloca.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
gimple-ssa-warn-restrict.c PR middle-end/91582 - missing heap overflow detection for strcpy 2019-12-04 18:28:11 -07:00
gimple-ssa-warn-restrict.h
gimple-ssa.h
gimple-streamer-in.c
gimple-streamer-out.c Do not allocate ggc during streaming. 2019-10-11 08:59:16 +00:00
gimple-streamer.h
gimple-walk.c
gimple-walk.h
gimple.c Allow COND_EXPR and VEC_COND_EXPR condtions to trap 2019-10-07 14:59:00 +00:00
gimple.def Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
gimple.h Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
gimplify-me.c
gimplify-me.h
gimplify.c Don't install unnecessary ARRAY_REF element sizes 2019-12-03 18:06:40 +00:00
gimplify.h gimplify.h (omp_construct_selector_matches): Change return type to int, add a new SCORES argument. 2019-11-02 10:02:21 +01:00
glimits.h Define WIDTH macros for C2x. 2019-10-03 00:50:58 +01:00
godump.c
graph.c
graph.h
graphds.c
graphds.h
graphite-dependences.c
graphite-isl-ast-to-gimple.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
graphite-optimize-isl.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
graphite-poly.c
graphite-scop-detection.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
graphite-sese-to-poly.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
graphite.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
graphite.h
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c [mid-end] Add notes to dataflow insn info when re-emitting (PR92410) 2019-12-09 12:03:53 +00:00
hard-reg-set.h Hide regs_invalidated_by_call etc. 2019-09-30 16:21:49 +00:00
hash-map-tests.c PR middle-end/92761 - hash_table::expand invokes assignment on invalid objects 2019-12-09 13:54:11 -07:00
hash-map-traits.h
hash-map.h Add some hash_map_safe_* functions like vec_safe_*. 2019-10-02 15:26:47 -04:00
hash-set-tests.c
hash-set.h
hash-table.c Add some hash_map_safe_* functions like vec_safe_*. 2019-10-02 15:26:47 -04:00
hash-table.h PR middle-end/92761 - hash_table::expand invokes assignment on invalid objects 2019-12-09 13:54:11 -07:00
hash-traits.h
highlev-plugin-common.h
hooks.c OpenMP] use_device_addr/use_device_ptr with Fortran allocatable/pointer arrays 2019-11-01 08:59:23 +01:00
hooks.h OpenMP] use_device_addr/use_device_ptr with Fortran allocatable/pointer arrays 2019-11-01 08:59:23 +01:00
host-default.c
hosthooks-def.h
hosthooks.h
hsa-brig-format.h
hsa-brig.c hsa-brig.c: Include alloc-pool.h 2019-11-05 10:38:02 +00:00
hsa-builtins.def
hsa-common.c
hsa-common.h
hsa-dump.c hsa-brig.c: Include alloc-pool.h 2019-11-05 10:38:02 +00:00
hsa-gen.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
hsa-regalloc.c hsa-brig.c: Include alloc-pool.h 2019-11-05 10:38:02 +00:00
hw-doloop.c Remove IOR_HARD_REG_SET 2019-09-09 17:59:19 +00:00
hw-doloop.h
hwint.c
hwint.h
ifcvt.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
ifcvt.h ifcvt: improve cost estimation (PR 87047) 2019-10-02 18:37:12 +03:00
inchash.c
inchash.h
incpath.c
incpath.h
init-regs.c
input.c Byte vs column awareness for diagnostic-show-locus.c (PR 49973) 2019-12-09 20:03:47 +00:00
input.h Byte vs column awareness for diagnostic-show-locus.c (PR 49973) 2019-12-09 20:03:47 +00:00
insn-addr.h
insn-notes.def
int-vector-builder.h
internal-fn.c re PR middle-end/91450 (__builtin_mul_overflow(A,B,R) wrong code if product < 0, *R is unsigned, and !(A&B)) 2019-11-19 10:15:53 +01:00
internal-fn.def Add optabs for accelerating RAW and WAR alias checks 2019-11-18 15:36:10 +00:00
internal-fn.h Add optabs for accelerating RAW and WAR alias checks 2019-11-18 15:36:10 +00:00
intl.c
intl.h
ipa-comdats.c Fix comments typo 2019-11-15 08:17:31 +00:00
ipa-cp.c cgraphclones.c (localize_profile): New function. 2019-12-05 18:12:51 +00:00
ipa-devirt.c Check for TYPE_DECL in get_odr_name_for_type 2019-12-10 09:17:34 +00:00
ipa-fnsummary.c ipa-fnsummary.c: Include tree-into-ssa.h. 2019-12-03 20:29:35 +00:00
ipa-fnsummary.h cgraph.c (cgraph_node::dump): Dump unit_id and merged_extern_inline. 2019-11-30 16:56:45 +00:00
ipa-hsa.c hsa-brig.c: Include alloc-pool.h 2019-11-05 10:38:02 +00:00
ipa-icf-gimple.c Verify NOP_EXPR LHS type in IPA ICF. 2019-11-18 11:51:05 +00:00
ipa-icf-gimple.h ipa-fnsummary.c: Fix comment typos. 2019-11-23 12:44:51 +01:00
ipa-icf.c Update dump message in IPA ICF. 2019-11-25 14:02:55 +00:00
ipa-icf.h ipa-fnsummary.c: Fix comment typos. 2019-11-23 12:44:51 +01:00
ipa-inline-analysis.c Silence overactive sanity check with -fpartial-profile-training 2019-12-08 14:02:43 +00:00
ipa-inline-transform.c Fix g++.dg/torture/pr59226.C 2019-12-05 20:53:39 +00:00
ipa-inline.c ipa-inline.c (compute_max_insns): Return int64_t. 2019-11-30 23:19:58 +00:00
ipa-inline.h Avoid quadratic behaviour of early inliner. 2019-11-21 08:15:47 +00:00
ipa-param-manipulation.c * ipa-param-manipulation.c 2019-12-10 21:35:30 +01:00
ipa-param-manipulation.h [PR 91831] Copy PARM_DECLs of artificial thunks 2019-09-24 13:20:57 +02:00
ipa-polymorphic-call.c ipa-fnsummary.c: Fix comment typos. 2019-11-23 12:44:51 +01:00
ipa-predicate.c ipa-fnsummary.c: Fix comment typos. 2019-11-23 12:44:51 +01:00
ipa-predicate.h ipa-fnsummary.c: Fix comment typos. 2019-11-23 12:44:51 +01:00
ipa-profile.c Fix comments typo 2019-11-15 08:17:31 +00:00
ipa-prop.c Do not clear m_vr and bits in ipa_set_jf_unknown. 2019-12-06 00:08:47 +00:00
ipa-prop.h Enable recursive function versioning 2019-12-02 06:37:30 +00:00
ipa-pure-const.c Remove cgraph_global_info. 2019-10-30 07:55:39 +00:00
ipa-ref.c
ipa-ref.h ipa-fnsummary.c: Fix comment typos. 2019-11-23 12:44:51 +01:00
ipa-reference.c hsa-brig.c: Include alloc-pool.h 2019-11-05 10:38:02 +00:00
ipa-reference.h ipa-reference.c (ipa_reference_optimization_summary_d): Rename statics_not_read and statics_not_written to statics_read and... 2019-10-24 14:19:40 +00:00
ipa-split.c Fix tp_first_run update in split_function. 2019-12-08 16:57:20 +00:00
ipa-sra.c * ipa-param-manipulation.c 2019-12-10 21:35:30 +01:00
ipa-utils.c ipa-utils.c (ipa_merge_profiles): Be sure that all type transtions of counters are done same way. 2019-11-28 14:21:08 +00:00
ipa-utils.h Check for TYPE_DECL in get_odr_name_for_type 2019-12-10 09:17:34 +00:00
ipa-visibility.c Remove cgraph_local_info structure. 2019-10-30 07:56:22 +00:00
ipa.c ipa: Prevent materialization of clones with removed bodies (PR 92109) 2019-11-25 11:13:08 +01:00
ira-build.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
ira-color.c ira-color.c (update_costs_from_allocno): Call ira_init_register_move_cost_if_necessary. 2019-10-04 09:43:07 -06:00
ira-conflicts.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
ira-costs.c Remove clobber_high 2019-10-01 08:55:50 +00:00
ira-emit.c Tweak interface to ira-build.c:ior_hard_reg_conflicts 2019-09-09 17:59:54 +00:00
ira-int.h Remove global call sets: IRA 2019-09-30 16:20:52 +00:00
ira-lives.c [IRA] Handle fully-tied destinations in a similar way to earlyclobbers 2019-10-07 08:39:12 +00:00
ira.c Support using multiple registers to hold the frame pointer 2019-11-07 00:07:04 +00:00
ira.h
is-a.h
json.cc Come up with json::integer_number and use it in GCOV. 2019-10-22 09:58:27 +00:00
json.h Come up with json::integer_number and use it in GCOV. 2019-10-22 09:58:27 +00:00
jump.c Remove clobber_high 2019-10-01 08:55:50 +00:00
langhooks-def.h Fortran] Support absent optional args with use_device_{ptr,addr} 2019-11-11 10:19:29 +01:00
langhooks.c Add a simulate_builin_function_decl langhook 2019-10-29 08:39:33 +00:00
langhooks.h Fortran] Support absent optional args with use_device_{ptr,addr} 2019-11-11 10:19:29 +01:00
LANGUAGES
lcm.c
lcm.h
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh * lock-and-run.sh: Tweak command order. 2019-10-21 23:30:48 -04:00
loop-doloop.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
loop-init.c
loop-invariant.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
loop-iv.c Remove global call sets: loop-iv.c 2019-09-30 16:20:56 +00:00
loop-unroll.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
loop-unroll.h
lower-subreg.c
lower-subreg.h
lra-assigns.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
lra-coalesce.c
lra-constraints.c LRA: handle memory constraints that accept more than "m" 2019-11-18 15:26:07 +00:00
lra-eliminations.c Remove clobber_high 2019-10-01 08:55:50 +00:00
lra-int.h Remove clobber_high 2019-10-01 08:55:50 +00:00
lra-lives.c [LRA] Don't make eliminable registers live (PR91957) 2019-10-02 07:37:10 +00:00
lra-remat.c Remove global call sets: LRA 2019-09-30 16:21:00 +00:00
lra-spills.c Check suitability of spill register for mode 2019-11-14 23:37:13 +00:00
lra.c re PR rtl-optimization/92283 (454.calculix miscomparison since r276645 with -O2 -march=znver2) 2019-11-29 22:04:21 +00:00
lra.h
lto-cgraph.c cgraph.h (symtab_node): Add symver flag. 2019-11-30 21:03:25 +00:00
lto-compress.c
lto-compress.h
lto-opts.c Use symtab_node::order in LTO sections with body. 2019-10-30 10:38:52 +00:00
lto-section-in.c Use symtab_node::order in LTO sections with body. 2019-10-30 10:38:52 +00:00
lto-section-names.h
lto-section-out.c Use symtab_node::order in LTO sections with body. 2019-10-30 10:38:52 +00:00
lto-streamer-in.c Do not update SSA in lto-stremaer-in 2019-12-03 18:15:53 +00:00
lto-streamer-out.c lto-streamer-out.c (DFS::sccstack): Turn into auto-vec. 2019-11-20 14:10:41 +00:00
lto-streamer.c Use symtab_node::order in LTO sections with body. 2019-10-30 10:38:52 +00:00
lto-streamer.h cgraph.c (cgraph_node::dump): Dump unit_id and merged_extern_inline. 2019-11-30 16:56:45 +00:00
lto-wrapper.c lto-opts.c (lto_write_options): Stream -g when debug is enabled. 2019-09-11 11:20:35 +00:00
machmode.def
machmode.h Support vectorisation with mixed vector sizes 2019-11-14 15:12:58 +00:00
main.c
Makefile.in Makefile.in (SOURCES): Add doc/lto-dump.1. 2019-12-03 11:30:34 +00:00
match.pd re PR tree-optimization/92834 (misssed SLP vectorization in LightPixel) 2019-12-09 11:13:18 +01:00
mcf.c
mem-stats-traits.h
mem-stats.h ggc-common.c (ggc_prune_overhead_list): Do not delete surviving allocations. 2019-11-06 19:36:22 +00:00
memmodel.h
memory-block.cc Release memory-block-pool memory back to malloc. 2019-11-22 14:37:37 +00:00
memory-block.h Release memory-block-pool memory back to malloc. 2019-11-22 14:37:37 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c Remove COPY_HARD_REG_SET 2019-09-09 17:59:06 +00:00
modulo-sched.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
multiple_target.c Remove cgraph_local_info structure. 2019-10-30 07:56:22 +00:00
omp-builtins.def
omp-expand.c Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
omp-expand.h
omp-general.c gimplify.c (gimplify_call_expr): Don't call omp_resolve_declare_variant after gimplification. 2019-11-15 09:32:36 +01:00
omp-general.h Fortran] Support absent optional args with use_device_{ptr,addr} 2019-11-11 10:19:29 +01:00
omp-grid.c
omp-grid.h
omp-low.c Use clause locations in OpenACC nested reduction warnings 2019-12-10 16:06:12 +00:00
omp-low.h
omp-offload.c function.c (gimplify_parameters): Use build_clobber function. 2019-09-26 22:03:12 +02:00
omp-offload.h
omp-simd-clone.c Remove cgraph_local_info structure. 2019-10-30 07:56:22 +00:00
omp-simd-clone.h
ONEWS
opt-functions.awk Param to options conversion. 2019-11-12 10:07:37 +00:00
opt-gather.awk
opt-include.awk
opt-problem.cc
opt-problem.h
opt-read.awk
opt-suggestions.c Remove last leftover usage of params* files. 2019-11-12 10:09:57 +00:00
opt-suggestions.h Remove last leftover usage of params* files. 2019-11-12 10:09:57 +00:00
optabs-libfuncs.c introduce -fcallgraph-info option 2019-11-06 10:57:18 +00:00
optabs-libfuncs.h
optabs-query.c Replace autovectorize_vector_sizes with autovectorize_vector_modes 2019-11-14 15:03:17 +00:00
optabs-query.h
optabs-tree.c target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. 2019-11-27 12:22:02 +00:00
optabs-tree.h target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. 2019-11-27 12:22:02 +00:00
optabs.c Replace mode_for_int_vector with related_int_vector_mode 2019-11-14 14:39:57 +00:00
optabs.def Add optabs for accelerating RAW and WAR alias checks 2019-11-18 15:36:10 +00:00
optabs.h Introduce can_vcond_compare_p function 2019-10-07 15:01:15 +00:00
optc-gen.awk Rename Deprecated to WarnRemoved in *.opt files. 2019-09-10 16:15:16 +00:00
optc-save-gen.awk optc-save-gen.awk: Generate cl_target_option_free and cl_optimization_option_free. 2019-11-07 17:06:43 +00:00
opth-gen.awk optc-save-gen.awk: Generate cl_target_option_free and cl_optimization_option_free. 2019-11-07 17:06:43 +00:00
optinfo-emit-json.cc Come up with json::integer_number and use it in GCOV. 2019-10-22 09:58:27 +00:00
optinfo-emit-json.h
optinfo.cc
optinfo.h
opts-common.c Remove last leftover usage of params* files. 2019-11-12 10:09:57 +00:00
opts-diagnostic.h Documentation hyperlinks for [-Wname-of-option] (PR 87488) 2019-10-10 17:03:46 +00:00
opts-global.c pretty-print: support URL escape sequences (PR 87488) 2019-10-10 16:57:30 +00:00
opts.c opts.c (common_handle_option): Do not clear ipa_reference for -fprofile-use. 2019-12-08 17:00:42 +00:00
opts.h Remove last leftover usage of params* files. 2019-11-12 10:09:57 +00:00
output.h cgraph.h (symtab_node): Add symver flag. 2019-11-30 21:03:25 +00:00
params.opt Enable recursive function versioning 2019-12-02 06:37:30 +00:00
pass_manager.h
passes.c [mid-end][__RTL] Set global epilogue_completed in skip_pass 2019-11-15 12:10:56 +00:00
passes.def Move jump threading before reload 2019-10-28 10:04:31 +00:00
plugin.c arc.c (hwloop_optimize): Add missing space in string literal. 2019-10-25 00:27:10 +02:00
plugin.def
plugin.h
poly-int-types.h
poly-int.h Deal with incoming POLY_INT_CST ranges (PR92033) 2019-10-16 09:50:44 +00:00
postreload-gcse.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
postreload.c Remove clobber_high 2019-10-01 08:55:50 +00:00
predict.c predict.c (compute_function_frequency): Check for presence of IPA profile. 2019-12-10 17:47:28 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c re PR c/87488 (hyperlink filenames in diagnostics) 2019-12-07 09:24:14 +01:00
pretty-print.h pretty-print: support URL escape sequences (PR 87488) 2019-10-10 16:57:30 +00:00
print-rtl-function.c
print-rtl.c Remove clobber_high 2019-10-01 08:55:50 +00:00
print-rtl.h
print-tree.c introduce -fcallgraph-info option 2019-11-06 10:57:18 +00:00
print-tree.h introduce -fcallgraph-info option 2019-11-06 10:57:18 +00:00
profile-count.c profile-count.c (profile_count::to_cgraph_frequency, [...]): Check for compaibility of counts. 2019-11-29 10:29:44 +00:00
profile-count.h profile-count.h (profile_count::operator<): Use IPA value for comparsion. 2019-12-01 15:12:52 +00:00
profile.c Turn tp_first_run counts back to 32bit values. 2019-12-10 17:54:41 +00:00
profile.h
range-op.cc Change fold_range to return a boolean result. 2019-11-14 22:29:56 +00:00
range-op.h Change fold_range to return a boolean result. 2019-11-14 22:29:56 +00:00
range.cc Remove range_intersect, range_invert, and range_union. 2019-11-14 17:51:31 +00:00
range.h Remove range_intersect, range_invert, and range_union. 2019-11-14 17:51:31 +00:00
read-md.c
read-md.h
read-rtl-function.c [mid-end][__RTL] Account for column numbers in __RTL functions 2019-11-15 14:18:14 +00:00
read-rtl-function.h
read-rtl.c
README.Portability
real.c PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0 2019-11-27 10:16:24 +01:00
real.h Add C2x *_NORM_MAX constants to <float.h>. 2019-11-13 15:25:15 +00:00
realmpfr.c PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0 2019-11-27 10:16:24 +01:00
realmpfr.h PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0 2019-11-27 10:16:24 +01:00
recog.c re PR rtl-optimization/90007 (ICE in extract_constrain_insn_cached, at recog.c:2223) 2019-11-27 14:24:47 +00:00
recog.h Convert m68k to not use cc0 2019-11-25 12:31:16 +00:00
ree.c
reg-notes.def
reg-stack.c Remove hard_reg_set_equal_p 2019-09-09 17:59:41 +00:00
regcprop.c Remove clobber_high 2019-10-01 08:55:50 +00:00
regcprop.h
reginfo.c Fix shadowing in globalize_reg 2019-10-02 13:12:37 +00:00
regrename.c regrename: Use PC instead of CC0 to hide operands 2019-10-01 13:12:03 +02:00
regrename.h Remove global call sets: regrename.c 2019-09-30 16:21:19 +00:00
regs.h Update remaining calls to choose_hard_reg_mode 2019-10-01 07:46:45 +00:00
regset.h Remove global REG_SETs 2019-09-09 18:01:55 +00:00
regstat.c [mid-end] [obvious] Cast to avoid -Wsign-compare warning from r279124 2019-12-09 13:16:07 +00:00
reload1.c Remove clobber_high 2019-10-01 08:55:50 +00:00
reload.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
reload.h Simplify the implementation of HARD_REG_SET 2019-09-09 17:58:36 +00:00
reorg.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
resource.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
resource.h
rtl-error.c
rtl-error.h
rtl-iter.h
rtl-tests.c
rtl.c Remove clobber_high 2019-10-01 08:55:50 +00:00
rtl.def Remove clobber_high 2019-10-01 08:55:50 +00:00
rtl.h Convert m68k to not use cc0 2019-11-25 12:31:16 +00:00
rtlanal.c re PR rtl-optimization/92176 (LRA problem with reloads for subreg operands) 2019-12-06 19:30:37 +00:00
rtlhash.c
rtlhash.h
rtlhooks-def.h
rtlhooks.c
rtx-vector-builder.c
rtx-vector-builder.h
run-rtl-passes.c [mid-end][__RTL] Clean state despite unspecified __RTL startwith passes 2019-11-18 11:16:46 +00:00
run-rtl-passes.h
sancov.c
sanitizer.def
sanopt.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
sbitmap.c
sbitmap.h
sched-deps.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
sched-ebb.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
sched-int.h
sched-rgn.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
sel-sched-ir.h Apply mechanical replacement (generated patch). 2019-11-12 10:08:40 +00:00
sel-sched.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
sel-sched.h
selftest-diagnostic.c
selftest-diagnostic.h
selftest-rtl.c
selftest-rtl.h
selftest-run-tests.c Come up with selftests for dbgcnt. 2019-11-13 15:13:16 +00:00
selftest.c
selftest.h Remove higher precision range tests because they are unused. 2019-11-14 07:55:04 +00:00
sese.c
sese.h
shrink-wrap.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
shrink-wrap.h
signop.h
simplify-rtx.c Revert r278441 2019-11-19 16:31:17 +00:00
sort.cc
sparseset.c
sparseset.h
spellcheck-tree.c
spellcheck-tree.h
spellcheck.c
spellcheck.h
sreal.c
sreal.h
ssa-iterators.h
ssa.h Makefile.in (OBJS): Add range.o and range-op.o. 2019-10-03 08:08:50 +00:00
stab.def
stack-ptr-mod.c Make note_stores take an rtx_insn 2019-09-09 17:58:59 +00:00
statistics.c
statistics.h
stmt.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
stmt.h
stor-layout.c Replace mode_for_int_vector with related_int_vector_mode 2019-11-14 14:39:57 +00:00
stor-layout.h
store-motion.c
streamer-hooks.c
streamer-hooks.h
stringpool.c
stringpool.h
substring-locations.c
substring-locations.h
symbol-summary.h Use more ggc_delete. 2019-11-05 12:45:04 +00:00
symtab.c Clear calls_comdat_local when comdat group is dissolved 2019-12-03 18:24:00 +00:00
sync-builtins.def
system.h system.h: Include malloc.h if INCLUDE_MALLOC_H and HAVE_MALLINFO. 2019-11-04 14:05:24 +00:00
target-def.h
target-globals.c Add function_abi.{h,cc} 2019-09-30 16:19:38 +00:00
target-globals.h Add function_abi.{h,cc} 2019-09-30 16:19:38 +00:00
target-hooks-macros.h
target-insns.def
target.def [C] Add a target hook that allows targets to verify type usage 2019-11-30 18:50:06 +00:00
target.h [C++] Pass type uses through the verify_type_context hook 2019-12-06 18:22:24 +00:00
targhooks.c target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. 2019-11-27 12:22:02 +00:00
targhooks.h target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. 2019-11-27 12:22:02 +00:00
timevar.c
timevar.def Update the concepts implementation to conform to C++20. 2019-10-09 13:20:32 -04:00
timevar.h
toplev.c drop attempt to reuse cgraph callees for -fcallgraph-info 2019-11-20 20:54:31 +00:00
toplev.h Print header in dump_memory_report. 2019-10-29 08:44:52 +00:00
tracer.c Add pool_allocator for fibonaci heaps. 2019-11-20 15:04:34 +00:00
tracer.h
trans-mem.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
trans-mem.h
tree-affine.c
tree-affine.h
tree-call-cdce.c
tree-cfg.c Update max_bb_count in execute_fixup_cfg 2019-11-30 21:25:24 +00:00
tree-cfg.h
tree-cfgcleanup.c re PR tree-optimization/91351 (-fstrict-enums generates incorrect code) 2019-08-29 11:20:54 +02:00
tree-cfgcleanup.h
tree-chrec.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-chrec.h
tree-complex.c re PR target/92449 (ICE in extract_insn, at recog.c:2311) 2019-11-12 09:22:29 +01:00
tree-core.h Check for bitwise identity when encoding VECTOR_CSTs (PR 92768) 2019-12-05 14:20:38 +00:00
tree-data-ref.c Avoid quadratic behaviour in prune_runtime_alias_test_list 2019-12-06 10:31:44 +00:00
tree-data-ref.h Record whether a dr_with_seg_len contains mixed steps 2019-11-16 11:41:16 +00:00
tree-dfa.c Do not allocate ggc during streaming. 2019-10-11 08:59:16 +00:00
tree-dfa.h Do not allocate ggc during streaming. 2019-10-11 08:59:16 +00:00
tree-diagnostic.c
tree-diagnostic.h
tree-dump.c tree-dump.c (dequeue_and_dump): Print first tree operand for VIEW_CONVERT_EXPR. 2019-11-13 15:51:30 +00:00
tree-dump.h
tree-eh.c re PR middle-end/92063 (ICE in operation_could_trap_p, at tree-eh.c:2528 when compiling Python's Python/_warnings.c) 2019-10-12 14:21:45 +02:00
tree-eh.h tree-eh.h (unsplit_eh_edges): Declare. 2019-10-02 13:35:40 +00:00
tree-emutls.c
tree-hash-traits.h re PR c++/92458 (Constraints do not work with precompiled headers) 2019-11-22 22:38:44 +01:00
tree-hasher.h
tree-if-conv.c re PR tree-optimization/92704 (ICE: Segmentation fault (in process_bb)) 2019-11-29 08:05:03 +00:00
tree-if-conv.h
tree-inline.c re PR tree-optimization/92645 (Hand written vector code is 450 times slower when compiled with GCC compared to Clang) 2019-11-28 12:26:50 +00:00
tree-inline.h [PR 91853] Prevent IPA-SRA ICEs on type-mismatched calls 2019-09-30 10:18:59 +02:00
tree-into-ssa.c cfgloop.h (loop_iterator::~loop_iterator): Remove. 2019-11-21 13:46:18 +00:00
tree-into-ssa.h
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c Refactor tree-loop-distribution.c for thread safety 2019-11-18 20:05:16 +00:00
tree-nested.c
tree-nested.h
tree-nrv.c
tree-object-size.c re PR tree-optimization/92056 (ice in expr_object_size, at tree-object-si ze.c:675 with -O3) 2019-10-17 09:21:24 +02:00
tree-object-size.h builtins.c (compute_objsize): Add an argument. 2019-10-04 15:26:27 -06:00
tree-outof-ssa.c
tree-outof-ssa.h
tree-parloops.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-parloops.h
tree-pass.h Move jump threading before reload 2019-10-28 10:04:31 +00:00
tree-phinodes.c
tree-phinodes.h
tree-predcom.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-pretty-print.c Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
tree-pretty-print.h
tree-profile.c cgraphclones.c (localize_profile): New function. 2019-12-05 18:12:51 +00:00
tree-scalar-evolution.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-scalar-evolution.h
tree-sra.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-sra.h New IPA-SRA 2019-09-20 00:25:04 +02:00
tree-ssa-address.c
tree-ssa-address.h
tree-ssa-alias.c ipa-reference.c (ipa_reference_optimization_summary_d): Rename statics_not_read and statics_not_written to statics_read and... 2019-10-24 14:19:40 +00:00
tree-ssa-alias.h re PR tree-optimization/91756 (g++.dg/lto/alias-3 FAILs) 2019-09-16 11:58:35 +00:00
tree-ssa-ccp.c re PR c/90898 (ICE in insert_clobber_before_stack_restore, at tree-ssa-ccp.c:2112) 2019-11-20 09:29:35 +01:00
tree-ssa-ccp.h
tree-ssa-coalesce.c
tree-ssa-coalesce.h
tree-ssa-copy.c
tree-ssa-dce.c Clean up dead condition for operators in DCE. 2019-08-15 11:29:37 +00:00
tree-ssa-dce.h
tree-ssa-dom.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-dom.h
tree-ssa-dse.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-dse.h re PR tree-optimization/92163 (ICE: Segmentation fault (in bitmap_set_bit)) 2019-10-28 15:01:24 +00:00
tree-ssa-forwprop.c re PR tree-optimization/92818 (Typo in vec_perm -> bit_insert pattern) 2019-12-05 13:02:57 +00:00
tree-ssa-ifcombine.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-live.c
tree-ssa-live.h
tree-ssa-loop-ch.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-loop-im.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-loop-ivcanon.c cfgloop.h (get_loop_exit_edges): Add extra parameter denoting loop body, defaulted to NULL. 2019-11-25 07:51:38 +00:00
tree-ssa-loop-ivopts.c cfgloop.h (get_loop_exit_edges): Add extra parameter denoting loop body, defaulted to NULL. 2019-11-25 07:51:38 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c Fix typos in 2 functions. 2019-12-10 08:36:56 +00:00
tree-ssa-loop-niter.h cfgloop.h (get_loop_exit_edges): Add extra parameter denoting loop body, defaulted to NULL. 2019-11-25 07:51:38 +00:00
tree-ssa-loop-prefetch.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-loop-split.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-loop-unswitch.c Use safe_dyn_cast instead of dyn_cast in find_loop_guard to fix PR92608. 2019-11-21 20:20:36 +00:00
tree-ssa-loop.c
tree-ssa-loop.h
tree-ssa-math-opts.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-operands.c
tree-ssa-operands.h
tree-ssa-phiopt.c re PR tree-optimization/92644 (ICE in wide_int_to_tree_1, at tree.c:1530) 2019-11-26 09:43:27 +01:00
tree-ssa-phiprop.c re PR tree-optimization/91812 (GCC ignores volatile modifier) 2019-09-19 12:49:45 +00:00
tree-ssa-pre.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-propagate.c [PATCH 1/2] Allow folding all statements. 2019-08-26 10:18:24 +00:00
tree-ssa-propagate.h [PATCH 1/2] Allow folding all statements. 2019-08-26 10:18:24 +00:00
tree-ssa-reassoc.c re PR tree-optimization/92618 (error: type mismatch in binary expression in reassoc since r273490) 2019-11-22 19:17:04 +01:00
tree-ssa-sccvn.c tree-ssa-sccvn.c (vn_reference_lookup_3): Properly guard empty CTOR and memset partial-def registering. 2019-12-04 13:21:39 +00:00
tree-ssa-sccvn.h tree-ssa-sccvn.h (vn_nary_op_lookup): Remove. 2019-09-03 11:24:18 +00:00
tree-ssa-scopedtables.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-scopedtables.h
tree-ssa-sink.c re PR tree-optimization/91355 (optimized code does not call destructor while unwinding after exception) 2019-11-21 11:59:27 +01:00
tree-ssa-strlen.c PR middle-end/91582 - missing heap overflow detection for strcpy 2019-12-04 18:28:11 -07:00
tree-ssa-strlen.h PR tree-optimization/83431 - -Wformat-truncation may incorrectly report truncation 2019-08-26 12:29:45 -06:00
tree-ssa-structalias.c cfganal.c (pre_and_rev_post_order_compute_fn): Use an auto_bb_flag instead of an sbitmap for visited handling. 2019-11-21 08:39:53 +00:00
tree-ssa-tail-merge.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-ter.c
tree-ssa-ter.h
tree-ssa-threadbackward.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-threadedge.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa-threadedge.h
tree-ssa-threadupdate.c
tree-ssa-threadupdate.h
tree-ssa-uncprop.c
tree-ssa-uninit.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
tree-ssa.c re PR tree-optimization/92645 (Hand written vector code is 450 times slower when compiled with GCC compared to Clang) 2019-12-03 07:36:14 +00:00
tree-ssa.h
tree-ssanames.c Rewrite value_range constructors to the value_range_kind is at the end, and defaults to VR_RANGE. 2019-11-13 16:03:27 +00:00
tree-ssanames.h The base class for ranges is currently value_range_base, which is rather long and cumbersome. 2019-11-05 15:39:11 +00:00
tree-stdarg.c
tree-stdarg.h
tree-streamer-in.c Remove leftover call to finalize_options_struct. 2019-11-13 08:39:53 +00:00
tree-streamer-out.c lto-streamer-out.c (lto_variably_modified_type_p): New. 2019-10-15 18:30:15 +00:00
tree-streamer.c
tree-streamer.h
tree-switch-conversion.c Initialize a BB count in switch lowering. 2019-12-04 10:13:49 +00:00
tree-switch-conversion.h Remove dead code in switch conv pass. 2019-11-14 12:04:45 +00:00
tree-tailcall.c [PR 91579] Avoid creating redundant PHI nodes in tail-call pass 2019-08-30 10:08:42 +02:00
tree-vect-data-refs.c Reject versioning for alignment with different masks (PR 92526) 2019-11-21 17:45:36 +00:00
tree-vect-generic.c target.def (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. 2019-11-27 12:22:02 +00:00
tree-vect-loop-manip.c Replace vec_info::vector_size with vec_info::vector_mode 2019-11-14 15:05:37 +00:00
tree-vect-loop.c Add missing conversion in vect_create_epilog_for_reduction 2019-12-10 12:20:12 +00:00
tree-vect-patterns.c re PR tree-optimization/89007 ([SVE] Implement generic vector average expansion) 2019-12-09 09:59:42 +00:00
tree-vect-slp.c re PR fortran/91003 (ICE when compiling LAPACK (CGEGV) with optimization) 2019-11-29 19:54:25 +00:00
tree-vect-stmts.c Record the loop masks needed for EXTRACT_LAST_REDUCTIONs 2019-12-10 12:20:07 +00:00
tree-vector-builder.c
tree-vector-builder.h Check for bitwise identity when encoding VECTOR_CSTs (PR 92768) 2019-12-05 14:20:38 +00:00
tree-vectorizer.c Support vectorisation with mixed vector sizes 2019-11-14 15:12:58 +00:00
tree-vectorizer.h Record the vector mask precision in stmt_vec_info 2019-11-29 14:47:39 +00:00
tree-vrp.c PR middle-end/92622 - FAIL: gcc.dg/Warray-bounds-22.c on ILP32: missing warnings for VLA on lines 67 and 69 2019-12-05 17:18:32 -07:00
tree-vrp.h Move plain value_range things to value-range.[hc]*. 2019-11-13 19:13:40 +00:00
tree.c tree.c (build_array_type_1): Add SET_CANONICAL parameter and compute TYPE_CANONICAL from the element type... 2019-12-09 16:41:30 +00:00
tree.def Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
tree.h Fix bugs relating to flexibly-sized objects in nios2 backend. 2019-12-01 22:52:15 -05:00
treestruct.def
tsan.c
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.c
typed-splay-tree.h
ubsan.c PR 92463 - Cleanups due to minimum MPFR version bump to 3.1.0 2019-11-27 10:16:24 +01:00
ubsan.h
unique-ptr-tests.cc
valtrack.c
valtrack.h
value-prof.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
value-prof.h Clean up value-prof.c a bit. 2019-08-23 07:48:34 +00:00
value-range.cc Make normalize_addresses and normalize_symbolics work on THIS, instead 2019-11-14 07:03:30 +00:00
value-range.h Remove higher precision range tests because they are unused. 2019-11-14 07:55:04 +00:00
var-tracking.c Remove gcc/params.* files. 2019-11-12 10:09:41 +00:00
varasm.c varasm.c (default_function_section): Fix confused tests for tp_first_run reordering. 2019-12-10 17:46:33 +00:00
varasm.h
varpool.c Come up with constructors of symtab_node, cgraph_node and varpool_node. 2019-12-09 09:00:42 +00:00
vec-perm-indices.c
vec-perm-indices.h
vec.c
vec.h cfgloop.h (loop_iterator::~loop_iterator): Remove. 2019-11-21 13:46:18 +00:00
vector-builder.h
version.c
version.h
vmsdbg.h
vmsdbgout.c
vr-values.c Rewrite value_range constructors to the value_range_kind is at the end, and defaults to VR_RANGE. 2019-11-13 16:03:27 +00:00
vr-values.h The base class for ranges is currently value_range_base, which is rather long and cumbersome. 2019-11-05 15:39:11 +00:00
vtable-verify.c
vtable-verify.h
web.c
wide-int-bitmask.h
wide-int-print.cc
wide-int-print.h
wide-int.cc
wide-int.h PR middle-end/91679 - missing -Warray-bounds accessing a member array in a local buffer 2019-11-01 15:09:20 -06:00
xcoff.h
xcoffout.c
xcoffout.h

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

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.