8sa1-gcc/gcc
Patrick Palka 123b3e03c9 c++: Don't substitute into constraints on lambdas [PR99874]
We currently substitute through a lambda's constraints whenever we
regenerate it via tsubst_lambda_expr.  This is the wrong approach
because it can lead to hard errors due to constraints being evaluated
out of order (as in the testcase concepts-lambda17.C below), and because
it doesn't mesh well with the recently added REQUIRES_EXPR_EXTRA_ARGS
mechanism for delaying substitution into requires-expressions, which is
the cause of this PR.

But in order to avoid substituting through a lambda's constraints during
regeneration, we need to be able to get at all in-scope template
parameters and corresponding template arguments during constraint
checking of a lambda's op().  And this information is not easily
available when we need it, it seems.

To that end, the approach that this patch takes is to add two new fields
to LAMBDA_EXPR (and remove one): LAMBDA_EXPR_REGENERATED_FROM
(replacing LAMBDA_EXPR_INSTANTIATED), and LAMBDA_EXPR_REGENERATING_TARGS.
The former allows us to obtain the complete set of template parameters
that are in-scope for a lambda's op(), and the latter gives us all outer
template arguments that were used to regenerate the lambda (analogous to
the TI_TEMPLATE and TI_ARGS of a TEMPLATE_INFO, respectively).

LAMBDA_EXPR_REGENERATING_TARGS is not strictly necessary -- in an
earlier prototype, I walked LAMBDA_EXPR_EXTRA_SCOPE to build up this set
of outer template arguments on demand, but it seems cleaner to do it this
way.  (We'd need to walk LAMBDA_EXPR_EXTRA_SCOPE and not DECL/TYPE_CONTEXT
because the latter skips over variable template scopes.)

This patch also renames the predicate instantiated_lambda_fn_p to
regenerated_lambda_fn_p, for sake of consistency with the rest of the
patch which uses "regenerated" instead of "instantiated".

gcc/cp/ChangeLog:

	PR c++/99874
	* constraint.cc (get_normalized_constraints_from_decl): Handle
	regenerated lambdas.
	(satisfy_declaration_constraints): Likewise.  Check for
	dependent args later.
	* cp-tree.h (LAMBDA_EXPR_INSTANTIATED): Replace with ...
	(LAMBDA_EXPR_REGENERATED_FROM): ... this.
	(LAMBDA_EXPR_REGENERATING_TARGS): New.
	(tree_lambda_expr::regenerated_from): New data member.
	(tree_lambda_expr::regenerating_targs): New data member.
	(add_to_template_args): Declare.
	(regenerated_lambda_fn_p): Likewise.
	(most_general_lambda): Likewise.
	* lambda.c (build_lambda_expr): Set LAMBDA_EXPR_REGENERATED_FROM
	and LAMBDA_EXPR_REGENERATING_TARGS.
	* pt.c (add_to_template_args): No longer static.
	(tsubst_function_decl): Unconditionally propagate constraints on
	the substituted function decl.
	(instantiated_lambda_fn_p): Rename to ...
	(regenerated_lambda_fn_p): ... this.  Check
	LAMBDA_EXPR_REGENERATED_FROM instead of
	LAMBDA_EXPR_INSTANTIATED.
	(most_general_lambda): Define.
	(enclosing_instantiation_of): Adjust after renaming
	instantiated_lambda_fn_p.
	(tsubst_lambda_expr): Don't set LAMBDA_EXPR_INSTANTIATED.  Set
	LAMBDA_EXPR_REGENERATED_FROM and LAMBDA_EXPR_REGENERATING_TARGS.
	Don't substitute or set constraints on the regenerated lambda.

gcc/testsuite/ChangeLog:

	PR c++/99874
	* g++.dg/cpp2a/concepts-lambda16.C: New test.
	* g++.dg/cpp2a/concepts-lambda17.C: New test.
2021-04-08 13:07:43 -04:00
..
ada Daily bump. 2021-03-30 00:16:29 +00:00
analyzer analyzer: fix leak false +ves due to maybe-clobbered regions [PR99042,PR99774] 2021-04-08 09:46:03 -04:00
brig Update copyright years. 2021-01-04 10:26:59 +01:00
c Daily bump. 2021-03-26 00:16:25 +00:00
c-family c-family: Fix various comment typos in c-warn.c 2021-04-08 19:05:08 +02:00
common i386: fix -march=amd crash 2021-03-24 20:45:26 +01:00
config VAX: Fix comment for `*bit<mode>' pattern's peephole 2021-04-08 16:55:49 +01:00
cp c++: Don't substitute into constraints on lambdas [PR99874] 2021-04-08 13:07:43 -04:00
d d: Update language attribute support, and implement gcc.attributes 2021-04-08 15:30:47 +02:00
doc testsuite: Add -mbig-endian stdint.h requirement 2021-04-08 17:39:11 +01:00
fortran Daily bump. 2021-04-04 00:16:26 +00:00
ginclude Update copyright years. 2021-01-04 10:26:59 +01:00
go compiler: copy receiver argument for go/defer of method call 2021-03-17 12:17:51 -07:00
jit Daily bump. 2021-03-25 00:16:48 +00:00
lto PR middle-end/99883 - A couple of minor misspellings 2021-04-08 09:08:39 -06:00
objc Update copyright years. 2021-01-04 10:26:59 +01:00
objcp Daily bump. 2021-01-06 00:16:55 +00:00
po Daily bump. 2021-04-07 00:16:39 +00:00
rtl-ssa fwprop: Fix single_use_p calculation 2021-03-23 19:44:22 +01:00
testsuite c++: Don't substitute into constraints on lambdas [PR99874] 2021-04-08 13:07:43 -04:00
ABOUT-GCC-NLS Update copyright years. 2021-01-04 10:26:59 +01:00
acinclude.m4 Update copyright years. 2021-01-04 10:26:59 +01:00
aclocal.m4 build: libcody: Link with -lsocket -lnsl if necessary [PR98316] 2021-01-05 11:32:31 +01:00
addresses.h Update copyright years. 2021-01-04 10:26:59 +01:00
adjust-alignment.c Update copyright years. 2021-01-04 10:26:59 +01:00
alias.c alias: Fix offset checks involving section anchors [PR92294] 2021-01-19 17:50:53 +00:00
alias.h Update copyright years. 2021-01-04 10:26:59 +01:00
align.h Update copyright years. 2021-01-04 10:26:59 +01:00
alloc-pool.c Update copyright years. 2021-01-04 10:26:59 +01:00
alloc-pool.h Update copyright years. 2021-01-04 10:26:59 +01:00
array-traits.h Update copyright years. 2021-01-04 10:26:59 +01:00
asan.c [PATCH] Fix typo in gcc/asan.c comment 2021-03-20 09:17:23 -06:00
asan.h Update copyright years. 2021-01-04 10:26:59 +01:00
attr-fnspec.h Update copyright years. 2021-01-04 10:26:59 +01:00
attribs.c PR middle-end/97172 - ICE: tree code 'ssa_name' is not supported in LTO streams 2021-02-24 08:57:59 -07:00
attribs.h Reset front end trees before they make it into the middle end (PR middle-end/97172). 2021-02-01 09:09:52 -07:00
auto-inc-dec.c Update copyright years. 2021-01-04 10:26:59 +01:00
auto-profile.c Update copyright years. 2021-01-04 10:26:59 +01:00
auto-profile.h Update copyright years. 2021-01-04 10:26:59 +01:00
backend.h Update copyright years. 2021-01-04 10:26:59 +01:00
BASE-VER Bump gcc/BASE-VER to 11.0.1 now that we are in stage4. 2021-02-25 11:16:29 +01:00
basic-block.h Update copyright years. 2021-01-04 10:26:59 +01:00
bb-reorder.c Update copyright years. 2021-01-04 10:26:59 +01:00
bb-reorder.h Update copyright years. 2021-01-04 10:26:59 +01:00
bitmap.c Update copyright years. 2021-01-04 10:26:59 +01:00
bitmap.h Fix statistic accounting for auto_vec and auto_bitmap 2021-02-01 16:51:29 +01:00
brig-builtins.def Update copyright years. 2021-01-04 10:26:59 +01:00
builtin-attrs.def Update copyright years. 2021-01-04 10:26:59 +01:00
builtin-types.def openmp: Add support for the OpenMP 5.0 task detach clause 2021-01-16 12:58:13 -08:00
builtins.c PR tree-optimization/99489 - ICE calling strncat after strcat 2021-03-13 13:45:51 -07:00
builtins.def Update copyright years. 2021-01-04 10:26:59 +01:00
builtins.h Update copyright years. 2021-01-04 10:26:59 +01:00
caller-save.c Update copyright years. 2021-01-04 10:26:59 +01:00
calls.c Fix internal error on lambda function 2021-03-09 16:22:55 +01:00
calls.h Update copyright years. 2021-01-04 10:26:59 +01:00
ccmp.c Update copyright years. 2021-01-04 10:26:59 +01:00
ccmp.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfg-flags.def Update copyright years. 2021-01-04 10:26:59 +01:00
cfg.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfg.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfganal.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfganal.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfgbuild.c expand: Fix up find_bb_boundaries [PR98331] 2021-01-29 10:30:09 +01:00
cfgbuild.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfgcleanup.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfgcleanup.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfgexpand.c Add input_modes parameter to TARGET_MD_ASM_ADJUST hook 2021-03-04 14:33:41 +01:00
cfgexpand.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfghooks.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfghooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfgloop.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfgloop.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfgloopanal.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfgloopmanip.c Update copyright years. 2021-01-04 10:26:59 +01:00
cfgloopmanip.h Update copyright years. 2021-01-04 10:26:59 +01:00
cfgrtl.c cfgrtl: Fix up fixup_partitions caused ICE [PR99085] 2021-03-03 09:51:54 +01:00
cfgrtl.h Update copyright years. 2021-01-04 10:26:59 +01:00
cgraph.c Fix overvactive check in cgraph_node::release_body 2021-03-31 20:10:31 +02:00
cgraph.h cgraph: flatten and same_body aliases [PR96078] 2021-03-02 23:20:43 -05:00
cgraphbuild.c Update copyright years. 2021-01-04 10:26:59 +01:00
cgraphclones.c Small refactoring of cgraph_node::release_body 2021-03-31 11:35:29 +02:00
cgraphunit.c Small refactoring of cgraph_node::release_body 2021-03-31 11:35:29 +02:00
ChangeLog Daily bump. 2021-04-08 00:16:44 +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 Fix up comment typo. 2020-02-05 11:36:25 +01:00
ChangeLog-2010
ChangeLog-2011 Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
ChangeLog-2012 Fix up ChangeLog entries (name, e-mail, formatting, otherwise). 2013-10-23 21:30:54 +00:00
ChangeLog-2013 Fix old ChangeLog entry to include global variable name that was changed. 2015-09-25 16:55:10 +00:00
ChangeLog-2014 Fix commit date 2015-11-17 10:28:23 +00:00
ChangeLog-2015 Minor ChangeLog formatting fixes. 2016-03-02 21:30:48 +01:00
ChangeLog-2016 * ChangeLog: Fix whitespace. 2017-01-05 20:18:53 +01:00
ChangeLog-2017 gcc.c (process_command): Update copyright notice dates. 2018-01-03 10:17:54 +01:00
ChangeLog-2018 Fix missing name in ChangeLog 2019-06-21 15:02:46 +00:00
ChangeLog-2019 re PR tree-optimization/93098 (ICE with negative shifter) 2020-01-01 01:20:39 +01:00
ChangeLog-2020 Rotate ChangeLog files - part 1 - add ChangeLog-2020. 2021-01-01 17:27:52 +01:00
ChangeLog.dataflow Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.gimple-classes Merger of git branch "gimple-classes-v2-option-3" 2014-11-19 17:00:54 +00:00
ChangeLog.graphite
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.lib Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.ptr Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.tree-ssa Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
ChangeLog.tuples Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
cif-code.def Make USES_COMDAT_LOCAL CIF_FINAL_NORMAL 2021-03-31 22:44:20 +02:00
collect2-aix.c Update copyright years. 2021-01-04 10:26:59 +01:00
collect2-aix.h Update copyright years. 2021-01-04 10:26:59 +01:00
collect2.c Update copyright years. 2021-01-04 10:26:59 +01:00
collect2.h Update copyright years. 2021-01-04 10:26:59 +01:00
collect-utils.c Update copyright years. 2021-01-04 10:26:59 +01:00
collect-utils.h Update copyright years. 2021-01-04 10:26:59 +01:00
color-macros.h Update copyright years. 2021-01-04 10:26:59 +01:00
combine-stack-adj.c Update copyright years. 2021-01-04 10:26:59 +01:00
combine.c Update copyright years. 2021-01-04 10:26:59 +01:00
common.md Update copyright years. 2021-01-04 10:26:59 +01:00
common.opt c++: Add ABI version for PR98481 fix 2021-04-01 10:04:38 -04:00
compare-elim.c Update copyright years. 2021-01-04 10:26:59 +01:00
conditions.h Update copyright years. 2021-01-04 10:26:59 +01:00
config.build Update copyright years. 2021-01-04 10:26:59 +01:00
config.gcc d: Add windows support for D compiler [PR91595] 2021-03-26 16:14:12 +01:00
config.host Update copyright years. 2021-01-04 10:26:59 +01:00
config.in i386, debug: Default to -gdwarf-4 on Windows targets with broken ld.bfd [PR98860] 2021-03-31 09:11:29 +02:00
configure i386, debug: Default to -gdwarf-4 on Windows targets with broken ld.bfd [PR98860] 2021-03-31 09:11:29 +02:00
configure.ac i386, debug: Default to -gdwarf-4 on Windows targets with broken ld.bfd [PR98860] 2021-03-31 09:11:29 +02:00
context.c Update copyright years. 2021-01-04 10:26:59 +01:00
context.h Update copyright years. 2021-01-04 10:26:59 +01:00
convert.c Update copyright years. 2021-01-04 10:26:59 +01:00
convert.h Update copyright years. 2021-01-04 10:26:59 +01:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h Update copyright years. 2021-01-04 10:26:59 +01:00
coroutine-builtins.def Update copyright years. 2021-01-04 10:26:59 +01:00
coroutine-passes.cc Update copyright years. 2021-01-04 10:26:59 +01:00
coverage.c Update copyright years. 2021-01-04 10:26:59 +01:00
coverage.h Update copyright years. 2021-01-04 10:26:59 +01:00
cppbuiltin.c Update copyright years. 2021-01-04 10:26:59 +01:00
cppbuiltin.h Update copyright years. 2021-01-04 10:26:59 +01:00
cppdefault.c Update copyright years. 2021-01-04 10:26:59 +01:00
cppdefault.h Update copyright years. 2021-01-04 10:26:59 +01:00
cprop.c Update copyright years. 2021-01-04 10:26:59 +01:00
cse.c Update copyright years. 2021-01-04 10:26:59 +01:00
cselib.c Update copyright years. 2021-01-04 10:26:59 +01:00
cselib.h Update copyright years. 2021-01-04 10:26:59 +01:00
cstamp-h.in
data-streamer-in.c Update copyright years. 2021-01-04 10:26:59 +01:00
data-streamer-out.c Update copyright years. 2021-01-04 10:26:59 +01:00
data-streamer.c Update copyright years. 2021-01-04 10:26:59 +01:00
data-streamer.h Update copyright years. 2021-01-04 10:26:59 +01:00
DATESTAMP Daily bump. 2021-04-08 00:16:44 +00:00
dbgcnt.c Update copyright years. 2021-01-04 10:26:59 +01:00
dbgcnt.def Update copyright years. 2021-01-04 10:26:59 +01:00
dbgcnt.h Update copyright years. 2021-01-04 10:26:59 +01:00
dbxout.c Update copyright years. 2021-01-04 10:26:59 +01:00
dbxout.h Update copyright years. 2021-01-04 10:26:59 +01:00
dce.c Update copyright years. 2021-01-04 10:26:59 +01:00
dce.h Update copyright years. 2021-01-04 10:26:59 +01:00
ddg.c Update copyright years. 2021-01-04 10:26:59 +01:00
ddg.h Update copyright years. 2021-01-04 10:26:59 +01:00
debug.c Update copyright years. 2021-01-04 10:26:59 +01:00
debug.h Warn to not add debug hook targets 2021-03-22 14:37:26 +01:00
defaults.h Update copyright years. 2021-01-04 10:26:59 +01:00
DEV-PHASE
df-core.c Fix cast in df_worklist_dataflow_doublequeue 2021-02-15 10:43:30 +01:00
df-problems.c df: Record all definitions in DF_LR_BB_INFO->def [PR98863] 2021-02-12 15:54:48 +00:00
df-scan.c Update copyright years. 2021-01-04 10:26:59 +01:00
df.h rtl-optimization/98144 - tame REE memory usage 2021-01-29 12:01:58 +01:00
dfp.c Update copyright years. 2021-01-04 10:26:59 +01:00
dfp.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-color.c Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-color.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-core.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-event-id.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-format-json.cc Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-metadata.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-path.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic-show-locus.c diagnostics: fix ICE on fix-it hints on very long lines [PR99323] 2021-03-02 15:46:06 -05:00
diagnostic-url.h Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic.c bootstrap: fix failing diagnostic selftest on Windows [PR98696] 2021-01-15 13:26:39 -05:00
diagnostic.def Update copyright years. 2021-01-04 10:26:59 +01:00
diagnostic.h Add GCC_EXTRA_DIAGNOSTIC_OUTPUT environment variable for fix-it hints 2021-01-14 16:28:38 -05:00
digraph.cc analyzer: support reverse direction in shortest-paths.h 2021-03-11 17:45:10 -05:00
digraph.h Update copyright years. 2021-01-04 10:26:59 +01:00
dojump.c Update copyright years. 2021-01-04 10:26:59 +01:00
dojump.h Update copyright years. 2021-01-04 10:26:59 +01:00
dominance.c Update copyright years. 2021-01-04 10:26:59 +01:00
dominance.h Update copyright years. 2021-01-04 10:26:59 +01:00
domwalk.c Update copyright years. 2021-01-04 10:26:59 +01:00
domwalk.h Update copyright years. 2021-01-04 10:26:59 +01:00
double-int.c Update copyright years. 2021-01-04 10:26:59 +01:00
double-int.h Update copyright years. 2021-01-04 10:26:59 +01:00
dse.c dse: Fix up hard reg conflict checking in replace_read [PR99863] 2021-04-03 10:07:09 +02:00
dump-context.h Update copyright years. 2021-01-04 10:26:59 +01:00
dumpfile.c Update copyright years. 2021-01-04 10:26:59 +01:00
dumpfile.h Update copyright years. 2021-01-04 10:26:59 +01:00
dwarf2asm.c dwarf2asm: Fix bootstrap on powerpc*-*-* [PR98839] 2021-01-26 18:13:07 +01:00
dwarf2asm.h Update copyright years. 2021-01-04 10:26:59 +01:00
dwarf2cfi.c dwarf2cfi: Defer queued register saves some more [PR99334] 2021-03-27 00:20:42 +01:00
dwarf2out.c dwarf2out: Fix up ranges for -gdwarf-5 -gsplit-dwarf [PR99490] 2021-03-31 21:25:58 +02:00
dwarf2out.h dwarf2cfi: Defer queued register saves some more [PR99334] 2021-03-27 00:20:42 +01:00
early-remat.c Update copyright years. 2021-01-04 10:26:59 +01:00
edit-context.c Update copyright years. 2021-01-04 10:26:59 +01:00
edit-context.h Update copyright years. 2021-01-04 10:26:59 +01:00
emit-rtl.c Handle CONST_POLY_INTs in CONST_VECTORs [PR97141, PR98726] 2021-03-31 19:34:00 +01:00
emit-rtl.h Update copyright years. 2021-01-04 10:26:59 +01:00
errors.c Update copyright years. 2021-01-04 10:26:59 +01:00
errors.h Update copyright years. 2021-01-04 10:26:59 +01:00
escaped_string.h Update copyright years. 2021-01-04 10:26:59 +01:00
et-forest.c Update copyright years. 2021-01-04 10:26:59 +01:00
et-forest.h Update copyright years. 2021-01-04 10:26:59 +01:00
except.c Update copyright years. 2021-01-04 10:26:59 +01:00
except.h Update copyright years. 2021-01-04 10:26:59 +01:00
exec-tool.in Update copyright years. 2021-01-04 10:26:59 +01:00
explow.c explow, aarch64: Fix force-Pmode-to-mem for ILP32 [PR97269] 2021-01-05 11:29:10 +00:00
explow.h Update copyright years. 2021-01-04 10:26:59 +01:00
expmed.c expand: Fix ICE in store_bit_field_using_insv [PR93235] 2021-03-04 19:38:08 +01:00
expmed.h Update copyright years. 2021-01-04 10:26:59 +01:00
expr.c middle-end/99281 - avoid bitfield stores into addressable types 2021-02-26 12:34:27 +01:00
expr.h expand: Fold x - y < 0 to x < y during expansion [PR94802] 2021-01-05 19:13:29 +01:00
fibonacci_heap.c Update copyright years. 2021-01-04 10:26:59 +01:00
fibonacci_heap.h Update copyright years. 2021-01-04 10:26:59 +01:00
file-find.c Update copyright years. 2021-01-04 10:26:59 +01:00
file-find.h Update copyright years. 2021-01-04 10:26:59 +01:00
file-prefix-map.c Update copyright years. 2021-01-04 10:26:59 +01:00
file-prefix-map.h Update copyright years. 2021-01-04 10:26:59 +01:00
final.c Reset force_source_line in final.c 2021-01-15 22:53:27 +01:00
fixed-value.c Update copyright years. 2021-01-04 10:26:59 +01:00
fixed-value.h Update copyright years. 2021-01-04 10:26:59 +01:00
flag-types.h Update copyright years. 2021-01-04 10:26:59 +01:00
flags.h Update copyright years. 2021-01-04 10:26:59 +01:00
fold-const-call.c fold: Fix up strn{case,}cmp folding [PR98771] 2021-01-25 10:03:40 +01:00
fold-const-call.h Update copyright years. 2021-01-04 10:26:59 +01:00
fold-const.c Improve rtx insn vec output 2021-04-07 21:04:22 -05:00
fold-const.h Update copyright years. 2021-01-04 10:26:59 +01:00
fp-test.c Update copyright years. 2021-01-04 10:26:59 +01:00
FSFChangeLog Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
FSFChangeLog.10 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
FSFChangeLog.11 Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
function-abi.cc Update copyright years. 2021-01-04 10:26:59 +01:00
function-abi.h Fix typo in function-abi.h 2021-01-12 17:58:32 +01:00
function-tests.c Update copyright years. 2021-01-04 10:26:59 +01:00
function.c vregs: Fix up instantiate_virtual_regs_in_insn for asm goto with outputs [PR98603] 2021-01-09 10:48:20 +01:00
function.h Update copyright years. 2021-01-04 10:26:59 +01:00
fwprop.c fwprop: Fix single_use_p calculation 2021-03-23 19:44:22 +01:00
gcc-ar.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcc-main.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcc-plugin.h Update copyright years. 2021-01-04 10:26:59 +01:00
gcc-rich-location.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcc-rich-location.h Update copyright years. 2021-01-04 10:26:59 +01:00
gcc-symtab.h Update copyright years. 2021-01-04 10:26:59 +01:00
gcc.c driver: error for nonexistent linker inputs [PR 98943] 2021-02-05 05:32:34 -08:00
gcc.h Update copyright years. 2021-01-04 10:26:59 +01:00
gcov-counter.def Update copyright years. 2021-01-04 10:26:59 +01:00
gcov-dump.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcov-io.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcov-io.h gcov: use mmap pools for KVP. 2021-03-03 14:21:45 +01:00
gcov-iov.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcov-tool.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcov.c gcov: fix printf format for 32-bit hosts 2021-01-12 18:16:05 +01:00
gcse-common.c Update copyright years. 2021-01-04 10:26:59 +01:00
gcse-common.h Update copyright years. 2021-01-04 10:26:59 +01:00
gcse.c gcse, ipa-devirt: Use %wd/%wu instead of HOST_WIDE_INT_PRINT* in diagnostics [PR99288] 2021-02-27 10:43:28 +01:00
gcse.h Update copyright years. 2021-01-04 10:26:59 +01:00
gdbasan.in Put a breakpoint on __sanitizer::Report 2014-01-09 10:40:13 -08:00
gdbhooks.py Update copyright years. 2021-01-04 10:26:59 +01:00
gdbinit.in Update copyright years. 2021-01-04 10:26:59 +01:00
gen-pass-instances.awk Update copyright years. 2021-01-04 10:26:59 +01:00
genattr-common.c Update copyright years. 2021-01-04 10:26:59 +01:00
genattr.c Update copyright years. 2021-01-04 10:26:59 +01:00
genattrtab.c Update copyright years. 2021-01-04 10:26:59 +01:00
genautomata.c Update copyright years. 2021-01-04 10:26:59 +01:00
gencfn-macros.c Update copyright years. 2021-01-04 10:26:59 +01:00
gencheck.c Update copyright years. 2021-01-04 10:26:59 +01:00
genchecksum.c Update copyright years. 2021-01-04 10:26:59 +01:00
gencodes.c Update copyright years. 2021-01-04 10:26:59 +01:00
genconditions.c Update copyright years. 2021-01-04 10:26:59 +01:00
genconfig.c Update copyright years. 2021-01-04 10:26:59 +01:00
genconstants.c Update copyright years. 2021-01-04 10:26:59 +01:00
genemit.c RTL: Update `const_double_zero' handling for mode and callable insns 2021-01-09 15:46:02 +00:00
genenums.c Update copyright years. 2021-01-04 10:26:59 +01:00
generic-match-head.c Update copyright years. 2021-01-04 10:26:59 +01:00
generic-match.h Update copyright years. 2021-01-04 10:26:59 +01:00
genextract.c Revert: "Don't build insn-extract.o with rtl checking" 2021-02-24 09:39:11 +00:00
genflags.c Update copyright years. 2021-01-04 10:26:59 +01:00
gengenrtl.c Update copyright years. 2021-01-04 10:26:59 +01:00
gengtype-lex.l Update copyright years. 2021-01-04 10:26:59 +01:00
gengtype-parse.c Update copyright years. 2021-01-04 10:26:59 +01:00
gengtype-state.c Update copyright years. 2021-01-04 10:26:59 +01:00
gengtype.c Update copyright years. 2021-01-04 10:26:59 +01:00
gengtype.h Update copyright years. 2021-01-04 10:26:59 +01:00
genhooks.c Update copyright years. 2021-01-04 10:26:59 +01:00
genmatch.c Update copyright years. 2021-01-04 10:26:59 +01:00
genmddeps.c Update copyright years. 2021-01-04 10:26:59 +01:00
genmddump.c Update copyright years. 2021-01-04 10:26:59 +01:00
genmodes.c Update copyright years. 2021-01-04 10:26:59 +01:00
genmultilib Update copyright years. 2021-01-04 10:26:59 +01:00
genopinit.c Update copyright years. 2021-01-04 10:26:59 +01:00
genoutput.c [PR99581] Define relaxed memory and use it for aarch64 2021-03-22 13:37:00 -04:00
genpeep.c Update copyright years. 2021-01-04 10:26:59 +01:00
genpreds.c [PR99581] Define relaxed memory and use it for aarch64 2021-03-22 13:37:00 -04:00
genrecog.c Update copyright years. 2021-01-04 10:26:59 +01:00
gensupport.c [PR99581] Define relaxed memory and use it for aarch64 2021-03-22 13:37:00 -04:00
gensupport.h Update copyright years. 2021-01-04 10:26:59 +01:00
gentarget-def.c Update copyright years. 2021-01-04 10:26:59 +01:00
ggc-common.c Update copyright years. 2021-01-04 10:26:59 +01:00
ggc-internal.h Update copyright years. 2021-01-04 10:26:59 +01:00
ggc-none.c Update copyright years. 2021-01-04 10:26:59 +01:00
ggc-page.c Update copyright years. 2021-01-04 10:26:59 +01:00
ggc-tests.c Update copyright years. 2021-01-04 10:26:59 +01:00
ggc.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-array-bounds.cc PR middle-end/99502 - missing -Warray-bounds on partial out of bounds 2021-03-18 13:38:00 -06:00
gimple-array-bounds.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-builder.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-builder.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-expr.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-expr.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-fold.c gimple-fold: Recompute ADDR_EXPR flags after folding a TMR [PR98268] 2021-03-31 19:34:01 +01:00
gimple-fold.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-if-to-switch.cc if-to-switch: fix memory leak in case merging 2021-02-10 13:20:51 +01:00
gimple-isel.cc gimple-isel: Check whether IFN_VCONDEQ is supported [PR98560] 2021-01-07 15:00:39 +00:00
gimple-iterator.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-iterator.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-laddress.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-loop-interchange.cc fix memory leaks 2021-02-02 20:07:30 +01:00
gimple-loop-jam.c fix memory leaks 2021-02-02 20:07:30 +01:00
gimple-loop-versioning.cc Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-low.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-low.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-match-head.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-match.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-predict.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-pretty-print.c Fix dumping of VEC_WIDEN_{PLUS,MINUS}_{LO,HI}_EXPR 2021-01-26 14:27:23 +01:00
gimple-pretty-print.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-range-cache.cc Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-range-cache.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-range-edge.cc Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-range-edge.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-range-gori.cc tree-optimization/98866 - Compile time hog in VRP 2021-01-29 11:47:18 -05:00
gimple-range-gori.h tree-optimization/98866 - Compile time hog in VRP 2021-01-29 11:47:18 -05:00
gimple-range.cc tree-optimization/98866 - Compile time hog in VRP 2021-01-29 11:47:18 -05:00
gimple-range.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-backprop.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-evrp-analyze.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-evrp-analyze.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-evrp.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-isolate-paths.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-nonnull-compare.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-split-paths.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-sprintf.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-store-merging.c bswap: Fix up bswap_view_convert after the recent change [PR99882] 2021-04-03 10:08:08 +02:00
gimple-ssa-strength-reduction.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
gimple-ssa-warn-alloca.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-warn-restrict.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa-warn-restrict.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-ssa.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-streamer-in.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-streamer-out.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-streamer.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-walk.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple-walk.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimple.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimple.def Update copyright years. 2021-01-04 10:26:59 +01:00
gimple.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimplify-me.c Update copyright years. 2021-01-04 10:26:59 +01:00
gimplify-me.h Update copyright years. 2021-01-04 10:26:59 +01:00
gimplify.c tree-optimization/99863 - clear vector CTOR TREE_SIDE_EFFECTS 2021-04-01 12:46:48 +02:00
gimplify.h Update copyright years. 2021-01-04 10:26:59 +01:00
glimits.h Update copyright years. 2021-01-04 10:26:59 +01:00
godump.c Update copyright years. 2021-01-04 10:26:59 +01:00
graph.c Update copyright years. 2021-01-04 10:26:59 +01:00
graph.h Update copyright years. 2021-01-04 10:26:59 +01:00
graphds.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphds.h Update copyright years. 2021-01-04 10:26:59 +01:00
graphite-dependences.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphite-isl-ast-to-gimple.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphite-optimize-isl.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphite-poly.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphite-scop-detection.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
graphite-sese-to-poly.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphite.c Update copyright years. 2021-01-04 10:26:59 +01:00
graphite.h Update copyright years. 2021-01-04 10:26:59 +01:00
graphviz.cc Update copyright years. 2021-01-04 10:26:59 +01:00
graphviz.h Update copyright years. 2021-01-04 10:26:59 +01:00
gsstruct.def Update copyright years. 2021-01-04 10:26:59 +01:00
gstab.h Update copyright years. 2021-01-04 10:26:59 +01:00
gsyms.h Update copyright years. 2021-01-04 10:26:59 +01:00
gsyslimits.h
gtm-builtins.def re PR target/68964 (Internal compiler error for test case gcc.dg/tm/20100610.c since r231674) 2016-01-13 09:03:42 -08:00
haifa-sched.c Update copyright years. 2021-01-04 10:26:59 +01:00
hard-reg-set.h Update copyright years. 2021-01-04 10:26:59 +01:00
hash-map-tests.c Update copyright years. 2021-01-04 10:26:59 +01:00
hash-map-traits.h Update copyright years. 2021-01-04 10:26:59 +01:00
hash-map.h Update copyright years. 2021-01-04 10:26:59 +01:00
hash-set-tests.c Update copyright years. 2021-01-04 10:26:59 +01:00
hash-set.h Update copyright years. 2021-01-04 10:26:59 +01:00
hash-table.c Update copyright years. 2021-01-04 10:26:59 +01:00
hash-table.h Update copyright years. 2021-01-04 10:26:59 +01:00
hash-traits.h Update copyright years. 2021-01-04 10:26:59 +01:00
highlev-plugin-common.h Update copyright years. 2021-01-04 10:26:59 +01:00
hooks.c Update copyright years. 2021-01-04 10:26:59 +01:00
hooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
host-default.c Update copyright years. 2021-01-04 10:26:59 +01:00
hosthooks-def.h Update copyright years. 2021-01-04 10:26:59 +01:00
hosthooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
hw-doloop.c Update copyright years. 2021-01-04 10:26:59 +01:00
hw-doloop.h Update copyright years. 2021-01-04 10:26:59 +01:00
hwint.c Update copyright years. 2021-01-04 10:26:59 +01:00
hwint.h Handle overflow in dependence analysis lambda ops gracefully 2021-01-20 16:32:11 +01:00
ifcvt.c ifcvt: Avoid ICEs trying to force_operand random RTL [PR97487] 2021-02-03 09:10:29 +01:00
ifcvt.h Update copyright years. 2021-01-04 10:26:59 +01:00
inchash.c Update copyright years. 2021-01-04 10:26:59 +01:00
inchash.h Update copyright years. 2021-01-04 10:26:59 +01:00
incpath.c Update copyright years. 2021-01-04 10:26:59 +01:00
incpath.h Update copyright years. 2021-01-04 10:26:59 +01:00
init-regs.c rtl-optimization: Fix uninitialized use of opaque mode variable ICE [PR98872] 2021-02-15 10:39:24 -06:00
input.c Update copyright years. 2021-01-04 10:26:59 +01:00
input.h Update copyright years. 2021-01-04 10:26:59 +01:00
insn-addr.h Update copyright years. 2021-01-04 10:26:59 +01:00
insn-notes.def Update copyright years. 2021-01-04 10:26:59 +01:00
int-vector-builder.h Update copyright years. 2021-01-04 10:26:59 +01:00
internal-fn.c gimple-isel: Check whether IFN_VCONDEQ is supported [PR98560] 2021-01-07 15:00:39 +00:00
internal-fn.def slp: support complex FMS and complex FMS conjugate 2021-01-14 20:59:12 +00:00
internal-fn.h Update copyright years. 2021-01-04 10:26:59 +01:00
intl.c Update copyright years. 2021-01-04 10:26:59 +01:00
intl.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-comdats.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-cp.c ipa: Check that scalar types that IPA-CP comes up with are sane (PR99122) 2021-03-24 20:27:27 +01:00
ipa-devirt.c gcse, ipa-devirt: Use %wd/%wu instead of HOST_WIDE_INT_PRINT* in diagnostics [PR99288] 2021-02-27 10:43:28 +01:00
ipa-fnsummary.c Fix ICE in compute_fn_summary 2021-03-01 14:36:11 +01:00
ipa-fnsummary.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-icf-gimple.c icf: Check return type of internal fn calls [PR99517] 2021-03-11 10:59:18 +01:00
ipa-icf-gimple.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-icf.c IPA ICF + ASAN: do not merge vars with different alignment 2021-02-23 16:03:09 +01:00
ipa-icf.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-inline-analysis.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-inline-transform.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-inline.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-inline.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-modref-tree.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-modref-tree.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-modref.c Fix coding style in IPA modref. 2021-03-31 10:52:22 +02:00
ipa-modref.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-param-manipulation.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-param-manipulation.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-polymorphic-call.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-predicate.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-predicate.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-profile.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-prop.c middle-end/38474 - fix alias walk budget accounting in IPA analysis 2021-02-12 12:34:28 +01:00
ipa-prop.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-pure-const.c ipa/99029 - fix memory leak in propagate_malloc 2021-02-10 10:09:33 +01:00
ipa-ref.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-ref.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-reference.c Fix memory leak in ipa-refernece 2021-02-14 23:24:44 +01:00
ipa-reference.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-split.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-sra.c ipa-sra: Do not remove return values needed because of non-call EH 2021-01-19 11:28:48 +01:00
ipa-utils.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-utils.h Update copyright years. 2021-01-04 10:26:59 +01:00
ipa-visibility.c Update copyright years. 2021-01-04 10:26:59 +01:00
ipa.c typos: Fix various typos - mainly misspelled reference* [PR99304] 2021-02-28 11:12:57 +01:00
ira-build.c Update copyright years. 2021-01-04 10:26:59 +01:00
ira-color.c Update copyright years. 2021-01-04 10:26:59 +01:00
ira-conflicts.c ira: Make sure allocno copies are ordered [PR98791] 2021-02-22 13:46:29 +00:00
ira-costs.c [PR99766] Consider relaxed memory associated more with memory instead of special memory. 2021-03-26 17:11:30 +00:00
ira-emit.c Update copyright years. 2021-01-04 10:26:59 +01:00
ira-int.h Update copyright years. 2021-01-04 10:26:59 +01:00
ira-lives.c [PR99581] Define relaxed memory and use it for aarch64 2021-03-22 13:37:00 -04:00
ira.c [PR99766] Consider relaxed memory associated more with memory instead of special memory. 2021-03-26 17:11:30 +00:00
ira.h Update copyright years. 2021-01-04 10:26:59 +01:00
is-a.h Update copyright years. 2021-01-04 10:26:59 +01:00
iterator-utils.h Update copyright years. 2021-01-04 10:26:59 +01:00
json.cc Update copyright years. 2021-01-04 10:26:59 +01:00
json.h Update copyright years. 2021-01-04 10:26:59 +01:00
jump.c Update copyright years. 2021-01-04 10:26:59 +01:00
langhooks-def.h Update copyright years. 2021-01-04 10:26:59 +01:00
langhooks.c Update copyright years. 2021-01-04 10:26:59 +01:00
langhooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
LANGUAGES Update copyright years. 2021-01-04 10:26:59 +01:00
lcm.c Update copyright years. 2021-01-04 10:26:59 +01:00
lcm.h Update copyright years. 2021-01-04 10:26:59 +01:00
libfuncs.h Update copyright years. 2021-01-04 10:26:59 +01:00
limitx.h Update copyright years. 2021-01-04 10:26:59 +01:00
limity.h
lists.c Update copyright years. 2021-01-04 10:26:59 +01:00
lock-and-run.sh * lock-and-run.sh: Tweak command order. 2019-10-21 23:30:48 -04:00
loop-doloop.c Update copyright years. 2021-01-04 10:26:59 +01:00
loop-init.c Update copyright years. 2021-01-04 10:26:59 +01:00
loop-invariant.c Update copyright years. 2021-01-04 10:26:59 +01:00
loop-iv.c Update copyright years. 2021-01-04 10:26:59 +01:00
loop-unroll.c Update copyright years. 2021-01-04 10:26:59 +01:00
loop-unroll.h Update copyright years. 2021-01-04 10:26:59 +01:00
lower-subreg.c Update copyright years. 2021-01-04 10:26:59 +01:00
lower-subreg.h Update copyright years. 2021-01-04 10:26:59 +01:00
lra-assigns.c [PR97978] LRA: Permit temporary allocation incorrectness after hard reg split. 2021-01-06 16:13:30 -05:00
lra-coalesce.c Update copyright years. 2021-01-04 10:26:59 +01:00
lra-constraints.c [PR99781] Update correctly reg notes in LRA for multi-registers and set up biggest mode safely 2021-04-06 09:22:16 -04:00
lra-eliminations.c [PR98777] LRA: Use preliminary created pseudo for in LRA elimination subpass 2021-01-21 18:06:49 -05:00
lra-int.h [PR98777] LRA: Use preliminary created pseudo for in LRA elimination subpass 2021-01-21 18:06:49 -05:00
lra-lives.c [PR99781] Update correctly reg notes in LRA for multi-registers and set up biggest mode safely 2021-04-06 09:22:16 -04:00
lra-remat.c [PR96264] LRA: Check output insn hard regs when updating available rematerialization after the insn 2021-02-18 17:51:03 -05:00
lra-spills.c lra: clear lra_insn_recog_data after simplifying a mem subreg 2021-02-03 13:40:19 +01:00
lra.c [PR98777] LRA: Use preliminary created pseudo for in LRA elimination subpass 2021-01-21 18:06:49 -05:00
lra.h Update copyright years. 2021-01-04 10:26:59 +01:00
lto-cgraph.c Update copyright years. 2021-01-04 10:26:59 +01:00
lto-compress.c Update copyright years. 2021-01-04 10:26:59 +01:00
lto-compress.h Update copyright years. 2021-01-04 10:26:59 +01:00
lto-opts.c Update copyright years. 2021-01-04 10:26:59 +01:00
lto-section-in.c Update copyright years. 2021-01-04 10:26:59 +01:00
lto-section-names.h Update copyright years. 2021-01-04 10:26:59 +01:00
lto-section-out.c Update copyright years. 2021-01-04 10:26:59 +01:00
lto-streamer-in.c Update copyright years. 2021-01-04 10:26:59 +01:00
lto-streamer-out.c Fill up padding in lto_section struct. 2021-02-03 13:18:52 +01:00
lto-streamer.c more memory leak fixes 2021-02-03 10:04:13 +01:00
lto-streamer.h Fill up padding in lto_section struct. 2021-02-03 13:18:52 +01:00
lto-wrapper.c Update copyright years. 2021-01-04 10:26:59 +01:00
machmode.def Update copyright years. 2021-01-04 10:26:59 +01:00
machmode.h Update copyright years. 2021-01-04 10:26:59 +01:00
main.c Update copyright years. 2021-01-04 10:26:59 +01:00
Makefile.in analyzer: new implementation of shortest feasible path [PR96374] 2021-03-11 17:46:37 -05:00
match.pd match.pd: Fix sve/vcond_3.c 2021-04-08 17:39:11 +01:00
mcf.c Update copyright years. 2021-01-04 10:26:59 +01:00
mem-stats-traits.h Update copyright years. 2021-01-04 10:26:59 +01:00
mem-stats.h Update copyright years. 2021-01-04 10:26:59 +01:00
memmodel.h Update copyright years. 2021-01-04 10:26:59 +01:00
memory-block.cc Update copyright years. 2021-01-04 10:26:59 +01:00
memory-block.h Update copyright years. 2021-01-04 10:26:59 +01:00
mkconfig.sh Update copyright years. 2021-01-04 10:26:59 +01:00
mode-classes.def Update copyright years. 2021-01-04 10:26:59 +01:00
mode-switching.c Update copyright years. 2021-01-04 10:26:59 +01:00
modulo-sched.c Update copyright years. 2021-01-04 10:26:59 +01:00
multiple_target.c Update copyright years. 2021-01-04 10:26:59 +01:00
mux-utils.h A couple of comment tweaks 2021-01-05 17:43:27 +00:00
obstack-utils.h Update copyright years. 2021-01-04 10:26:59 +01:00
omp-builtins.def openmp: Add support for the OpenMP 5.0 task detach clause 2021-01-16 12:58:13 -08:00
omp-expand.c openmp: Add support for the OpenMP 5.0 task detach clause 2021-01-16 12:58:13 -08:00
omp-expand.h Update copyright years. 2021-01-04 10:26:59 +01:00
omp-general.c Update copyright years. 2021-01-04 10:26:59 +01:00
omp-general.h Update copyright years. 2021-01-04 10:26:59 +01:00
omp-low.c openmp: Diagnose invalid teams nested in target construct [PR99226] 2021-02-24 20:11:11 +01:00
omp-low.h Update copyright years. 2021-01-04 10:26:59 +01:00
omp-oacc-kernels-decompose.cc Update copyright years. 2021-01-04 10:26:59 +01:00
omp-offload.c Update copyright years. 2021-01-04 10:26:59 +01:00
omp-offload.h Update copyright years. 2021-01-04 10:26:59 +01:00
omp-simd-clone.c Update copyright years. 2021-01-04 10:26:59 +01:00
omp-simd-clone.h Update copyright years. 2021-01-04 10:26:59 +01:00
ONEWS Update copyright years in gcc/ 2013-01-10 20:38:27 +00:00
opt-functions.awk Update copyright years. 2021-01-04 10:26:59 +01:00
opt-gather.awk Update copyright years. 2021-01-04 10:26:59 +01:00
opt-include.awk Update copyright years. 2021-01-04 10:26:59 +01:00
opt-problem.cc Update copyright years. 2021-01-04 10:26:59 +01:00
opt-problem.h Update copyright years. 2021-01-04 10:26:59 +01:00
opt-read.awk Update copyright years. 2021-01-04 10:26:59 +01:00
opt-suggestions.c Update copyright years. 2021-01-04 10:26:59 +01:00
opt-suggestions.h Update copyright years. 2021-01-04 10:26:59 +01:00
optabs-libfuncs.c Update copyright years. 2021-01-04 10:26:59 +01:00
optabs-libfuncs.h Update copyright years. 2021-01-04 10:26:59 +01:00
optabs-query.c Update copyright years. 2021-01-04 10:26:59 +01:00
optabs-query.h Update copyright years. 2021-01-04 10:26:59 +01:00
optabs-tree.c [aarch64][vect] Support V8QI->V8HI WIDEN_ patterns 2021-02-11 15:04:59 +00:00
optabs-tree.h [aarch64][vect] Support V8QI->V8HI WIDEN_ patterns 2021-02-11 15:04:59 +00:00
optabs.c i386, expand: Optimize also 256-bit and 512-bit permutatations as vpmovzx if possible [PR95905] 2021-01-13 11:36:38 +01:00
optabs.def slp: support complex FMS and complex FMS conjugate 2021-01-14 20:59:12 +00:00
optabs.h Update copyright years. 2021-01-04 10:26:59 +01:00
optc-gen.awk Update copyright years. 2021-01-04 10:26:59 +01:00
optc-save-gen.awk options: ignore flag_ipa_ra in cl_optimization_compare 2021-03-16 14:44:26 +01:00
opth-gen.awk Update copyright years. 2021-01-04 10:26:59 +01:00
optinfo-emit-json.cc Update copyright years. 2021-01-04 10:26:59 +01:00
optinfo-emit-json.h Update copyright years. 2021-01-04 10:26:59 +01:00
optinfo.cc Update copyright years. 2021-01-04 10:26:59 +01:00
optinfo.h Update copyright years. 2021-01-04 10:26:59 +01:00
opts-common.c Fix producer string memory leaks 2021-02-12 10:25:06 +01:00
opts-diagnostic.h Update copyright years. 2021-01-04 10:26:59 +01:00
opts-global.c Update copyright years. 2021-01-04 10:26:59 +01:00
opts.c Fix producer string memory leaks 2021-02-12 10:25:06 +01:00
opts.h opts: fix handling of -fpatchable-function-entries option 2021-02-08 12:31:24 +01:00
ordered-hash-map-tests.cc Update copyright years. 2021-01-04 10:26:59 +01:00
ordered-hash-map.h Update copyright years. 2021-01-04 10:26:59 +01:00
output.h Update copyright years. 2021-01-04 10:26:59 +01:00
params.opt Fix typo in param description. 2021-02-19 17:29:23 +01:00
pass_manager.h Update copyright years. 2021-01-04 10:26:59 +01:00
passes.c Rename PROP_trees to PROP_gimple 2021-01-27 10:10:04 +01:00
passes.def cd_dce: Return TODO_update_address_taken from last cd_dce [PR96271] 2021-01-16 09:20:29 +01:00
plugin.c Update copyright years. 2021-01-04 10:26:59 +01:00
plugin.def Update copyright years. 2021-01-04 10:26:59 +01:00
plugin.h Update copyright years. 2021-01-04 10:26:59 +01:00
poly-int-types.h Update copyright years. 2021-01-04 10:26:59 +01:00
poly-int.h Update copyright years. 2021-01-04 10:26:59 +01:00
postreload-gcse.c Update copyright years. 2021-01-04 10:26:59 +01:00
postreload.c Update copyright years. 2021-01-04 10:26:59 +01:00
predict.c Update copyright years. 2021-01-04 10:26:59 +01:00
predict.def Update copyright years. 2021-01-04 10:26:59 +01:00
predict.h Update copyright years. 2021-01-04 10:26:59 +01:00
prefix.c Update copyright years. 2021-01-04 10:26:59 +01:00
prefix.h Update copyright years. 2021-01-04 10:26:59 +01:00
pretty-print.c Update copyright years. 2021-01-04 10:26:59 +01:00
pretty-print.h Update copyright years. 2021-01-04 10:26:59 +01:00
print-rtl-function.c Update copyright years. 2021-01-04 10:26:59 +01:00
print-rtl.c Improve rtx insn vec output 2021-04-07 21:04:22 -05:00
print-rtl.h Update copyright years. 2021-01-04 10:26:59 +01:00
print-tree.c Update copyright years. 2021-01-04 10:26:59 +01:00
print-tree.h Update copyright years. 2021-01-04 10:26:59 +01:00
profile-count.c Update copyright years. 2021-01-04 10:26:59 +01:00
profile-count.h Update copyright years. 2021-01-04 10:26:59 +01:00
profile.c Drop time profile for multi-threaded training run. 2021-01-22 14:20:53 +01:00
profile.h Update copyright years. 2021-01-04 10:26:59 +01:00
range-op.cc Update copyright years. 2021-01-04 10:26:59 +01:00
range-op.h Update copyright years. 2021-01-04 10:26:59 +01:00
range.cc Update copyright years. 2021-01-04 10:26:59 +01:00
range.h Update copyright years. 2021-01-04 10:26:59 +01:00
read-md.c Update copyright years. 2021-01-04 10:26:59 +01:00
read-md.h Update copyright years. 2021-01-04 10:26:59 +01:00
read-rtl-function.c Update copyright years. 2021-01-04 10:26:59 +01:00
read-rtl-function.h Update copyright years. 2021-01-04 10:26:59 +01:00
read-rtl.c RTL: Update `const_double_zero' handling for mode and callable insns 2021-01-09 15:46:02 +00:00
README.Portability Update copyright years. 2021-01-04 10:26:59 +01:00
real.c Update copyright years. 2021-01-04 10:26:59 +01:00
real.h Update copyright years. 2021-01-04 10:26:59 +01:00
realmpfr.c Update copyright years. 2021-01-04 10:26:59 +01:00
realmpfr.h Update copyright years. 2021-01-04 10:26:59 +01:00
recog.c [PR99766] Consider relaxed memory associated more with memory instead of special memory. 2021-03-26 17:11:30 +00:00
recog.h recog: Fix insn_change_watermark destructor 2021-01-15 16:45:41 +00:00
ree.c Update copyright years. 2021-01-04 10:26:59 +01:00
reg-notes.def Update copyright years. 2021-01-04 10:26:59 +01:00
reg-stack.c Update copyright years. 2021-01-04 10:26:59 +01:00
regcprop.c cprop_hardreg: Ensure replacement reg has compatible mode [PR99221] 2021-03-23 09:48:01 +01:00
regcprop.h Update copyright years. 2021-01-04 10:26:59 +01:00
reginfo.c Update copyright years. 2021-01-04 10:26:59 +01:00
regrename.c Update copyright years. 2021-01-04 10:26:59 +01:00
regrename.h Update copyright years. 2021-01-04 10:26:59 +01:00
regs.h Update copyright years. 2021-01-04 10:26:59 +01:00
regset.h Update copyright years. 2021-01-04 10:26:59 +01:00
regstat.c Update copyright years. 2021-01-04 10:26:59 +01:00
reload1.c Update copyright years. 2021-01-04 10:26:59 +01:00
reload.c [PR99766] Consider relaxed memory associated more with memory instead of special memory. 2021-03-26 17:11:30 +00:00
reload.h Update copyright years. 2021-01-04 10:26:59 +01:00
reorg.c Fix miscompilation of Python on HP-PA/Linux 2021-02-09 19:54:52 +01:00
resource.c Update copyright years. 2021-01-04 10:26:59 +01:00
resource.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtl-error.c Update copyright years. 2021-01-04 10:26:59 +01:00
rtl-error.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtl-iter.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtl-ssa.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtl-tests.c Update copyright years. 2021-01-04 10:26:59 +01:00
rtl.c Update copyright years. 2021-01-04 10:26:59 +01:00
rtl.def [PR99581] Define relaxed memory and use it for aarch64 2021-03-22 13:37:00 -04:00
rtl.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtlanal.c Fix undefined behavior spotted by the sanitizer 2021-03-05 12:47:28 +01:00
rtlanal.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtlhash.c Update copyright years. 2021-01-04 10:26:59 +01:00
rtlhash.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtlhooks-def.h Update copyright years. 2021-01-04 10:26:59 +01:00
rtlhooks.c Update copyright years. 2021-01-04 10:26:59 +01:00
rtx-vector-builder.c Handle CONST_POLY_INTs in CONST_VECTORs [PR97141, PR98726] 2021-03-31 19:34:00 +01:00
rtx-vector-builder.h Handle CONST_POLY_INTs in CONST_VECTORs [PR97141, PR98726] 2021-03-31 19:34:00 +01:00
run-rtl-passes.c Update copyright years. 2021-01-04 10:26:59 +01:00
run-rtl-passes.h Update copyright years. 2021-01-04 10:26:59 +01:00
sancov.c Update copyright years. 2021-01-04 10:26:59 +01:00
sanitizer.def Update copyright years. 2021-01-04 10:26:59 +01:00
sanopt.c Update copyright years. 2021-01-04 10:26:59 +01:00
sbitmap.c Update copyright years. 2021-01-04 10:26:59 +01:00
sbitmap.h Update copyright years. 2021-01-04 10:26:59 +01:00
sched-deps.c Update copyright years. 2021-01-04 10:26:59 +01:00
sched-ebb.c Update copyright years. 2021-01-04 10:26:59 +01:00
sched-int.h Update copyright years. 2021-01-04 10:26:59 +01:00
sched-rgn.c Update copyright years. 2021-01-04 10:26:59 +01:00
sel-sched-dump.c Update copyright years. 2021-01-04 10:26:59 +01:00
sel-sched-dump.h Update copyright years. 2021-01-04 10:26:59 +01:00
sel-sched-ir.c Update copyright years. 2021-01-04 10:26:59 +01:00
sel-sched-ir.h Update copyright years. 2021-01-04 10:26:59 +01:00
sel-sched.c Update copyright years. 2021-01-04 10:26:59 +01:00
sel-sched.h Update copyright years. 2021-01-04 10:26:59 +01:00
selftest-diagnostic.c Update copyright years. 2021-01-04 10:26:59 +01:00
selftest-diagnostic.h Update copyright years. 2021-01-04 10:26:59 +01:00
selftest-rtl.c Update copyright years. 2021-01-04 10:26:59 +01:00
selftest-rtl.h Update copyright years. 2021-01-04 10:26:59 +01:00
selftest-run-tests.c Update copyright years. 2021-01-04 10:26:59 +01:00
selftest.c Update copyright years. 2021-01-04 10:26:59 +01:00
selftest.h Update copyright years. 2021-01-04 10:26:59 +01:00
sese.c Update copyright years. 2021-01-04 10:26:59 +01:00
sese.h Update copyright years. 2021-01-04 10:26:59 +01:00
shortest-paths.h analyzer: new implementation of shortest feasible path [PR96374] 2021-03-11 17:46:37 -05:00
shrink-wrap.c Update copyright years. 2021-01-04 10:26:59 +01:00
shrink-wrap.h Update copyright years. 2021-01-04 10:26:59 +01:00
signop.h Update copyright years. 2021-01-04 10:26:59 +01:00
simplify-rtx.c simplify-rtx: Optimize (x - 1) * y + y [PR98334] 2021-01-05 10:59:00 +01:00
sort.cc Update copyright years. 2021-01-04 10:26:59 +01:00
sparseset.c Update copyright years. 2021-01-04 10:26:59 +01:00
sparseset.h reduce sparseset memory requirement 2021-02-11 12:46:34 +01:00
spellcheck-tree.c Update copyright years. 2021-01-04 10:26:59 +01:00
spellcheck-tree.h Update copyright years. 2021-01-04 10:26:59 +01:00
spellcheck.c Fix -Wstring-concatenation warning. 2021-03-15 09:29:10 +01:00
spellcheck.h Update copyright years. 2021-01-04 10:26:59 +01:00
splay-tree-utils.cc Update copyright years. 2021-01-04 10:26:59 +01:00
splay-tree-utils.h Update copyright years. 2021-01-04 10:26:59 +01:00
splay-tree-utils.tcc Update copyright years. 2021-01-04 10:26:59 +01:00
sreal.c Update copyright years. 2021-01-04 10:26:59 +01:00
sreal.h Update copyright years. 2021-01-04 10:26:59 +01:00
ssa-iterators.h make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
ssa.h Update copyright years. 2021-01-04 10:26:59 +01:00
stab.def Update copyright years. 2021-01-04 10:26:59 +01:00
stack-ptr-mod.c Update copyright years. 2021-01-04 10:26:59 +01:00
statistics.c Update copyright years. 2021-01-04 10:26:59 +01:00
statistics.h Update copyright years. 2021-01-04 10:26:59 +01:00
stmt.c [PR99581] Define relaxed memory and use it for aarch64 2021-03-22 13:37:00 -04:00
stmt.h Update copyright years. 2021-01-04 10:26:59 +01:00
stor-layout.c tree-optimization/99824 - avoid excessive integer type precision in VN 2021-03-30 14:00:58 +02:00
stor-layout.h Update copyright years. 2021-01-04 10:26:59 +01:00
store-motion.c Update copyright years. 2021-01-04 10:26:59 +01:00
streamer-hooks.c Update copyright years. 2021-01-04 10:26:59 +01:00
streamer-hooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
stringpool.c Update copyright years. 2021-01-04 10:26:59 +01:00
stringpool.h Update copyright years. 2021-01-04 10:26:59 +01:00
substring-locations.c Update copyright years. 2021-01-04 10:26:59 +01:00
substring-locations.h Update copyright years. 2021-01-04 10:26:59 +01:00
symbol-summary.h Update copyright years. 2021-01-04 10:26:59 +01:00
symtab-clones.cc Update copyright years. 2021-01-04 10:26:59 +01:00
symtab-clones.h Properly release symtab::m_clones. 2021-01-11 18:15:06 +01:00
symtab-thunks.cc Update copyright years. 2021-01-04 10:26:59 +01:00
symtab-thunks.h Update copyright years. 2021-01-04 10:26:59 +01:00
symtab.c Update copyright years. 2021-01-04 10:26:59 +01:00
sync-builtins.def Update copyright years. 2021-01-04 10:26:59 +01:00
system.h Add missing definition of SIZE_MAX 2021-01-31 23:25:56 +01:00
target-def.h Update copyright years. 2021-01-04 10:26:59 +01:00
target-globals.c Update copyright years. 2021-01-04 10:26:59 +01:00
target-globals.h Update copyright years. 2021-01-04 10:26:59 +01:00
target-hooks-macros.h Update copyright years. 2021-01-04 10:26:59 +01:00
target-insns.def Update copyright years. 2021-01-04 10:26:59 +01:00
target.def Add input_modes parameter to TARGET_MD_ASM_ADJUST hook 2021-03-04 14:33:41 +01:00
target.h Update copyright years. 2021-01-04 10:26:59 +01:00
targhooks.c rs6000: Avoid -fpatchable-function-entry* regressions on powerpc64 be [PR98125] 2021-04-03 10:03:15 +02:00
targhooks.h rs6000: Avoid -fpatchable-function-entry* regressions on powerpc64 be [PR98125] 2021-04-03 10:03:15 +02:00
timevar.c Update copyright years. 2021-01-04 10:26:59 +01:00
timevar.def Update copyright years. 2021-01-04 10:26:59 +01:00
timevar.h Update copyright years. 2021-01-04 10:26:59 +01:00
toplev.c Fix 2 more leaks related to gen_command_line_string. 2021-02-15 16:01:58 +01:00
toplev.h Update copyright years. 2021-01-04 10:26:59 +01:00
tracer.c Update copyright years. 2021-01-04 10:26:59 +01:00
tracer.h Update copyright years. 2021-01-04 10:26:59 +01:00
trans-mem.c Update copyright years. 2021-01-04 10:26:59 +01:00
trans-mem.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-affine.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-affine.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-call-cdce.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-cfg.c tree-optimization/99523 - missing SSA decls in dumps 2021-03-11 12:36:37 +01:00
tree-cfg.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-cfgcleanup.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-cfgcleanup.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-chrec.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-chrec.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-complex.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-core.h c-family: Fix up -Wduplicated-branches for union members [PR99565] 2021-03-25 13:41:55 +01:00
tree-data-ref.c data-ref: Tighten index-based alias checks [PR99726] 2021-03-31 19:34:01 +01:00
tree-data-ref.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-dfa.c on ARRAY_REFs sign-extend offsets only from sizetype's precision [PR98255] 2021-01-22 11:42:03 +01:00
tree-dfa.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-diagnostic-path.cc Update copyright years. 2021-01-04 10:26:59 +01:00
tree-diagnostic.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-diagnostic.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-dump.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-dump.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-eh.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-eh.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-emutls.c Fix ICE: in function_and_variable_visibility, at ipa-visibility.c:795 [PR99466] 2021-03-26 16:14:18 +01:00
tree-hash-traits.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-hasher.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-if-conv.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-if-conv.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-inline.c Fix ICE in tree_inlinable_function_p. 2021-02-22 10:42:52 +01:00
tree-inline.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-into-ssa.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-into-ssa.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-iterator.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-iterator.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-loop-distribution.c tree-optimization/99954 - fix loop distribution memcpy classification 2021-04-07 13:25:06 +02:00
tree-nested.c tree-nested: Update assert for Fortran module vars [PR97927] 2021-03-08 13:05:48 +01:00
tree-nested.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-nrv.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-object-size.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-object-size.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-outof-ssa.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-outof-ssa.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-parloops.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-parloops.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-pass.h Rename PROP_trees to PROP_gimple 2021-01-27 10:10:04 +01:00
tree-phinodes.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-phinodes.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-predcom.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
tree-pretty-print.c middle-end: Pretty-print address space of aggregates 2021-03-06 19:09:39 +00:00
tree-pretty-print.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-profile.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-scalar-evolution.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-scalar-evolution.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-sra.c sra: Fix bug in grp_write propagation (PR 97009) 2021-04-01 10:12:23 +02:00
tree-sra.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-address.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-address.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-alias-compare.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-alias.c typos: Fix various typos - mainly misspelled reference* [PR99304] 2021-02-28 11:12:57 +01:00
tree-ssa-alias.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-ccp.c PR c++/98646 - spurious -Wnonnull calling a member on the result of static_cast 2021-01-25 12:41:28 -07:00
tree-ssa-ccp.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-coalesce.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-coalesce.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-copy.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-dce.c cd_dce: Return TODO_update_address_taken from last cd_dce [PR96271] 2021-01-16 09:20:29 +01:00
tree-ssa-dce.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-dom.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-dom.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-dse.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
tree-ssa-dse.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-forwprop.c tree-optimization/98221 - fix wrong unpack operation used for big-endian 2021-01-11 11:46:31 +01:00
tree-ssa-ifcombine.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-live.c PR middle-end/98664 - inconsistent -Wfree-nonheap-object for inlined calls to system headers 2021-01-19 15:10:30 -07:00
tree-ssa-live.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-ch.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-im.c fix memory leaks 2021-02-02 20:07:30 +01:00
tree-ssa-loop-ivcanon.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-ivopts.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
tree-ssa-loop-ivopts.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-manip.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-manip.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-niter.c tree-optimization/97627 - Avoid computing niters for fake edges 2021-01-29 12:09:10 +01:00
tree-ssa-loop-niter.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-prefetch.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-split.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop-unswitch.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-loop.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-math-opts.c tree-ssa-mathopts: Use proper poly_int64 comparison with param_avoid_fma_max_bits [PR 98766] 2021-01-22 16:40:57 +00:00
tree-ssa-math-opts.h reassoc: Reassociate integral multiplies [PR95867] 2021-01-11 10:36:24 +01:00
tree-ssa-operands.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-operands.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-phiopt.c phiopt: Fix up conditional_replacement [PR99305] 2021-03-09 19:13:11 +01:00
tree-ssa-phiprop.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
tree-ssa-pre.c Add debug_vn_reference_ops helper 2021-04-07 09:59:07 +02:00
tree-ssa-propagate.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-propagate.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-reassoc.c reassoc: Optimize in reassoc x < 0 && y < 0 to (x | y) < 0 etc. [PR95731] 2021-01-12 11:03:40 +01:00
tree-ssa-reassoc.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-sccvn.c Add debug_vn_reference_ops helper 2021-04-07 09:59:07 +02:00
tree-ssa-sccvn.h Add debug_vn_reference_ops helper 2021-04-07 09:59:07 +02:00
tree-ssa-scopedtables.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-scopedtables.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-sink.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-strlen.c PR middle-end/97631 - bogus "writing one too many bytes" warning for memcpy with strlen argument 2021-03-08 13:28:52 -07:00
tree-ssa-strlen.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-structalias.c tree-optimization/38474 - improve PTA varinfo sorting 2021-02-16 12:48:07 +01:00
tree-ssa-tail-merge.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-ter.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-ter.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-threadbackward.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-threadedge.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-threadedge.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-threadupdate.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-threadupdate.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-uncprop.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa-uninit.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssa.c make FOR_EACH_IMM_USE_STMT safe for early exits 2021-01-11 23:37:59 -03:00
tree-ssa.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-ssanames.c middle-end/98638 - avoid SSA reference to stmts after SSA deconstruction 2021-01-19 14:32:14 +01:00
tree-ssanames.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-stdarg.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-stdarg.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-streamer-in.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-streamer-out.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-streamer.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-streamer.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-switch-conversion.c if-to-switch: fix memory leak in case merging 2021-02-10 13:20:51 +01:00
tree-switch-conversion.h if-to-switch: fix memory leak in case merging 2021-02-10 13:20:51 +01:00
tree-tailcall.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-vect-data-refs.c tree-optimization/91403 - avoid excessive code-generation 2021-01-11 13:38:18 +01:00
tree-vect-generic.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-vect-loop-manip.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-vect-loop.c tree-optimization/99947 - avoid v.safe_push (v[0]) 2021-04-07 10:04:20 +02:00
tree-vect-patterns.c tree-optimization/99856 - fix overwideing pattern creation 2021-04-01 10:23:25 +02:00
tree-vect-slp-patterns.c slp: reject non-multiple of 2 laned SLP trees (PR99825) 2021-03-30 14:16:03 +01:00
tree-vect-slp.c vect: Restore variable-length SLP permutes [PR97513] 2021-04-07 15:21:56 +01:00
tree-vect-stmts.c tree-optimization/96974 - avoid ICE by replacing assert with standard failure 2021-03-25 15:29:41 +00:00
tree-vector-builder.c Update copyright years. 2021-01-04 10:26:59 +01:00
tree-vector-builder.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree-vectorizer.c slp: fix sharing of SLP only patterns. 2021-02-24 09:43:22 +00:00
tree-vectorizer.h slp: remove unneeded permute calculation (PR99656) 2021-03-19 14:29:36 +00:00
tree-vrp.c vrp: Improve register_edge_assert_for [PR95757] 2021-03-02 11:49:12 +01:00
tree-vrp.h Update copyright years. 2021-01-04 10:26:59 +01:00
tree.c tree-optimization/99510 - fix type reuse of build_aligned_type 2021-03-10 13:13:51 +01:00
tree.def Update copyright years. 2021-01-04 10:26:59 +01:00
tree.h c++: Completeness of typedef structs [PR 99294] 2021-03-01 05:57:53 -08:00
treestruct.def Update copyright years. 2021-01-04 10:26:59 +01:00
tristate.cc Update copyright years. 2021-01-04 10:26:59 +01:00
tristate.h Update copyright years. 2021-01-04 10:26:59 +01:00
tsan.c Update copyright years. 2021-01-04 10:26:59 +01:00
tsan.h Update copyright years. 2021-01-04 10:26:59 +01:00
tsystem.h Update copyright years. 2021-01-04 10:26:59 +01:00
typeclass.h Update copyright years. 2021-01-04 10:26:59 +01:00
typed-splay-tree.c Update copyright years. 2021-01-04 10:26:59 +01:00
typed-splay-tree.h Update copyright years. 2021-01-04 10:26:59 +01:00
ubsan.c ubsan: Don't test for NaNs if those do not exist (PR97926) 2021-03-22 16:32:42 +00:00
ubsan.h Update copyright years. 2021-01-04 10:26:59 +01:00
unique-ptr-tests.cc Update copyright years. 2021-01-04 10:26:59 +01:00
valtrack.c Update copyright years. 2021-01-04 10:26:59 +01:00
valtrack.h Update copyright years. 2021-01-04 10:26:59 +01:00
value-prof.c Fix wrong format for fprintf. 2021-01-25 17:49:24 +01:00
value-prof.h Update copyright years. 2021-01-04 10:26:59 +01:00
value-query.cc Update copyright years. 2021-01-04 10:26:59 +01:00
value-query.h Update copyright years. 2021-01-04 10:26:59 +01:00
value-range-equiv.cc Update copyright years. 2021-01-04 10:26:59 +01:00
value-range-equiv.h Update copyright years. 2021-01-04 10:26:59 +01:00
value-range.cc Handle setting of 1-bit anti-ranges uniformly. 2021-03-23 02:57:41 -04:00
value-range.h Handle setting of 1-bit anti-ranges uniformly. 2021-03-23 02:57:41 -04:00
var-tracking.c Update copyright years. 2021-01-04 10:26:59 +01:00
varasm.c varasm: Fix up constpool alias handling [PR99872] 2021-04-07 15:51:15 +02:00
varasm.h Update copyright years. 2021-01-04 10:26:59 +01:00
varpool.c Rename PROP_trees to PROP_gimple 2021-01-27 10:10:04 +01:00
vec-perm-indices.c Update copyright years. 2021-01-04 10:26:59 +01:00
vec-perm-indices.h Update copyright years. 2021-01-04 10:26:59 +01:00
vec.c Update copyright years. 2021-01-04 10:26:59 +01:00
vec.h Fix statistic accounting for auto_vec and auto_bitmap 2021-02-01 16:51:29 +01:00
vector-builder.h Update copyright years. 2021-01-04 10:26:59 +01:00
version.c Update copyright years. 2021-01-04 10:26:59 +01:00
version.h
vmsdbg.h Update copyright years. 2021-01-04 10:26:59 +01:00
vmsdbgout.c Update copyright years. 2021-01-04 10:26:59 +01:00
vr-values.c Update copyright years. 2021-01-04 10:26:59 +01:00
vr-values.h Update copyright years. 2021-01-04 10:26:59 +01:00
vtable-verify.c Update copyright years. 2021-01-04 10:26:59 +01:00
vtable-verify.h Update copyright years. 2021-01-04 10:26:59 +01:00
web.c Update copyright years. 2021-01-04 10:26:59 +01:00
wide-int-bitmask.h i386: Avoid C++ global constructors in every object that includes i386.h 2021-02-18 10:32:57 +01:00
wide-int-print.cc Update copyright years. 2021-01-04 10:26:59 +01:00
wide-int-print.h Update copyright years. 2021-01-04 10:26:59 +01:00
wide-int.cc Update copyright years. 2021-01-04 10:26:59 +01:00
wide-int.h Update copyright years. 2021-01-04 10:26:59 +01:00
xcoff.h Update copyright years. 2021-01-04 10:26:59 +01:00
xcoffout.c aix: Use lcomm for TLS static data. 2021-03-11 16:57:24 -05:00
xcoffout.h aix: Use lcomm for TLS static data. 2021-03-11 16:57:24 -05:00

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