gcc/gcc
Patrick Palka 23f1f67914 c++: Fix usage of CONSTRUCTOR_PLACEHOLDER_BOUNDARY inside array initializers [PR90996]
This PR reports that ever since the introduction of the
CONSTRUCTOR_PLACEHOLDER_BOUNDARY flag, we are sometimes failing to resolve
PLACEHOLDER_EXPRs inside array initializers that refer to some inner
constructor.  In the testcase in the PR, we have as the initializer for "S c[];"
the following

  {{.a=(int &) &_ZGR1c_, .b={*(&<PLACEHOLDER_EXPR struct S>)->a}}}

where CONSTRUCTOR_PLACEHOLDER_BOUNDARY is set on the middle constructor.  When
calling replace_placeholders from store_init_value, we pass the entire
initializer to it, and as a result we fail to resolve the PLACEHOLDER_EXPR
within due to the CONSTRUCTOR_PLACEHOLDER_BOUNDARY flag on the middle
constructor blocking replace_placeholders_r from reaching it.

To fix this, we could perhaps either call replace_placeholders in more places,
or we could change where we set CONSTRUCTOR_PLACEHOLDER_BOUNDARY.  This patch
takes this latter approach -- when building up an array initializer, we now
bubble any CONSTRUCTOR_PLACEHOLDER_BOUNDARY flag from the element initializers
up to the array initializer so that the boundary doesn't later impede us when we
call replace_placeholders from store_init_value.

Besides fixing the kind of code like in the testcase, this shouldn't cause any
other differences in PLACEHOLDER_EXPR resolution because we don't create or use
PLACEHOLDER_EXPRs of array type in the frontend, as far as I can tell.

gcc/cp/ChangeLog:

	PR c++/90996
	* tree.c (replace_placeholders): Look through all handled components,
	not just COMPONENT_REFs.
	* typeck2.c (process_init_constructor_array): Propagate
	CONSTRUCTOR_PLACEHOLDER_BOUNDARY up from each element initializer to
	the array initializer.

gcc/testsuite/ChangeLog:

	PR c++/90996
	* g++.dg/cpp1y/pr90996.C: New test.
2020-04-07 09:04:30 -04:00
..
ada Fix GIMPLE verification failure in LTO mode on Ada code 2020-03-11 11:34:25 +01:00
analyzer analyzer: handle compound assignments [PR94378] 2020-04-01 15:34:40 -04:00
brig Update copyright years. 2020-01-01 12:51:42 +01:00
c openmp: Fix parallel master error recovery [PR94512] 2020-04-07 14:30:53 +02:00
c-family c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
common AArch64: Fix options canonicalization for assembler 2020-04-03 15:19:33 +01:00
config i386: Fix V{64QI,32HI}mode constant permutations [PR94509] 2020-04-07 14:39:24 +02:00
cp c++: Fix usage of CONSTRUCTOR_PLACEHOLDER_BOUNDARY inside array initializers [PR90996] 2020-04-07 09:04:30 -04:00
d d: Always set ASM_VOLATILE_P on asm statements (PR94425) 2020-04-07 09:44:02 +02:00
doc Minor doc fix for ISO C90 2020-04-05 13:07:17 -06:00
fortran Fix fortran/93686 -- ICE matching data statements with derived-type pointers. 2020-04-06 16:17:07 -04:00
ginclude Update copyright years. 2020-01-01 12:51:42 +01:00
go libgo: update to almost the 1.14.2 release 2020-04-06 16:37:24 -07:00
jit libgccjit: add new version entry point 2020-03-31 20:57:15 +02:00
lto middle-end: Avoid using DECL_UID in ASM_FORMAT_PRIVATE_NAME [PR94223] 2020-03-25 09:18:33 +01:00
objc Update copyright years. 2020-01-01 12:51:42 +01:00
objcp Update copyright years. 2020-01-01 12:51:42 +01:00
po Update gcc sv.po. 2020-04-06 21:39:18 +00:00
testsuite c++: Fix usage of CONSTRUCTOR_PLACEHOLDER_BOUNDARY inside array initializers [PR90996] 2020-04-07 09:04:30 -04:00
ABOUT-GCC-NLS Update copyright years. 2020-01-01 12:51:42 +01:00
acinclude.m4 Update copyright years. 2020-01-01 12:51:42 +01:00
aclocal.m4
addresses.h Update copyright years. 2020-01-01 12:51:42 +01:00
alias.c Fix some comment typos in alias.c. 2020-04-02 15:29:10 -07:00
alias.h tree-optimization/93946 - fix bogus redundant store removal in FRE, DSE and DOM 2020-03-03 11:02:28 +01:00
align.h Update copyright years. 2020-01-01 12:51:42 +01:00
alloc-pool.c Update copyright years. 2020-01-01 12:51:42 +01:00
alloc-pool.h Update copyright years. 2020-01-01 12:51:42 +01:00
array-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
asan.c Fix up duplicated duplicated words in comments 2020-03-18 12:56:26 +01:00
asan.h Update copyright years. 2020-01-01 12:51:42 +01:00
attribs.c hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
attribs.h Update copyright years. 2020-01-01 12:51:42 +01:00
auto-inc-dec.c auto-inc-dec: Don't add incs/decs to bare CLOBBERs [PR93124] 2020-01-23 09:19:15 +00:00
auto-profile.c Make cgraph_edge::resolve-speculation static 2020-01-09 13:21:48 +01:00
auto-profile.h Update copyright years. 2020-01-01 12:51:42 +01:00
backend.h Update copyright years. 2020-01-01 12:51:42 +01:00
BASE-VER Bump gcc/BASE-VER to 10.0.1 now that we are in stage4. 2020-01-15 14:48:55 +01:00
basic-block.h Update copyright years. 2020-01-01 12:51:42 +01:00
bb-reorder.c typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912] 2020-02-25 22:10:48 +01:00
bb-reorder.h Update copyright years. 2020-01-01 12:51:42 +01:00
bitmap.c Update copyright years. 2020-01-01 12:51:42 +01:00
bitmap.h Update copyright years. 2020-01-01 12:51:42 +01:00
brig-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
builtin-attrs.def Update copyright years. 2020-01-01 12:51:42 +01:00
builtin-types.def [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
builtins.c expand: Don't depend on warning flags in code generation of strnlen [PR94189] 2020-03-17 10:42:35 +01:00
builtins.def Improve DSE which in turn eliminates the need for jump threading and block duplication for the original testcase in pr89689 which in turn eliminates the false positive -Warray-bounds warning for the original testcase. 2020-01-29 12:26:35 -07:00
builtins.h Update copyright years. 2020-01-01 12:51:42 +01:00
caller-save.c Update copyright years. 2020-01-01 12:51:42 +01:00
calls.c PR c++/94098 - ICE on attribute access redeclaration 2020-03-27 13:54:22 -06:00
calls.h Update copyright years. 2020-01-01 12:51:42 +01:00
ccmp.c Update copyright years. 2020-01-01 12:51:42 +01:00
ccmp.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfg-flags.def Update copyright years. 2020-01-01 12:51:42 +01:00
cfg.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfg.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfganal.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfganal.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgbuild.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgbuild.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgcleanup.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgcleanup.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgexpand.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
cfgexpand.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfghooks.c typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912] 2020-02-25 22:10:48 +01:00
cfghooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloop.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgloop.h c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
cfgloopanal.c Fix typo and avoid possible memory leak in average_num_loop_insns 2020-01-14 02:39:11 -06:00
cfgloopmanip.c c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
cfgloopmanip.h Update copyright years. 2020-01-01 12:51:42 +01:00
cfgrtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
cfgrtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
cgraph.c Fix verifier ICE on wrong comdat local flag [PR93347] 2020-03-20 22:06:24 +01:00
cgraph.h Fix verifier ICE on wrong comdat local flag [PR93347] 2020-03-20 22:06:24 +01:00
cgraphbuild.c Update copyright years. 2020-01-01 12:51:42 +01:00
cgraphclones.c ipa: fix handling of multiple speculations (PR93318) 2020-01-28 20:38:09 +01:00
cgraphunit.c Fix typo in a warning related to flatten. 2020-03-29 19:24:33 +02:00
ChangeLog i386: Fix V{64QI,32HI}mode constant permutations [PR94509] 2020-04-07 14:39:24 +02: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
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019 re PR tree-optimization/93098 (ICE with negative shifter) 2020-01-01 01:20:39 +01:00
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def Update copyright years. 2020-01-01 12:51:42 +01:00
collect-utils.c Update copyright years. 2020-01-01 12:51:42 +01:00
collect-utils.h Update copyright years. 2020-01-01 12:51:42 +01:00
collect2-aix.c Update copyright years. 2020-01-01 12:51:42 +01:00
collect2-aix.h Update copyright years. 2020-01-01 12:51:42 +01:00
collect2.c Fix a typo in comment. 2020-02-19 18:49:16 +01:00
collect2.h Fix -save-temp leaking files in /tmp 2020-02-19 12:48:54 +01:00
color-macros.h Update copyright years. 2020-01-01 12:51:42 +01:00
combine-stack-adj.c Update copyright years. 2020-01-01 12:51:42 +01:00
combine.c combine: Fix find_split_point handling of constant store into ZERO_EXTRACT [PR93908] 2020-02-25 13:56:47 +01:00
common.md Update copyright years. 2020-01-01 12:51:42 +01:00
common.opt c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
compare-elim.c Update copyright years. 2020-01-01 12:51:42 +01:00
conditions.h Update copyright years. 2020-01-01 12:51:42 +01:00
config.build Update copyright years. 2020-01-01 12:51:42 +01:00
config.gcc [ARM][GCC][1/x]: MVE ACLE intrinsics framework patch. 2020-03-16 17:06:29 +00:00
config.host Update copyright years. 2020-01-01 12:51:42 +01:00
config.in PR 87488: Add --with-diagnostics-urls configuration option 2020-02-15 08:32:57 +01:00
configure Do not error about missing zstd unless --with-zstd. 2020-03-25 13:34:53 +01:00
configure.ac Do not error about missing zstd unless --with-zstd. 2020-03-25 13:34:53 +01:00
context.c Update copyright years. 2020-01-01 12:51:42 +01:00
context.h Update copyright years. 2020-01-01 12:51:42 +01:00
convert.c Update copyright years. 2020-01-01 12:51:42 +01:00
convert.h Update copyright years. 2020-01-01 12:51:42 +01:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
coretypes.h Introduce -fprofile-reproducibility and support it with TOP N. 2020-02-18 14:28:22 +01:00
coroutine-builtins.def [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
coroutine-passes.cc [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
coverage.c Revert mangling of names with -fprofile-generate=<dir>. 2020-02-06 14:53:28 +01:00
coverage.h Update copyright years. 2020-01-01 12:51:42 +01:00
cppbuiltin.c Update copyright years. 2020-01-01 12:51:42 +01:00
cppbuiltin.h Update copyright years. 2020-01-01 12:51:42 +01:00
cppdefault.c Update copyright years. 2020-01-01 12:51:42 +01:00
cppdefault.h Update copyright years. 2020-01-01 12:51:42 +01:00
cprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
cse.c Complete change to resolve pr90275. 2020-03-18 16:07:28 -06:00
cselib.c cselib: Fix endless cselib loop on (plus:P (reg) (const_int 0)) 2020-04-07 00:27:10 +02:00
cselib.h Update copyright years. 2020-01-01 12:51:42 +01:00
cstamp-h.in
data-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
data-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
data-streamer.c Update copyright years. 2020-01-01 12:51:42 +01:00
data-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
DATESTAMP Daily bump. 2020-04-07 00:16:18 +00:00
dbgcnt.c Update copyright years. 2020-01-01 12:51:42 +01:00
dbgcnt.def Update copyright years. 2020-01-01 12:51:42 +01:00
dbgcnt.h Update copyright years. 2020-01-01 12:51:42 +01:00
dbxout.c Update copyright years. 2020-01-01 12:51:42 +01:00
dbxout.h Update copyright years. 2020-01-01 12:51:42 +01:00
dce.c Update copyright years. 2020-01-01 12:51:42 +01:00
dce.h Update copyright years. 2020-01-01 12:51:42 +01:00
ddg.c modulo-sched: fix bootstrap compare-debug issue 2020-03-27 08:02:56 +03:00
ddg.h modulo-sched: fix bootstrap compare-debug issue 2020-03-27 08:02:56 +03:00
debug.c Update copyright years. 2020-01-01 12:51:42 +01:00
debug.h Update copyright years. 2020-01-01 12:51:42 +01:00
defaults.h Update copyright years. 2020-01-01 12:51:42 +01:00
DEV-PHASE
df-core.c df: Don't abuse bb->aux (PR94148, PR94042) 2020-03-13 15:15:26 +00:00
df-problems.c Update copyright years. 2020-01-01 12:51:42 +01:00
df-scan.c Update copyright years. 2020-01-01 12:51:42 +01:00
df.h Update copyright years. 2020-01-01 12:51:42 +01:00
dfp.c dfp: Fix decimal_to_binary [PR94111] 2020-03-11 09:33:52 +01:00
dfp.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-color.c PR 87488: Add --with-diagnostics-urls configuration option 2020-02-15 08:32:57 +01:00
diagnostic-color.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-core.h diagnostic_metadata: unbreak xgettext (v2) 2020-01-28 13:47:14 -05:00
diagnostic-event-id.h Add diagnostic paths 2020-01-10 21:22:12 +00:00
diagnostic-format-json.cc Add diagnostic paths 2020-01-10 21:22:12 +00:00
diagnostic-metadata.h Update copyright years. 2020-01-01 12:51:42 +01:00
diagnostic-path.h Add diagnostic paths 2020-01-10 21:22:12 +00:00
diagnostic-show-locus.c Add diagnostic paths 2020-01-10 21:22:12 +00:00
diagnostic-url.h PR 87488: Add --with-diagnostics-urls configuration option 2020-02-15 08:32:57 +01:00
diagnostic.c diagnostics: don't generate URLs that won't be used 2020-02-17 20:40:00 -05:00
diagnostic.def Add diagnostic paths 2020-01-10 21:22:12 +00:00
diagnostic.h Add diagnostic paths 2020-01-10 21:22:12 +00:00
digraph.cc analyzer: fix build with gcc 4.4 (PR 93276) 2020-01-27 09:43:23 -05:00
digraph.h Initial commit of analyzer 2020-01-14 15:34:24 -05:00
dojump.c dojump: Fix gcc.dg/torture/pr91323.c for aarch64 targets 2020-01-27 10:53:33 +00:00
dojump.h Update copyright years. 2020-01-01 12:51:42 +01:00
dominance.c Update copyright years. 2020-01-01 12:51:42 +01:00
dominance.h Update copyright years. 2020-01-01 12:51:42 +01:00
domwalk.c Update copyright years. 2020-01-01 12:51:42 +01:00
domwalk.h Update copyright years. 2020-01-01 12:51:42 +01:00
double-int.c Update copyright years. 2020-01-01 12:51:42 +01:00
double-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
dse.c cselib: Reuse VALUEs on sp adjustments [PR92264] 2020-04-02 14:28:14 +02:00
dump-context.h Update copyright years. 2020-01-01 12:51:42 +01:00
dumpfile.c Update copyright years. 2020-01-01 12:51:42 +01:00
dumpfile.h Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2asm.c Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2asm.h Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2cfi.c Update copyright years. 2020-01-01 12:51:42 +01:00
dwarf2out.c debug: Improve debug info of c++14 deduced return type [PR94459] 2020-04-05 00:31:12 +02:00
dwarf2out.h Update copyright years. 2020-01-01 12:51:42 +01:00
early-remat.c Update copyright years. 2020-01-01 12:51:42 +01:00
edit-context.c Update copyright years. 2020-01-01 12:51:42 +01:00
edit-context.h Update copyright years. 2020-01-01 12:51:42 +01:00
emit-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
emit-rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
errors.c Update copyright years. 2020-01-01 12:51:42 +01:00
errors.h Update copyright years. 2020-01-01 12:51:42 +01:00
escaped_string.h Update copyright years. 2020-01-01 12:51:42 +01:00
et-forest.c Update copyright years. 2020-01-01 12:51:42 +01:00
et-forest.h Update copyright years. 2020-01-01 12:51:42 +01:00
except.c Update copyright years. 2020-01-01 12:51:42 +01:00
except.h Update copyright years. 2020-01-01 12:51:42 +01:00
exec-tool.in Update copyright years. 2020-01-01 12:51:42 +01:00
explow.c explow: Fix ICE caused by plus_constant [PR94002] 2020-03-03 10:42:34 +01:00
explow.h Update copyright years. 2020-01-01 12:51:42 +01:00
expmed.c Fix unaligned load with small memcpy on the ARM 2020-03-13 09:21:42 +01:00
expmed.h Update copyright years. 2020-01-01 12:51:42 +01:00
expr.c Update copyright years. 2020-01-01 12:51:42 +01:00
expr.h Update copyright years. 2020-01-01 12:51:42 +01:00
fibonacci_heap.c Update copyright years. 2020-01-01 12:51:42 +01:00
fibonacci_heap.h Update copyright years. 2020-01-01 12:51:42 +01:00
file-find.c Update copyright years. 2020-01-01 12:51:42 +01:00
file-find.h Update copyright years. 2020-01-01 12:51:42 +01:00
file-prefix-map.c Update copyright years. 2020-01-01 12:51:42 +01:00
file-prefix-map.h Update copyright years. 2020-01-01 12:51:42 +01:00
final.c Update copyright years. 2020-01-01 12:51:42 +01:00
fixed-value.c Update copyright years. 2020-01-01 12:51:42 +01:00
fixed-value.h Update copyright years. 2020-01-01 12:51:42 +01:00
flag-types.h Update copyright years. 2020-01-01 12:51:42 +01:00
flags.h Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const-call.c Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const-call.h Update copyright years. 2020-01-01 12:51:42 +01:00
fold-const.c fold-const: Fix division folding with vector operands [PR94412] 2020-03-31 11:06:43 +02:00
fold-const.h sccvn: Handle bitfields in vn_reference_lookup_3 [PR93582] 2020-02-13 10:04:11 +01:00
fp-test.c Update copyright years. 2020-01-01 12:51:42 +01:00
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function-abi.cc Update copyright years. 2020-01-01 12:51:42 +01:00
function-abi.h Update copyright years. 2020-01-01 12:51:42 +01:00
function-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
function.c Update copyright years. 2020-01-01 12:51:42 +01:00
function.h [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
fwprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-ar.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-main.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-plugin.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-rich-location.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcc-rich-location.h Add diagnostic paths 2020-01-10 21:22:12 +00:00
gcc-symtab.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcc.c PR47785: Add support for handling Xassembler/Wa options with LTO. 2020-02-24 11:55:45 +05:30
gcc.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-counter.def Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-io.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-io.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-iov.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov-tool.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcov.c hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
gcse-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcse-common.h Update copyright years. 2020-01-01 12:51:42 +01:00
gcse.c Update copyright years. 2020-01-01 12:51:42 +01:00
gcse.h Update copyright years. 2020-01-01 12:51:42 +01:00
gdbasan.in
gdbhooks.py Update copyright years. 2020-01-01 12:51:42 +01:00
gdbinit.in gdbinit.in: Fix typo. 2020-03-09 20:18:39 -04:00
gen-pass-instances.awk Update copyright years. 2020-01-01 12:51:42 +01:00
genattr-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
genattr.c Update copyright years. 2020-01-01 12:51:42 +01:00
genattrtab.c Update copyright years. 2020-01-01 12:51:42 +01:00
genautomata.c Update copyright years. 2020-01-01 12:51:42 +01:00
gencfn-macros.c Update copyright years. 2020-01-01 12:51:42 +01:00
gencheck.c Update copyright years. 2020-01-01 12:51:42 +01:00
genchecksum.c Update copyright years. 2020-01-01 12:51:42 +01:00
gencodes.c Update copyright years. 2020-01-01 12:51:42 +01:00
genconditions.c Update copyright years. 2020-01-01 12:51:42 +01:00
genconfig.c Update copyright years. 2020-01-01 12:51:42 +01:00
genconstants.c Update copyright years. 2020-01-01 12:51:42 +01:00
genemit.c Update copyright years. 2020-01-01 12:51:42 +01:00
genenums.c Update copyright years. 2020-01-01 12:51:42 +01:00
generic-match-head.c Update copyright years. 2020-01-01 12:51:42 +01:00
generic-match.h Update copyright years. 2020-01-01 12:51:42 +01:00
genextract.c Update copyright years. 2020-01-01 12:51:42 +01:00
genflags.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengenrtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype-lex.l Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype-parse.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype-state.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype.c Update copyright years. 2020-01-01 12:51:42 +01:00
gengtype.h Update copyright years. 2020-01-01 12:51:42 +01:00
genhooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmatch.c middle-end/90648 fend off builtin calls with not enough arguments from match 2020-02-05 14:06:40 +01:00
genmddeps.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmddump.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmodes.c Update copyright years. 2020-01-01 12:51:42 +01:00
genmultilib Update copyright years. 2020-01-01 12:51:42 +01:00
genopinit.c Update copyright years. 2020-01-01 12:51:42 +01:00
genoutput.c Update copyright years. 2020-01-01 12:51:42 +01:00
genpeep.c Update copyright years. 2020-01-01 12:51:42 +01:00
genpreds.c Update copyright years. 2020-01-01 12:51:42 +01:00
genrecog.c Update copyright years. 2020-01-01 12:51:42 +01:00
gensupport.c Update copyright years. 2020-01-01 12:51:42 +01:00
gensupport.h Update copyright years. 2020-01-01 12:51:42 +01:00
gentarget-def.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-common.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-internal.h Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-none.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-page.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
ggc.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-builder.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-expr.c Add a compatible_vector_types_p target hook 2020-01-09 15:08:26 +00:00
gimple-expr.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-fold.c PR tree-optimization/94131 - ICE on printf with a VLA string and -fno-tree-ccp 2020-03-25 09:39:50 -06:00
gimple-fold.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-iterator.c re PR tree-optimization/93199 (Compile time hog in sink_clobbers) 2020-01-08 12:49:14 +00:00
gimple-iterator.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-laddress.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-loop-interchange.cc re PR tree-optimization/93199 (Compile time hog in sink_clobbers) 2020-01-08 12:49:14 +00:00
gimple-loop-jam.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-loop-versioning.cc Fix up duplicated duplicated words in comments 2020-03-18 12:56:26 +01:00
gimple-low.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-low.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-match-head.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-match.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-predict.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-pretty-print.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-pretty-print.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-backprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-evrp-analyze.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-evrp-analyze.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-evrp.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-isolate-paths.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-nonnull-compare.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-split-paths.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-sprintf.c tree-optimization/94266 - fix object type extraction heuristics 2020-03-20 10:52:45 +01:00
gimple-ssa-store-merging.c store-merging: Allow enums during bswap recognition [PR94403] 2020-03-31 11:04:32 +02:00
gimple-ssa-strength-reduction.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa-warn-alloca.c PR middle-end/94004 - missing -Walloca on calls to alloca due to -Wno-system-headers 2020-03-25 10:48:13 -06:00
gimple-ssa-warn-restrict.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
gimple-ssa-warn-restrict.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-walk.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimple-walk.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimple.c Commit correct version of gimple.c file 2020-03-05 14:16:02 -07:00
gimple.def Update copyright years. 2020-01-01 12:51:42 +01:00
gimple.h gimplify: Fix -fcompare-debug differences caused by gimplify_body [PR94281] 2020-03-26 10:10:21 +01:00
gimplify-me.c Update copyright years. 2020-01-01 12:51:42 +01:00
gimplify-me.h Update copyright years. 2020-01-01 12:51:42 +01:00
gimplify.c gimplify: Fix -fcompare-debug differences caused by gimplify_body [PR94281] 2020-03-26 10:10:21 +01:00
gimplify.h PR c++/93173 - incorrect tree sharing. 2020-01-10 13:46:57 -05:00
glimits.h Update copyright years. 2020-01-01 12:51:42 +01:00
godump.c Update copyright years. 2020-01-01 12:51:42 +01:00
graph.c Update copyright years. 2020-01-01 12:51:42 +01:00
graph.h Update copyright years. 2020-01-01 12:51:42 +01:00
graphds.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphds.h Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-dependences.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-isl-ast-to-gimple.c tree-optimization/93964 - adjust ISL code generation for pointer params 2020-03-04 11:37:27 +01:00
graphite-optimize-isl.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-poly.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite-scop-detection.c tree-optimization/93964 - adjust ISL code generation for pointer params 2020-03-04 11:37:27 +01:00
graphite-sese-to-poly.c Update copyright years. 2020-01-01 12:51:42 +01:00
graphite.c hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
graphite.h Update copyright years. 2020-01-01 12:51:42 +01:00
graphviz.cc analyzer: add new supergraph visualization 2020-03-27 10:02:39 -04:00
graphviz.h analyzer: add new supergraph visualization 2020-03-27 10:02:39 -04:00
gsstruct.def Update copyright years. 2020-01-01 12:51:42 +01:00
gstab.h Update copyright years. 2020-01-01 12:51:42 +01:00
gsyms.h Update copyright years. 2020-01-01 12:51:42 +01:00
gsyslimits.h
gtm-builtins.def
haifa-sched.c Avoid putting a REG_NOTE on anything other than an INSN in haifa-sched.c 2020-03-06 08:35:18 -07:00
hard-reg-set.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-map-tests.c hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
hash-map-traits.h hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
hash-map.h hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
hash-set-tests.c hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
hash-set.h Update copyright years. 2020-01-01 12:51:42 +01:00
hash-table.c Update copyright years. 2020-01-01 12:51:42 +01:00
hash-table.h hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
hash-traits.h hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
highlev-plugin-common.h Update copyright years. 2020-01-01 12:51:42 +01:00
hooks.c Add a compatible_vector_types_p target hook 2020-01-09 15:08:26 +00:00
hooks.h Add a compatible_vector_types_p target hook 2020-01-09 15:08:26 +00:00
host-default.c Update copyright years. 2020-01-01 12:51:42 +01:00
hosthooks-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
hosthooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-brig-format.h Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-brig.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-common.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
hsa-common.h Fix doubled indefinite articles, mostly in comments. 2020-03-14 08:15:08 +01:00
hsa-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-gen.c Update copyright years. 2020-01-01 12:51:42 +01:00
hsa-regalloc.c Update copyright years. 2020-01-01 12:51:42 +01:00
hw-doloop.c Update copyright years. 2020-01-01 12:51:42 +01:00
hw-doloop.h Update copyright years. 2020-01-01 12:51:42 +01:00
hwint.c Update copyright years. 2020-01-01 12:51:42 +01:00
hwint.h Update copyright years. 2020-01-01 12:51:42 +01:00
ifcvt.c Update copyright years. 2020-01-01 12:51:42 +01:00
ifcvt.h Update copyright years. 2020-01-01 12:51:42 +01:00
inchash.c Update copyright years. 2020-01-01 12:51:42 +01:00
inchash.h Update copyright years. 2020-01-01 12:51:42 +01:00
incpath.c Update copyright years. 2020-01-01 12:51:42 +01:00
incpath.h Update copyright years. 2020-01-01 12:51:42 +01:00
init-regs.c Update copyright years. 2020-01-01 12:51:42 +01:00
input.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
input.h Update copyright years. 2020-01-01 12:51:42 +01:00
insn-addr.h Update copyright years. 2020-01-01 12:51:42 +01:00
insn-notes.def Update copyright years. 2020-01-01 12:51:42 +01:00
int-vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
internal-fn.c [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
internal-fn.def [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
internal-fn.h Update copyright years. 2020-01-01 12:51:42 +01:00
intl.c Update copyright years. 2020-01-01 12:51:42 +01:00
intl.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-comdats.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-cp.c Fix correct offset in ipa_get_jf_ancestor_result. 2020-03-20 11:01:13 +01:00
ipa-devirt.c Fix grammar in error message. 2020-02-17 13:21:34 +01:00
ipa-fnsummary.c Fix previous commit. 2020-04-04 17:55:04 +02:00
ipa-fnsummary.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-hsa.c Use cgraph_node::dump_{asm_},name where possible. 2020-01-08 15:30:24 +00:00
ipa-icf-gimple.c ICF: compare type attributes for gimple_call_fntypes. 2020-04-03 09:05:06 +02:00
ipa-icf-gimple.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-icf.c Use cgraph_node::dump_{asm_},name where possible. 2020-01-08 15:30:24 +00:00
ipa-icf.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-inline-analysis.c Fix wrong parenthesis in inliner. 2020-01-10 12:27:36 +00:00
ipa-inline-transform.c Fix verifier ICE on wrong comdat local flag [PR93347] 2020-03-20 22:06:24 +01:00
ipa-inline.c ipa: Fix wrong code with failed propagation to builtin_constant_p [PR93940] 2020-04-04 11:45:13 +02:00
ipa-inline.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-param-manipulation.c Drop MALLOC attribute for void functions. 2020-02-18 14:39:41 +01:00
ipa-param-manipulation.h Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
ipa-polymorphic-call.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-predicate.c Fix up duplicated duplicated words in comments 2020-03-18 12:56:26 +01:00
ipa-predicate.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-profile.c ipa: fix handling of multiple speculations (PR93318) 2020-01-28 20:38:09 +01:00
ipa-prop.c ipa/94245 - avoid folding when we want an ADDR_EXPR 2020-03-23 11:23:29 +01:00
ipa-prop.h Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
ipa-pure-const.c Drop MALLOC attribute for void functions. 2020-02-18 14:39:41 +01:00
ipa-ref.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-ref.h Missed function specialization + partial devirtualization 2020-01-13 19:10:46 -06:00
ipa-reference.c Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-reference.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-split.c Fix verifier ICE on wrong comdat local flag [PR93347] 2020-03-20 22:06:24 +01:00
ipa-sra.c Prevent IPA-SRA from creating calls to local comdats (PR 92676) 2020-04-02 17:52:38 +02:00
ipa-utils.c ipa: fix handling of multiple speculations (PR93318) 2020-01-28 20:38:09 +01:00
ipa-utils.h Update copyright years. 2020-01-01 12:51:42 +01:00
ipa-visibility.c Typo fixes - functoin -> function [PR93796] 2020-02-18 08:54:52 +01:00
ipa.c Fix updating of call_stmt_site_hash 2020-01-21 16:33:43 +01:00
ira-build.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-color.c Revert: One more patch for PR93564: Prefer smaller hard regno when we do not honor reg alloc order. 2020-03-09 14:05:09 -04:00
ira-conflicts.c regalloc/debug: fix buggy print_hard_reg_set 2020-02-11 18:16:40 +01:00
ira-costs.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
ira-emit.c Update copyright years. 2020-01-01 12:51:42 +01:00
ira-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
ira-lives.c Fix for PR93272 - LRA: EH reg allocated to hold local variable 2020-01-28 15:47:35 -05:00
ira.c [IRA] Fix PR91052 by skipping multiple_sets insn in combine_and_move_insns 2020-02-11 23:22:02 -06:00
ira.h Update copyright years. 2020-01-01 12:51:42 +01:00
is-a.h Update copyright years. 2020-01-01 12:51:42 +01:00
json.cc Update copyright years. 2020-01-01 12:51:42 +01:00
json.h Update copyright years. 2020-01-01 12:51:42 +01:00
jump.c Update copyright years. 2020-01-01 12:51:42 +01:00
langhooks-def.h Add a generic lhd_simulate_enum_decl 2020-01-07 10:21:26 +00:00
langhooks.c middle-end: Avoid using DECL_UID in ASM_FORMAT_PRIVATE_NAME [PR94223] 2020-03-25 09:18:33 +01:00
langhooks.h Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
LANGUAGES Update copyright years. 2020-01-01 12:51:42 +01:00
lcm.c Update copyright years. 2020-01-01 12:51:42 +01:00
lcm.h Update copyright years. 2020-01-01 12:51:42 +01:00
libfuncs.h Update copyright years. 2020-01-01 12:51:42 +01:00
limitx.h Update copyright years. 2020-01-01 12:51:42 +01:00
limity.h
lists.c Update copyright years. 2020-01-01 12:51:42 +01:00
lock-and-run.sh
loop-doloop.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-init.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-invariant.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-iv.c loop-iv: make find_simple_exit static 2020-03-10 19:54:50 +03:00
loop-unroll.c Update copyright years. 2020-01-01 12:51:42 +01:00
loop-unroll.h Update copyright years. 2020-01-01 12:51:42 +01:00
lower-subreg.c subreg: Fix PR94123, SVN r273240 causes gcc.target/powerpc/pr87507.c to fail 2020-04-01 14:24:07 -05:00
lower-subreg.h Update copyright years. 2020-01-01 12:51:42 +01:00
lra-assigns.c PR93561 -- [bounds checking] memory overflow for spill_for 2020-02-06 17:10:58 -05:00
lra-coalesce.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-constraints.c lra: Tighten check for reloading paradoxical subregs [PR94052] 2020-03-21 08:53:30 +00:00
lra-eliminations.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
lra-lives.c lra: Stop eh_return data regs being incorrectly marked live [PR92989] 2020-04-06 19:00:14 +01:00
lra-remat.c Update copyright years. 2020-01-01 12:51:42 +01:00
lra-spills.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
lra.c lra: set insn_code_data to NULL when freeing 2020-03-30 21:03:00 -04:00
lra.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-cgraph.c Fix ICE in speculative_call_info 2020-01-19 13:49:38 +01:00
lto-compress.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-compress.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-opts.c fix -fdebug-prefix-map without gas .file support 2020-02-27 11:43:52 +01:00
lto-section-in.c API extension for binutils (type of symbols). 2020-03-19 16:56:27 +01:00
lto-section-names.h Update copyright years. 2020-01-01 12:51:42 +01:00
lto-section-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-streamer-in.c c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
lto-streamer-out.c c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
lto-streamer.c Update copyright years. 2020-01-01 12:51:42 +01:00
lto-streamer.h API extension for binutils (type of symbols). 2020-03-19 16:56:27 +01:00
lto-wrapper.c Do not strcat to result of getenv. 2020-03-13 13:50:01 +01:00
machmode.def Update copyright years. 2020-01-01 12:51:42 +01:00
machmode.h Update copyright years. 2020-01-01 12:51:42 +01:00
main.c Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in analyzer: improvements to logging/dumping 2020-02-26 06:57:22 -05:00
match.pd fold undefined pointer offsetting 2020-03-11 15:35:51 +01:00
mcf.c Update copyright years. 2020-01-01 12:51:42 +01:00
mem-stats-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
mem-stats.h Update copyright years. 2020-01-01 12:51:42 +01:00
memmodel.h Update copyright years. 2020-01-01 12:51:42 +01:00
memory-block.cc Update copyright years. 2020-01-01 12:51:42 +01:00
memory-block.h Update copyright years. 2020-01-01 12:51:42 +01:00
mkconfig.sh Update copyright years. 2020-01-01 12:51:42 +01:00
mode-classes.def Update copyright years. 2020-01-01 12:51:42 +01:00
mode-switching.c Update copyright years. 2020-01-01 12:51:42 +01:00
modulo-sched.c modulo-sched: fix bootstrap compare-debug issue 2020-03-27 08:02:56 +03:00
multiple_target.c Make target_clones resolver fn static if possible. 2020-03-25 11:03:39 +01:00
omp-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
omp-expand.c typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912] 2020-02-25 22:10:48 +01:00
omp-expand.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-general.c Update copyright years. 2020-01-01 12:51:42 +01:00
omp-general.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-grid.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
omp-grid.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-low.c openmp: Fix handling of non-addressable shared scalars in parallel nested inside of target [PR93515] 2020-02-06 09:19:08 +01:00
omp-low.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-offload.c Fix OpenMP offload handling for target-link variables for nvptx (PR81689) 2020-03-24 15:13:56 +01:00
omp-offload.h Update copyright years. 2020-01-01 12:51:42 +01:00
omp-simd-clone.c openmp: Avoid ICEs with declare simd; declare simd inbranch [PR93555] 2020-02-05 11:32:37 +01:00
omp-simd-clone.h Update copyright years. 2020-01-01 12:51:42 +01:00
ONEWS
opt-functions.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-gather.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-include.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-problem.cc Update copyright years. 2020-01-01 12:51:42 +01:00
opt-problem.h Update copyright years. 2020-01-01 12:51:42 +01:00
opt-read.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opt-suggestions.c Update copyright years. 2020-01-01 12:51:42 +01:00
opt-suggestions.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-libfuncs.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-libfuncs.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-query.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-query.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs-tree.c optabs: Don't use scalar conversions for vectors [PR93843] 2020-02-26 12:46:59 +00:00
optabs-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
optabs.c Update copyright years. 2020-01-01 12:51:42 +01:00
optabs.def Update copyright years. 2020-01-01 12:51:42 +01:00
optabs.h Fix uninitialized field in expand_operand. 2020-01-16 12:25:31 +00:00
optc-gen.awk Update copyright years. 2020-01-01 12:51:42 +01:00
optc-save-gen.awk Update copyright years. 2020-01-01 12:51:42 +01:00
opth-gen.awk Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo-emit-json.cc Fix up duplicated duplicated words in comments 2020-03-18 12:56:26 +01:00
optinfo-emit-json.h Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo.cc Update copyright years. 2020-01-01 12:51:42 +01:00
optinfo.h Update copyright years. 2020-01-01 12:51:42 +01:00
opts-common.c PR47785: Add support for handling Xassembler/Wa options with LTO. 2020-02-24 11:55:45 +05:30
opts-diagnostic.h Update copyright years. 2020-01-01 12:51:42 +01:00
opts-global.c c/86134 avoid errors for unrecognized -Wno- options 2020-02-17 09:32:44 +01:00
opts.c c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
opts.h PR47785: Add support for handling Xassembler/Wa options with LTO. 2020-02-24 11:55:45 +05:30
ordered-hash-map-tests.cc Initial commit of analyzer 2020-01-14 15:34:24 -05:00
ordered-hash-map.h Initial commit of analyzer 2020-01-14 15:34:24 -05:00
output.h i386: Fix up -fdollars-in-identifiers with identifiers starting with $ in -masm=att [PR91298] 2020-01-22 10:22:16 +01:00
params.opt params: Decrease -param=max-find-base-term-values= default [PR92264] 2020-04-02 14:34:42 +02:00
pass_manager.h Update copyright years. 2020-01-01 12:51:42 +01:00
passes.c pass_manager: Fix ICE with -fdump-passes -fdisable-tree-* [PR93874] 2020-02-25 10:21:34 +01:00
passes.def [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
plugin.c Update copyright years. 2020-01-01 12:51:42 +01:00
plugin.def Update copyright years. 2020-01-01 12:51:42 +01:00
plugin.h Update copyright years. 2020-01-01 12:51:42 +01:00
poly-int-types.h Update copyright years. 2020-01-01 12:51:42 +01:00
poly-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
postreload-gcse.c Update copyright years. 2020-01-01 12:51:42 +01:00
postreload.c postreload: Fix up postreload combine [PR93402] 2020-01-23 20:08:22 +01:00
predict.c typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912] 2020-02-25 22:10:48 +01:00
predict.def Update copyright years. 2020-01-01 12:51:42 +01:00
predict.h Update copyright years. 2020-01-01 12:51:42 +01:00
prefix.c Update copyright years. 2020-01-01 12:51:42 +01:00
prefix.h Update copyright years. 2020-01-01 12:51:42 +01:00
pretty-print.c PR 87488: Add --with-diagnostics-urls configuration option 2020-02-15 08:32:57 +01:00
pretty-print.h PR 87488: Add --with-diagnostics-urls configuration option 2020-02-15 08:32:57 +01:00
print-rtl-function.c Update copyright years. 2020-01-01 12:51:42 +01:00
print-rtl.c print-rtl: Fix printing of CONST_STRING in DEBUG_INSNs [PR93399] 2020-03-05 09:12:44 +01:00
print-rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
print-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
print-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
profile-count.c * profile-count.c (profile_quality_display_names): Fix ordering. 2020-01-28 21:31:26 +01:00
profile-count.h ipa: fix handling of multiple speculations (PR93318) 2020-01-28 20:38:09 +01:00
profile.c Smart relaxation of TOP N counter. 2020-01-22 12:08:11 +01:00
profile.h Update copyright years. 2020-01-01 12:51:42 +01:00
range-op.cc Update copyright years. 2020-01-01 12:51:42 +01:00
range-op.h Update copyright years. 2020-01-01 12:51:42 +01:00
range.cc Update copyright years. 2020-01-01 12:51:42 +01:00
range.h Update copyright years. 2020-01-01 12:51:42 +01:00
read-md.c Update copyright years. 2020-01-01 12:51:42 +01:00
read-md.h Update copyright years. 2020-01-01 12:51:42 +01:00
read-rtl-function.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
read-rtl-function.h Update copyright years. 2020-01-01 12:51:42 +01:00
read-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
README.Portability Update copyright years. 2020-01-01 12:51:42 +01:00
real.c real: Fix roundeven on inf/nan [PR93663] 2020-02-12 22:15:40 +01:00
real.h Update copyright years. 2020-01-01 12:51:42 +01:00
realmpfr.c Update copyright years. 2020-01-01 12:51:42 +01:00
realmpfr.h Update copyright years. 2020-01-01 12:51:42 +01:00
recog.c Improve splitX passes management 2020-02-09 17:56:38 +01:00
recog.h Update copyright years. 2020-01-01 12:51:42 +01:00
ree.c Update copyright years. 2020-01-01 12:51:42 +01:00
reg-notes.def Update copyright years. 2020-01-01 12:51:42 +01:00
reg-stack.c Update copyright years. 2020-01-01 12:51:42 +01:00
regcprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
regcprop.h Update copyright years. 2020-01-01 12:51:42 +01:00
reginfo.c Update copyright years. 2020-01-01 12:51:42 +01:00
regrename.c Update copyright years. 2020-01-01 12:51:42 +01:00
regrename.h Update copyright years. 2020-01-01 12:51:42 +01:00
regs.h Update copyright years. 2020-01-01 12:51:42 +01:00
regset.h Update copyright years. 2020-01-01 12:51:42 +01:00
regstat.c Update copyright years. 2020-01-01 12:51:42 +01:00
reload.c Update copyright years. 2020-01-01 12:51:42 +01:00
reload.h Update copyright years. 2020-01-01 12:51:42 +01:00
reload1.c Update copyright years. 2020-01-01 12:51:42 +01:00
reorg.c Fix incorrect filling of delay slots in branchy code at -O2 2020-03-13 10:03:30 +01:00
resource.c Fix incorrect filling of delay slots in branchy code at -O2 2020-03-13 10:03:30 +01:00
resource.h Fix incorrect filling of delay slots in branchy code at -O2 2020-03-13 10:03:30 +01:00
rtl-error.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-error.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-iter.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtl-tests.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtl.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
rtl.def Update copyright years. 2020-01-01 12:51:42 +01:00
rtl.h cselib: Reuse VALUEs on sp adjustments [PR92264] 2020-04-02 14:28:14 +02:00
rtlanal.c rtlanal: optimize costly division in rtx_cost 2020-02-14 20:22:36 +03:00
rtlhash.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhash.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhooks-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
rtlhooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtx-vector-builder.c Update copyright years. 2020-01-01 12:51:42 +01:00
rtx-vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
run-rtl-passes.c Update copyright years. 2020-01-01 12:51:42 +01:00
run-rtl-passes.h Update copyright years. 2020-01-01 12:51:42 +01:00
sancov.c Update copyright years. 2020-01-01 12:51:42 +01:00
sanitizer.def Update copyright years. 2020-01-01 12:51:42 +01:00
sanopt.c sanopt: Avoid crash on anonymous parameter [PR93436] 2020-01-26 16:28:10 -05:00
sbitmap.c Update copyright years. 2020-01-01 12:51:42 +01:00
sbitmap.h sbitmap.h: add operator const_sbitmap to auto_sbitmap 2020-01-09 01:35:59 +00:00
sched-deps.c Uninitialized padding in struct _dep. 2020-01-16 12:30:22 +00:00
sched-ebb.c Update copyright years. 2020-01-01 12:51:42 +01:00
sched-int.h Uninitialized padding in struct _dep. 2020-01-16 12:30:22 +00:00
sched-rgn.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-dump.h Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-ir.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched-ir.h Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched.c Update copyright years. 2020-01-01 12:51:42 +01:00
sel-sched.h Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-diagnostic.c Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-diagnostic.h Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-rtl.c Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-rtl.h Update copyright years. 2020-01-01 12:51:42 +01:00
selftest-run-tests.c analyzer: introduce namespace to avoid ODR clashes (PR 93307) 2020-01-22 14:18:31 -05:00
selftest.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
selftest.h Initial commit of analyzer 2020-01-14 15:34:24 -05:00
sese.c Update copyright years. 2020-01-01 12:51:42 +01:00
sese.h Update copyright years. 2020-01-01 12:51:42 +01:00
shortest-paths.h Initial commit of analyzer 2020-01-14 15:34:24 -05:00
shrink-wrap.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
shrink-wrap.h Update copyright years. 2020-01-01 12:51:42 +01:00
signop.h Update copyright years. 2020-01-01 12:51:42 +01:00
simplify-rtx.c Verify the code used for the optimized comparison is valid for the comparison's mode. 2020-03-23 17:59:34 -06:00
sort.cc Update copyright years. 2020-01-01 12:51:42 +01:00
sparseset.c Update copyright years. 2020-01-01 12:51:42 +01:00
sparseset.h Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
spellcheck.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
spellcheck.h Update copyright years. 2020-01-01 12:51:42 +01:00
sreal.c Update copyright years. 2020-01-01 12:51:42 +01:00
sreal.h Update copyright years. 2020-01-01 12:51:42 +01:00
ssa-iterators.h Update copyright years. 2020-01-01 12:51:42 +01:00
ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
stab.def Update copyright years. 2020-01-01 12:51:42 +01:00
stack-ptr-mod.c Update copyright years. 2020-01-01 12:51:42 +01:00
statistics.c Update copyright years. 2020-01-01 12:51:42 +01:00
statistics.h Update copyright years. 2020-01-01 12:51:42 +01:00
stmt.c Update copyright years. 2020-01-01 12:51:42 +01:00
stmt.h Update copyright years. 2020-01-01 12:51:42 +01:00
stor-layout.c Update copyright years. 2020-01-01 12:51:42 +01:00
stor-layout.h Update copyright years. 2020-01-01 12:51:42 +01:00
store-motion.c Update copyright years. 2020-01-01 12:51:42 +01:00
streamer-hooks.c Update copyright years. 2020-01-01 12:51:42 +01:00
streamer-hooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
stringpool.c Update copyright years. 2020-01-01 12:51:42 +01:00
stringpool.h Update copyright years. 2020-01-01 12:51:42 +01:00
substring-locations.c Update copyright years. 2020-01-01 12:51:42 +01:00
substring-locations.h Update copyright years. 2020-01-01 12:51:42 +01:00
symbol-summary.h Update copyright years. 2020-01-01 12:51:42 +01:00
symtab.c Save ref->speculative_id before clone_reference. 2020-03-23 08:57:06 +01:00
sync-builtins.def Update copyright years. 2020-01-01 12:51:42 +01:00
system.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-def.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-globals.c Update copyright years. 2020-01-01 12:51:42 +01:00
target-globals.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-hooks-macros.h Update copyright years. 2020-01-01 12:51:42 +01:00
target-insns.def Update copyright years. 2020-01-01 12:51:42 +01:00
target.def Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
target.h Update copyright years. 2020-01-01 12:51:42 +01:00
targhooks.c Fix PR 93242: patchable-function-entry broken on MIPS 2020-01-20 14:22:42 +00:00
targhooks.h Update copyright years. 2020-01-01 12:51:42 +01:00
timevar.c Update copyright years. 2020-01-01 12:51:42 +01:00
timevar.def Initial commit of analyzer 2020-01-14 15:34:24 -05:00
timevar.h Update copyright years. 2020-01-01 12:51:42 +01:00
toplev.c Add diagnostic paths 2020-01-10 21:22:12 +00:00
toplev.h Update copyright years. 2020-01-01 12:51:42 +01:00
tracer.c Update copyright years. 2020-01-01 12:51:42 +01:00
tracer.h Update copyright years. 2020-01-01 12:51:42 +01:00
trans-mem.c Update copyright years. 2020-01-01 12:51:42 +01:00
trans-mem.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-affine.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-affine.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-call-cdce.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
tree-cfg.c c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
tree-cfg.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-cfgcleanup.c Make cgraph_edge::resolve-speculation static 2020-01-09 13:21:48 +01:00
tree-cfgcleanup.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-chrec.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-chrec.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-complex.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-core.h Further changes for the OpenACC 'if_present' clause on the 'host_data' construct 2020-01-10 23:23:44 +01:00
tree-data-ref.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
tree-data-ref.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dfa.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dfa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-diagnostic-path.cc tree-diagnostic-path.cc: properly handle ad-hoc wrappers of UNKNOWN_LOCATION 2020-01-14 20:42:04 -05:00
tree-diagnostic.c Add diagnostic paths 2020-01-10 21:22:12 +00:00
tree-diagnostic.h Add diagnostic paths 2020-01-10 21:22:12 +00:00
tree-dump.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-dump.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-eh.c Record outer non-cleanup region in TREE EH. 2020-01-20 11:10:30 +01:00
tree-eh.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-emutls.c Do not call null register_common in emutls 2020-02-17 17:08:11 -03:00
tree-hash-traits.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-hasher.h hash-table.h: support non-zero empty values in empty_slow (v2) 2020-01-14 12:44:04 -05:00
tree-if-conv.c if-conv: Delete dead stmts backwards in ifcvt_local_dce [PR94283] 2020-03-25 08:08:04 +01:00
tree-if-conv.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-inline.c tree-inline: Fix a -fcompare-debug issue in the inliner [PR94167] 2020-03-16 09:03:59 +01:00
tree-inline.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-into-ssa.c Change recursive prepare_block_for_update to use a worklist 2020-01-21 11:17:26 +00:00
tree-into-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-iterator.c c++: Fix further protected_set_expr_location related -fcompare-debug issues [PR94441] 2020-04-04 09:16:07 +02:00
tree-iterator.h c++: Fix further protected_set_expr_location related -fcompare-debug issues [PR94441] 2020-04-04 09:16:07 +02:00
tree-loop-distribution.c Update post order number for merged SCC. 2020-03-16 11:11:42 +08:00
tree-nested.c tree-nested: Fix handling of *reduction clauses with C array sections [PR93566] 2020-03-15 01:27:40 +01:00
tree-nested.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-nrv.c Fix tree-nrv.c ICE for direct internal functions 2020-01-09 15:09:09 +00:00
tree-object-size.c objsz: Don't call replace_uses_by on SSA_NAME_OCCURS_IN_ABNORMAL_PHI [PR94423] 2020-04-01 09:44:59 +02:00
tree-object-size.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-outof-ssa.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-outof-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-parloops.c tree-optimization/93439 move clique bookkeeping to OMP expansion 2020-01-28 14:10:16 +01:00
tree-parloops.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-pass.h [C++ coroutines] Initial implementation. 2020-01-18 11:55:56 +00:00
tree-phinodes.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-phinodes.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-predcom.c predcom: Fix invalid store-store commoning [PR93434] 2020-01-28 10:47:43 +00:00
tree-pretty-print.c print-rtl: Fix printing of CONST_STRING in DEBUG_INSNs [PR93399] 2020-03-05 09:12:44 +01:00
tree-pretty-print.h print-rtl: Fix printing of CONST_STRING in DEBUG_INSNs [PR93399] 2020-03-05 09:12:44 +01:00
tree-profile.c Add __gcov_indirect_call_profiler_v4_atomic. 2020-01-27 16:20:10 +01:00
tree-scalar-evolution.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-scalar-evolution.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-sra.c sra: Cap number of sub-access propagations with a param (PR 93435) 2020-03-21 00:21:02 +01:00
tree-sra.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-address.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-address.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-alias.c tree-optimization/93946 - fix bogus redundant store removal in FRE, DSE and DOM 2020-03-03 11:02:28 +01:00
tree-ssa-alias.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ccp.c re PR tree-optimization/93156 (abused nonnull attribute evokes new segfault in gcc 10 since Nov 4 commit, 0fb958ab8aa) 2020-01-07 11:05:14 +01:00
tree-ssa-ccp.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-coalesce.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-coalesce.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-copy.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dce.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dce.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dom.c middle-end/94188 fix fold of addr expression generation 2020-03-18 09:14:48 +01:00
tree-ssa-dom.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-dse.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
tree-ssa-dse.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-forwprop.c forwprop: Pattern recognize more rotates [PR94344] 2020-03-31 11:02:47 +02:00
tree-ssa-ifcombine.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-live.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-live.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-ch.c typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912] 2020-02-25 22:10:48 +01:00
tree-ssa-loop-im.c middle-end/94188 fix fold of addr expression generation 2020-03-18 09:14:48 +01:00
tree-ssa-loop-ivcanon.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-ivopts.c Fix fast-math-pr55281.c ICE 2020-01-31 14:31:38 +00:00
tree-ssa-loop-ivopts.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-manip.c loop-manip: Avoid -fcompare-debug issues in create_iv [PR94285] 2020-03-24 09:36:32 +01:00
tree-ssa-loop-manip.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-niter.c c/94392 - only enable -ffinite-loops for C++ 2020-04-02 16:53:21 +02:00
tree-ssa-loop-niter.h PR tree-optimization/92429 do not fold when updating epilogue statements 2020-01-16 10:28:02 +00:00
tree-ssa-loop-prefetch.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop-split.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
tree-ssa-loop-unswitch.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-loop.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-math-opts.c widening_mul: restrict ops to be defined in the same basic-block when convert plusminus to widen 2020-03-26 08:36:42 +01:00
tree-ssa-operands.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-operands.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-phiopt.c phiopt: Avoid -fcompare-debug bug in phiopt [PR94211] 2020-03-19 10:24:16 +01:00
tree-ssa-phiprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-pre.c tree-optimization/94163 constrain alignment set by PRE 2020-03-13 13:57:41 +01:00
tree-ssa-propagate.c tree-optimization/94352 - fix uninitialized use of curr_order 2020-03-27 13:55:22 +01:00
tree-ssa-propagate.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-reassoc.c reassoc: Fix -fcompare-debug bug in reassociate_bb [PR94329] 2020-03-28 10:21:52 +01:00
tree-ssa-sccvn.c sccvn: Fix buffer overflow in push_partial_def [PR94300] 2020-03-25 09:17:01 +01:00
tree-ssa-sccvn.h sccvn: Improve handling of load masked with integer constant [PR93582] 2020-03-03 11:24:33 +01:00
tree-ssa-scopedtables.c tree-optimization/93946 - fix bogus redundant store removal in FRE, DSE and DOM 2020-03-03 11:02:28 +01:00
tree-ssa-scopedtables.h tree-optimization/93946 - fix bogus redundant store removal in FRE, DSE and DOM 2020-03-03 11:02:28 +01:00
tree-ssa-sink.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-strlen.c PR tree-optimization/94131 - ICE on printf with a VLA string and -fno-tree-ccp 2020-03-25 09:39:50 -06:00
tree-ssa-strlen.h Fix up duplicated duplicated words in comments 2020-03-18 12:56:26 +01:00
tree-ssa-structalias.c tree-optimization/93381 fix integer offsetting in points-to analysis 2020-01-22 12:38:12 +01:00
tree-ssa-tail-merge.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ter.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-ter.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadbackward.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadedge.c Fix ICE due to invalid jump threading request 2020-01-24 17:51:19 -05:00
tree-ssa-threadedge.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadupdate.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-threadupdate.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-uncprop.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa-uninit.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssa.c tree-ssa: Fix ICE in build_vector_type [PR93780] 2020-02-18 09:07:15 +01:00
tree-ssa.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssanames.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-ssanames.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-stdarg.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-stdarg.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer-in.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer-out.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-streamer.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-switch-conversion.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-switch-conversion.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-tailcall.c tailcall: Fix up process_assignment [PR94001] 2020-03-04 09:01:59 +01:00
tree-vect-data-refs.c vect: Fix offset calculation for -ve strides [PR93767] 2020-02-19 13:12:22 +00:00
tree-vect-generic.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-loop-manip.c tree-optimization/93094 pass down VECTORIZED_CALL to versioning 2020-01-20 09:48:42 +01:00
tree-vect-loop.c Fix PR94443 with gsi_insert_seq_before [PR94443] 2020-04-03 03:07:46 -05:00
tree-vect-patterns.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vect-slp.c tree-optimization/94261 - avoid IL adjustments in SLP analysis 2020-03-23 16:48:37 +01:00
tree-vect-stmts.c Fix PR94401 by considering reverse overrun 2020-04-02 08:54:11 -05:00
tree-vector-builder.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vectorizer.c tree-optimization/93094 pass down VECTORIZED_CALL to versioning 2020-01-20 09:48:42 +01:00
tree-vectorizer.h tree-optimization/93094 pass down VECTORIZED_CALL to versioning 2020-01-20 09:48:42 +01:00
tree-vrp.c Update copyright years. 2020-01-01 12:51:42 +01:00
tree-vrp.h Update copyright years. 2020-01-01 12:51:42 +01:00
tree.c c++: Fix further protected_set_expr_location related -fcompare-debug issues [PR94441] 2020-04-04 09:16:07 +02:00
tree.def Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
tree.h c++: Fix further protected_set_expr_location related -fcompare-debug issues [PR94441] 2020-04-04 09:16:07 +02:00
treestruct.def Update copyright years. 2020-01-01 12:51:42 +01:00
tristate.cc Initial commit of analyzer 2020-01-14 15:34:24 -05:00
tristate.h Initial commit of analyzer 2020-01-14 15:34:24 -05:00
tsan.c Update copyright years. 2020-01-01 12:51:42 +01:00
tsan.h Update copyright years. 2020-01-01 12:51:42 +01:00
tsystem.h Update copyright years. 2020-01-01 12:51:42 +01:00
typeclass.h Update copyright years. 2020-01-01 12:51:42 +01:00
typed-splay-tree.c Update copyright years. 2020-01-01 12:51:42 +01:00
typed-splay-tree.h Update copyright years. 2020-01-01 12:51:42 +01:00
ubsan.c Update copyright years. 2020-01-01 12:51:42 +01:00
ubsan.h Update copyright years. 2020-01-01 12:51:42 +01:00
unique-ptr-tests.cc Update copyright years. 2020-01-01 12:51:42 +01:00
valtrack.c Update copyright years. 2020-01-01 12:51:42 +01:00
valtrack.h Update copyright years. 2020-01-01 12:51:42 +01:00
value-prof.c value-prof: Fix abs uses in value-prof.c [PR93962] 2020-03-11 09:34:59 +01:00
value-prof.h Missed function specialization + partial devirtualization 2020-01-13 19:10:46 -06:00
value-range.cc Update copyright years. 2020-01-01 12:51:42 +01:00
value-range.h Update copyright years. 2020-01-01 12:51:42 +01:00
var-tracking.c cselib: Reuse VALUEs on sp adjustments [PR92264] 2020-04-02 14:28:14 +02:00
varasm.c varasm: Fix output_constructor where a RANGE_EXPR index needs to skip some elts [PR94303] 2020-03-25 09:21:05 +01:00
varasm.h Update copyright years. 2020-01-01 12:51:42 +01:00
varpool.c Reword a comment in varpool_node::ctor_useable_for_folding_p. 2020-01-18 13:49:05 +01:00
vec-perm-indices.c Update copyright years. 2020-01-01 12:51:42 +01:00
vec-perm-indices.h Update copyright years. 2020-01-01 12:51:42 +01:00
vec.c vec.h: add auto_delete_vec 2020-01-09 01:39:45 +00:00
vec.h vec.h: add auto_delete_vec 2020-01-09 01:39:45 +00:00
vector-builder.h Update copyright years. 2020-01-01 12:51:42 +01:00
version.c Update copyright years. 2020-01-01 12:51:42 +01:00
version.h
vmsdbg.h Update copyright years. 2020-01-01 12:51:42 +01:00
vmsdbgout.c Update copyright years. 2020-01-01 12:51:42 +01:00
vr-values.c Update copyright years. 2020-01-01 12:51:42 +01:00
vr-values.h Update copyright years. 2020-01-01 12:51:42 +01:00
vtable-verify.c Update copyright years. 2020-01-01 12:51:42 +01:00
vtable-verify.h Update copyright years. 2020-01-01 12:51:42 +01:00
web.c Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int-bitmask.h Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int-print.cc Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int-print.h Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int.cc Update copyright years. 2020-01-01 12:51:42 +01:00
wide-int.h Update copyright years. 2020-01-01 12:51:42 +01:00
xcoff.h Update copyright years. 2020-01-01 12:51:42 +01:00
xcoffout.c Update copyright years. 2020-01-01 12:51:42 +01:00
xcoffout.h Update copyright years. 2020-01-01 12:51:42 +01:00

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