gcc/gcc
Richard Biener 4769ac6c5d lto/106540 - fix LTO tree input wrt dwarf2out_register_external_die
I've revisited the earlier two workarounds for dwarf2out_register_external_die
getting duplicate entries.  It turns out that r11-525-g03d90a20a1afcb
added dref_queue pruning to lto_input_tree but decl reading uses that
to stream in DECL_INITIAL even when in the middle of SCC streaming.
When that SCC then gets thrown away we can end up with debug nodes
registered which isn't supposed to happen.  The following adjusts
the DECL_INITIAL streaming to go the in-SCC way, using lto_input_tree_1,
since no SCCs are expected at this point, just refs.

	PR lto/106540
	PR lto/106334
	* lto-streamer-in.cc (lto_read_tree_1): Use lto_input_tree_1
	to input DECL_INITIAL, avoiding to commit drefs.

(cherry picked from commit 2a1448f276)
2022-08-10 16:29:47 +02:00
..
ada Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
analyzer Daily bump. 2022-07-28 00:19:00 +00:00
c Daily bump. 2022-08-02 00:19:17 +00:00
c-family Daily bump. 2022-07-07 00:19:11 +00:00
common loongarch: use -mno-check-zero-division as the default for optimized code 2022-07-04 14:30:47 +08:00
config Do not enable -mblock-ops-vector-pair. 2022-08-05 18:54:33 -04:00
cp Daily bump. 2022-07-27 00:19:35 +00:00
d Daily bump. 2022-08-10 00:19:29 +00:00
doc analyzer: add .fpath.txt dumps to -fdump-analyzer-feasibility 2022-07-27 17:53:54 -04:00
fortran Daily bump. 2022-07-27 00:19:35 +00:00
ginclude
go Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
jit Daily bump. 2022-08-10 00:19:29 +00:00
lto Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
objc Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
objcp Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
po Daily bump. 2022-06-10 00:19:33 +00:00
rtl-ssa rtl-ssa: Fix prev/next_def confusion [PR104869] 2022-03-21 10:51:56 +00:00
testsuite Daily bump. 2022-08-10 00:19:29 +00:00
ABOUT-GCC-NLS
BASE-VER Bump BASE-VER 2022-05-06 10:14:19 +02:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog Daily bump. 2022-08-06 00:19:27 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2022-08-10 00:19:29 +00:00
DEV-PHASE Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Manual changes for .cc renaming. 2022-01-17 22:12:14 +01:00
ONEWS
README.Portability
acinclude.m4
aclocal.m4
addresses.h
adjust-alignment.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
alias.cc rtl-optimization/104498: Fix comparing symbol reference 2022-02-21 09:41:53 +00:00
alias.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
align.h
alloc-pool.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
alloc-pool.h
array-traits.h
asan.cc asan: Fix up instrumentation of assignments which are both loads and stores [PR105714] 2022-05-30 05:36:31 +02:00
asan.h
attr-fnspec.h
attribs.cc attribs: Restrict decl_attributes DECL_FUNCTION_SPECIFIC_TARGET changes to targets that care about target attributes/pragmas [PR105234] 2022-04-13 10:12:56 +02:00
attribs.h
auto-inc-dec.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
auto-profile.cc AutoFDO: Don't try to promote indirect calls that result in recursive direct calls 2022-02-09 23:33:10 -08:00
auto-profile.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
backend.h
basic-block.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
bb-reorder.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
bb-reorder.h
bitmap.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
bitmap.h
btfout.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
builtin-attrs.def
builtin-types.def
builtins.cc middle-end/106331 - fix mem attributes for string op arguments 2022-07-19 11:27:22 +02:00
builtins.def
builtins.h PR tree-optimization/98335: Improvements to DSE's compute_trims. 2022-03-11 17:51:18 +00:00
caller-save.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
calls.cc PR middle-end/104885: Fix ICE with large stack frame on powerpc64. 2022-03-26 08:10:27 -10:00
calls.h
ccmp.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ccmp.h
cfg-flags.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cfg.cc cfg: Dump goto_locus if -fdump-*-*-blocks-details 2022-03-02 10:48:55 +01:00
cfg.h
cfganal.cc Assert that backedges are available in path solver. 2022-02-03 14:06:45 +01:00
cfganal.h Assert that backedges are available in path solver. 2022-02-03 14:06:45 +01:00
cfgbuild.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cfgbuild.h
cfgcleanup.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cfgcleanup.h
cfgexpand.cc Restore INDIRECT_REF asm operand heuristic with MEM_REF 2022-03-09 15:56:23 +01:00
cfgexpand.h
cfghooks.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cfghooks.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cfgloop.cc tree-optimization/104528 - free niter estimates after DSE 2022-02-14 14:31:06 +01:00
cfgloop.h
cfgloopanal.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cfgloopmanip.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cfgloopmanip.h
cfgrtl.cc rtl-optimization/105559 - avoid quadratic behavior in delete_insn_and_edges 2022-05-19 13:58:50 +02:00
cfgrtl.h
cgraph.cc ipa: Release body of clone_of when removing its last clone (PR 100413) 2022-05-11 23:28:21 +02:00
cgraph.h Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
cgraphbuild.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cgraphclones.cc cgraph: Fix up semantic_interposition handling [PR105306] 2022-04-20 09:24:18 +02:00
cgraphunit.cc cgraphunit: Don't emit asm thunks for -dx [PR106261] 2022-07-30 11:34:30 +02:00
cif-code.def
collect-utils.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
collect-utils.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
collect2-aix.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
collect2-aix.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
collect2.cc Fix -Wformat-diag in various targets. 2022-01-18 17:25:37 +01:00
collect2.h
color-macros.h
combine-stack-adj.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
combine.cc rtl-optimization/105231 - distribute_notes and REG_EH_REGION 2022-04-25 09:25:33 +02:00
common.md
common.opt --target-help: align with --help=target 2022-04-06 17:38:15 +02:00
compare-elim.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
conditions.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
config.build
config.gcc IBM zSystems: Add support for z16 as CPU name. 2022-04-12 07:58:57 +02:00
config.host
config.in aix: handle 64bit inodes for include directories 2022-01-12 16:59:47 +01:00
configure Support --compress-debug-sections for ld.mold. 2022-04-21 10:18:15 +02:00
configure.ac Support --compress-debug-sections for ld.mold. 2022-04-21 10:18:15 +02:00
context.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
context.h
convert.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
convert.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
coretypes.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
coroutine-builtins.def
coroutine-passes.cc
coverage.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
coverage.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cppbuiltin.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cppbuiltin.h
cppdefault.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cppdefault.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cprop.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cse.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
cselib.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
cselib.h
cstamp-h.in
ctfc.cc CTF for extern variable fix [PR105089] 2022-04-14 10:03:52 -07:00
ctfc.h CTF for extern variable fix [PR105089] 2022-04-14 10:03:52 -07:00
ctfout.cc CTF for extern variable fix [PR105089] 2022-04-14 10:03:52 -07:00
data-streamer-in.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
data-streamer-out.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
data-streamer.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
data-streamer.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dbgcnt.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
dbgcnt.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dbgcnt.h
dbxout.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dbxout.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dce.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
dce.h
ddg.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ddg.h
debug.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
debug.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
defaults.h
df-core.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
df-problems.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
df-scan.cc df: Don't set bbs dirty because of debug insn moves [PR104459] 2022-02-11 11:21:24 +01:00
df.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dfp.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dfp.h
diagnostic-color.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
diagnostic-color.h
diagnostic-core.h
diagnostic-event-id.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
diagnostic-format-json.cc
diagnostic-metadata.h
diagnostic-path.h
diagnostic-show-locus.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
diagnostic-spec.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
diagnostic-spec.h Add -Wuse-after-free [PR80532]. 2022-01-15 16:45:24 -07:00
diagnostic-url.h
diagnostic.cc selftest: Move C-specific tests to c_family 2022-03-19 14:29:43 -04:00
diagnostic.def
diagnostic.h Improve wording for -freport-bug option. 2022-01-27 13:34:29 +01:00
digraph.cc
digraph.h
dojump.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dojump.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dominance.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
dominance.h
domwalk.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
domwalk.h
double-int.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
double-int.h
dse.cc rtl-optimization/105577 - RTL DSE and non-call EH 2022-05-19 14:00:49 +02:00
dump-context.h
dumpfile.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
dumpfile.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dwarf2asm.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dwarf2asm.h
dwarf2cfi.cc Cope with NULL dw_cfi_cfa_loc 2022-02-24 22:03:34 -03:00
dwarf2ctf.cc CTF for extern variable fix [PR105089] 2022-04-14 10:03:52 -07:00
dwarf2ctf.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
dwarf2out.cc Do not use DW_OP_not for TRUTH_NOT_EXPR in conditional expressions 2022-05-16 11:08:47 +02:00
dwarf2out.h Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
early-remat.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
edit-context.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
edit-context.h
emit-rtl.cc emit-rtl: Fix -fcompare-debug bug with label references in debug insns [PR105203] 2022-04-21 09:43:30 +02:00
emit-rtl.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
errors.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
errors.h
escaped_string.h
et-forest.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
et-forest.h
except.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
except.h
exec-tool.in
explow.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
explow.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
expmed.cc middle-end/105711 - properly handle CONST_INT when expanding bitfields 2022-06-02 10:13:28 +02:00
expmed.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
expr.cc expand: Fix up expand_cond_expr_using_cmove [PR106030] 2022-06-28 17:33:48 +02:00
expr.h
fibonacci_heap.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
fibonacci_heap.h
file-find.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
file-find.h
file-prefix-map.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
file-prefix-map.h
final.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
fixed-value.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
fixed-value.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
flag-types.h aarch64: Add compiler support for Shadow Call Stack 2022-02-21 20:01:14 +00:00
flags.h Properly use opts in finish_options 2022-05-19 13:58:21 +02:00
fold-const-call.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
fold-const-call.h
fold-const.cc middle-end/106027 - fix types in needle folding 2022-07-19 11:26:34 +02:00
fold-const.h Implement constant-folding simplifications of reductions. 2022-02-22 12:32:22 +00:00
fp-test.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
function-abi.cc
function-abi.h
function-tests.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
function.cc Add an assertion: the zeroed_hardregs set is a subset of all call used regs. 2022-04-01 16:09:43 +00:00
function.h pack fields in cgraph_simd_clone_arg and struct function 2022-01-18 12:19:49 +01:00
fwprop.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcc-ar.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gcc-main.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcc-plugin.h
gcc-rich-location.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gcc-rich-location.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcc-symtab.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcc.cc --target-help: align with --help=target 2022-04-06 17:38:15 +02:00
gcc.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcov-counter.def
gcov-dump.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcov-io.cc gcov: Reword comment for gcov_read_string() 2022-03-31 08:12:43 +02:00
gcov-io.h
gcov-tool.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gcov.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcse-common.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gcse-common.h
gcse.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
gcse.h Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
gdbasan.in
gdbhooks.py
gdbinit.in
gen-pass-instances.awk
genattr-common.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genattr.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genattrtab.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genautomata.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gencfn-macros.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gencheck.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genchecksum.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gencodes.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genconditions.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genconfig.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genconstants.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genemit.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genenums.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
generic-match-head.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
generic-match.h
genextract.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genflags.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gengenrtl.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gengtype-lex.l
gengtype-parse.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gengtype-state.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gengtype.cc Manual changes for .cc renaming. 2022-01-17 22:12:14 +01:00
gengtype.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genhooks.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genmatch.cc middle-end/104644 - recursion with bswap match.pd pattern 2022-02-23 13:51:43 +01:00
genmddeps.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genmddump.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genmodes.cc arm: Implement MVE predicates as vectors of booleans 2022-02-22 15:55:07 +00:00
genmultilib
genopinit.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genoutput.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genpeep.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genpreds.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
genrecog.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gensupport.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gensupport.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gentarget-def.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
genversion.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ggc-common.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ggc-internal.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ggc-none.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ggc-page.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ggc-tests.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
ggc.h
gimple-array-bounds.cc tree-optimization/106189 - avoid division by zero exception 2022-07-27 11:23:45 +02:00
gimple-array-bounds.h Enable pointer_query caching in -Warray-bounds. 2022-02-03 13:58:28 -07:00
gimple-builder.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-builder.h
gimple-expr.cc rtl-optimization/105091 - wrong DSE with missed TREE_ADDRESSABLE 2022-03-31 09:18:42 +02:00
gimple-expr.h
gimple-fold.cc gimple-fold: fix further missing stmt locations [PR104308] 2022-04-25 19:34:33 -04:00
gimple-fold.h tree-optimization/105142 - wrong code with maybe_fold_{and,or}_comparisons 2022-04-06 08:14:32 +02:00
gimple-harden-conditionals.cc [PR105455] Set edge probabilities when hardening conditionals 2022-05-13 03:05:46 -03:00
gimple-if-to-switch.cc
gimple-isel.cc isel: Fix up gimple_expand_vec_set_expr [PR105528] 2022-05-10 18:39:51 +02:00
gimple-iterator.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-iterator.h
gimple-laddress.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-loop-interchange.cc
gimple-loop-jam.cc tree-optimization/104543 - fix unroll-and-jam precondition 2022-02-15 13:22:15 +01:00
gimple-loop-versioning.cc
gimple-low.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gimple-low.h
gimple-match-head.cc Performance/size improvement to single_use when matching GIMPLE. 2022-03-16 09:27:33 +00:00
gimple-match.h
gimple-predicate-analysis.cc
gimple-predicate-analysis.h
gimple-predict.h
gimple-pretty-print.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-pretty-print.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gimple-range-cache.cc Always use dominators in the cache when available. 2022-03-17 16:43:21 -04:00
gimple-range-cache.h Register non-null side effects properly. 2022-02-09 09:09:54 -05:00
gimple-range-edge.cc
gimple-range-edge.h
gimple-range-fold.cc Don't use gori depedencies to optimize. 2022-07-04 13:21:48 -04:00
gimple-range-fold.h
gimple-range-gori.cc Fix up duplicated duplicated words in comments 2022-03-07 15:00:20 +01:00
gimple-range-gori.h Use GORI to evaluate arguments of a COND_EXPR. 2022-02-15 17:03:27 -05:00
gimple-range-path.cc Register non-null side effects properly. 2022-02-09 09:09:54 -05:00
gimple-range-path.h Reset relations when crossing backedges. 2022-01-21 11:19:07 +01:00
gimple-range-tests.cc
gimple-range-trace.cc
gimple-range-trace.h
gimple-range.cc Retain existing range knowledge when prefilling statements. 2022-04-25 09:58:53 -04:00
gimple-range.h Register non-null side effects properly. 2022-02-09 09:09:54 -05:00
gimple-ssa-backprop.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-evrp-analyze.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-evrp-analyze.h
gimple-ssa-evrp.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-isolate-paths.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-nonnull-compare.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-split-paths.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-sprintf.cc tree-optimization/105969 - FPE with array diagnostics 2022-07-19 11:25:31 +02:00
gimple-ssa-store-merging.cc store-merging: Avoid ICEs on roughly ~0ULL/8 sized stores [PR105094] 2022-03-30 10:21:16 +02:00
gimple-ssa-strength-reduction.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-warn-access.cc middle-end/104492 - avoid all equality compare dangling pointer diags 2022-04-27 12:03:07 +02:00
gimple-ssa-warn-access.h
gimple-ssa-warn-alloca.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-ssa-warn-restrict.cc tree-optimization/105726 - adjust array bound heuristic 2022-06-02 10:13:49 +02:00
gimple-ssa-warn-restrict.h Enable pointer_query caching in -Wrestrict. 2022-02-03 13:59:39 -07:00
gimple-ssa.h
gimple-streamer-in.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-streamer-out.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-streamer.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
gimple-walk.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimple-walk.h
gimple-warn-recursion.cc warn-recursion: Don't warn for __builtin_calls in gnu_inline extern inline functions [PR104633] 2022-02-23 12:03:55 +01:00
gimple.cc gimple.cc: Follow-up to adjust gimple_call_builtin_p and gimple_call_combined_fn [PR105150] 2022-04-06 16:47:47 +02:00
gimple.def
gimple.h Add CLOBBER_EOL to mark storage end-of-life clobbers 2022-02-04 08:16:50 +01:00
gimplify-me.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
gimplify-me.h
gimplify.cc gimple: Wrong -Wimplicit-fallthrough with if(1) [PR103597] 2022-03-29 14:10:37 -04:00
gimplify.h
glimits.h
godump.cc -fgo-dump-spec: really name alignment field "_" 2022-02-09 09:39:03 -08:00
graph.cc Make graph dumping work for fn != cfun 2022-01-28 11:28:09 +01:00
graph.h
graphds.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphds.h
graphite-dependences.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphite-isl-ast-to-gimple.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
graphite-optimize-isl.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphite-poly.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphite-scop-detection.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphite-sese-to-poly.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphite.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
graphite.h
graphviz.cc
graphviz.h
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
hard-reg-set.h
hash-map-tests.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
hash-map-traits.h
hash-map.h
hash-set-tests.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
hash-set.h
hash-table.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
hash-table.h
hash-traits.h [PATCH] gcc: pass-manager: Fix memory leak. [PR jit/63854] 2022-03-19 13:43:02 -04:00
highlev-plugin-common.h
hooks.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
hooks.h
host-default.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
hosthooks-def.h
hosthooks.h
hw-doloop.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
hw-doloop.h
hwint.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
hwint.h
ifcvt.cc ifcvt: Don't introduce trapping or faulting reads in noce_try_sign_mask [PR106032] 2022-06-28 17:37:37 +02:00
ifcvt.h
inchash.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
inchash.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
incpath.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
incpath.h
init-regs.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
input.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
input.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
insn-addr.h
insn-notes.def
int-vector-builder.h
internal-fn.cc Fix up duplicated duplicated words in comments 2022-03-07 15:00:20 +01:00
internal-fn.def widening_mul, i386: Improve spaceship expansion on x86 [PR103973] 2022-01-17 13:39:05 +01:00
internal-fn.h widening_mul, i386: Improve spaceship expansion on x86 [PR103973] 2022-01-17 13:39:05 +01:00
intl.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
intl.h
ipa-comdats.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-cp.cc ipa: Careful processing ANCESTOR jump functions and NULL pointers (PR 103083) 2022-03-31 17:24:22 +02:00
ipa-devirt.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-fnsummary.cc ipa/104303 - miscompilation of gnatmake 2022-04-07 15:03:36 +02:00
ipa-fnsummary.h Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
ipa-free-lang-data.cc ipa: fix comment typos 2022-04-11 17:40:41 -04:00
ipa-icf-gimple.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-icf-gimple.h
ipa-icf.cc ipa-icf: skip variables with body_removed 2022-06-23 12:10:09 +02:00
ipa-icf.h
ipa-inline-analysis.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-inline-transform.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-inline.cc ipa/103989 - avoid IPA inlining of small functions with -Og 2022-01-18 15:43:04 +01:00
ipa-inline.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ipa-modref-tree.cc Fix overflows in ipa-modref-tree.cc 2022-04-20 11:00:33 +02:00
ipa-modref-tree.h modref: Comment spelling fixes 2022-03-02 10:25:25 +01:00
ipa-modref.cc Propagate nondeterministic and side_effects flags in modref summary after inlining 2022-04-09 21:07:07 +02:00
ipa-modref.h modref: Comment spelling fixes 2022-03-02 10:25:25 +01:00
ipa-param-manipulation.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ipa-param-manipulation.h
ipa-polymorphic-call.cc Fix up duplicated duplicated words in comments 2022-03-07 15:00:20 +01:00
ipa-predicate.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-predicate.h
ipa-profile.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-prop.cc Fix ipa-cp wrt volatile loads 2022-06-19 12:08:35 +02:00
ipa-prop.h ipa: Careful processing ANCESTOR jump functions and NULL pointers (PR 103083) 2022-03-31 17:24:22 +02:00
ipa-pure-const.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-ref.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-ref.h
ipa-reference.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
ipa-reference.h Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
ipa-split.cc [COMMITTED] Improve coment for the newly added code in ipa-split. 2022-01-18 15:45:20 -08:00
ipa-sra.cc Fix up duplicated duplicated words in comments 2022-03-07 15:00:20 +01:00
ipa-utils.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa-utils.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ipa-visibility.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ipa.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ira-build.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ira-color.cc rtl-optimization/105028 - fix compile-time hog in form_threads_from_copies 2022-03-23 15:57:33 +01:00
ira-conflicts.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ira-costs.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
ira-emit.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
ira-int.h rtl-optimization/104686 - speed up conflict iteration 2022-02-28 08:02:49 +01:00
ira-lives.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ira.cc [PR103676] LRA: Calculate and exclude some start hard registers for reload pseudos 2022-01-21 13:37:11 -05:00
ira.h [PR103676] LRA: Calculate and exclude some start hard registers for reload pseudos 2022-01-21 13:37:11 -05:00
is-a.h
iterator-utils.h
json.cc json: fix escaping of '\' 2022-07-27 17:54:19 -04:00
json.h
jump.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
langhooks-def.h c++: Handle __builtin_clear_padding on non-trivially-copyable types [PR102586] 2022-04-07 09:14:07 +02:00
langhooks.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
langhooks.h c++: Handle __builtin_clear_padding on non-trivially-copyable types [PR102586] 2022-04-07 09:14:07 +02:00
lcm.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lcm.h
libfuncs.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
limitx.h
limity.h
lists.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lock-and-run.sh
loop-doloop.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
loop-init.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
loop-invariant.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
loop-iv.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
loop-unroll.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
loop-unroll.h
lower-subreg.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lower-subreg.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
lra-assigns.cc [PR105032] LRA: modify loop condition to find reload insns for hard reg splitting 2022-03-30 13:10:45 -04:00
lra-coalesce.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lra-constraints.cc [PR103074] LRA: Check new conflicts when splitting hard reg live range. 2022-03-10 16:16:49 -05:00
lra-eliminations.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lra-int.h [PR103676] LRA: Calculate and exclude some start hard registers for reload pseudos 2022-01-21 13:37:11 -05:00
lra-lives.cc [PR104971] LRA: check live hard regs to remove a dead insn 2022-03-25 12:30:54 -04:00
lra-remat.cc [PR103676] LRA: Calculate and exclude some start hard registers for reload pseudos 2022-01-21 13:37:11 -05:00
lra-spills.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
lra.cc lra: Fix up debug_p handling in lra_substitute_pseudo [PR104778] 2022-03-14 14:49:09 +01:00
lra.h [PR103676] LRA: Calculate and exclude some start hard registers for reload pseudos 2022-01-21 13:37:11 -05:00
lto-cgraph.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lto-compress.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lto-compress.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
lto-opts.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lto-section-in.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lto-section-names.h
lto-section-out.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lto-streamer-in.cc lto/106540 - fix LTO tree input wrt dwarf2out_register_external_die 2022-08-10 16:29:47 +02:00
lto-streamer-out.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
lto-streamer.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
lto-streamer.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
lto-wrapper.cc lto: Fix option merging [PR106129] 2022-07-27 11:23:45 +02:00
machmode.def arm: Implement MVE predicates as vectors of booleans 2022-02-22 15:55:07 +00:00
machmode.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
main.cc Fix error recovery in toplev::finalize. 2022-02-28 13:58:41 +01:00
match.pd middle-end: don't lower past veclower [PR106063] 2022-07-27 11:23:44 +02:00
mcf.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
mem-stats-traits.h
mem-stats.h
memmodel.h
memory-block.cc
memory-block.h
mkconfig.sh
mode-classes.def
mode-switching.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
modulo-sched.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
multiple_target.cc ipa: Improve error handling for target_clone single value 2022-03-01 10:10:29 +01:00
mux-utils.h
obstack-utils.h
omp-builtins.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
omp-expand.cc openmp: Fix up handling of non-rectangular simd loops with pointer type iterators [PR106449] 2022-07-30 11:34:31 +02:00
omp-expand.h
omp-general.cc Get rid of 'gcc/omp-oacc-neuter-broadcast.cc:oacc_build_component_ref' 2022-02-22 17:53:10 +01:00
omp-general.h Get rid of 'gcc/omp-oacc-neuter-broadcast.cc:oacc_build_component_ref' 2022-02-22 17:53:10 +01:00
omp-low.cc OpenMP: Fix nested use_device_ptr 2022-04-05 08:31:34 -07:00
omp-low.h
omp-oacc-kernels-decompose.cc OpenACC 'kernels' decomposition: resolve wrong-code cases unless manually making certain variables addressable [PR100280, PR104892] 2022-03-12 15:37:27 +01:00
omp-oacc-neuter-broadcast.cc Get rid of 'gcc/omp-oacc-neuter-broadcast.cc:oacc_build_component_ref' 2022-02-22 17:53:10 +01:00
omp-offload.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
omp-offload.h
omp-simd-clone.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
omp-simd-clone.h
opt-functions.awk options: Improve 'LangEnabledBy' option property diagnostics 2022-03-30 08:58:00 +02:00
opt-gather.awk
opt-include.awk
opt-problem.cc selftest: Move C-specific tests to c_family 2022-03-19 14:29:43 -04:00
opt-problem.h
opt-read.awk options: Add EnumSet and Set property support [PR104158] 2022-01-24 11:50:15 +01:00
opt-suggestions.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
opt-suggestions.h
optabs-libfuncs.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
optabs-libfuncs.h
optabs-query.cc vect: fix out-of-bound access in supports_vec_convert_optab_p [PR 104851] 2022-03-09 17:27:23 +08:00
optabs-query.h tree-optimization/104445 - check for vector extraction support 2022-02-09 14:03:31 +01:00
optabs-tree.cc match.pd, optabs: Avoid vectorization of {FLOOR,CEIL,ROUND}_{DIV,MOD}_EXPR [PR102860] 2022-01-19 15:03:45 +01:00
optabs-tree.h
optabs.cc optabs: Don't create pseudos in prepare_cmp_insn when not allowed [PR102478] 2022-01-21 11:16:50 +01:00
optabs.def rtl: builtins: (not just) rs6000: Add builtins for fegetround, feclearexcept and feraiseexcept [PR94193] 2022-01-24 17:00:11 +00:00
optabs.h ifcvt/optabs: Allow using a CC comparison for emit_conditional_move. 2022-01-19 18:36:04 +01:00
optc-gen.awk options: Fix "Multiple different help strings" error diagnostic 2022-03-31 20:29:35 +02:00
optc-save-gen.awk Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
opth-gen.awk
optinfo-emit-json.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
optinfo-emit-json.h
optinfo.cc
optinfo.h
opts-common.cc options: Add EnumBitSet property support [PR104158] 2022-01-24 11:53:08 +01:00
opts-diagnostic.h
opts-global.cc ootstrap: Fix bootstrap with --disable-plugin [PR104176] 2022-01-22 19:04:41 +01:00
opts.cc bootstrap/105551 - restore nvptx build 2022-06-29 11:37:19 +02:00
opts.h options: Add EnumBitSet property support [PR104158] 2022-01-24 11:53:08 +01:00
ordered-hash-map-tests.cc
ordered-hash-map.h
output.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
params.opt Allow (void *) 0xdeadbeef accesses without warnings [PR99578] 2022-03-18 19:02:19 +01:00
pass_manager.h [PATCH] gcc: pass-manager: Fix memory leak. [PR jit/63854] 2022-03-19 13:43:02 -04:00
passes.cc [PATCH] gcc: pass-manager: Fix memory leak. [PR jit/63854] 2022-03-19 13:43:02 -04:00
passes.def c/105151 - move early walloca pass 2022-04-05 09:54:46 +02:00
plugin.cc translation: small fixes 2022-03-07 11:03:58 +01:00
plugin.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
plugin.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
pointer-query.cc PR middle-end/105604 - ICE: in tree_to_shwi with vla in struct and sprintf 2022-06-02 10:13:10 +02:00
pointer-query.h Use auto_vec for pointer_query cache for auto cleanup. 2022-02-03 19:47:04 -07:00
poly-int-types.h
poly-int.h
postreload-gcse.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
postreload.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
predict.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
predict.def
predict.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
prefix.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
prefix.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
pretty-print.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
pretty-print.h
print-rtl-function.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
print-rtl.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
print-rtl.h
print-tree.cc print-tree:Avoid warnings of overflow 2022-03-22 13:39:40 +08:00
print-tree.h
profile-count.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
profile-count.h
profile.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
profile.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
range-op.cc Spelling fix - cannott -> cannot [PR104899] 2022-03-14 10:40:47 +01:00
range-op.h
range.cc
range.h
read-md.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
read-md.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
read-rtl-function.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
read-rtl-function.h
read-rtl.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
real.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
real.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
realmpfr.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
realmpfr.h
recog.cc ecog: Return 1 from insn_invalid_p if REG_INC reg overlaps some stored reg [PR103775] 2022-03-26 16:21:36 +01:00
recog.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ree.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
reg-notes.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
reg-stack.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
regcprop.cc Don't propagate for a more expensive reg-reg move. 2022-02-08 12:39:31 +08:00
regcprop.h
reginfo.cc libgccjit: Add support for register variables [PR104072] 2022-04-12 17:20:30 -04:00
regrename.cc regrename: Fix -fcompare-debug issue in check_new_reg_p [PR105041] 2022-07-14 08:52:58 -05:00
regrename.h
regs.h try multi-reg dest in default_zero_call_used_regs 2022-04-05 01:28:20 -03:00
regset.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
regstat.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
reload.cc reload: Adjust comment in find_reloads about subset, not intersection 2022-03-26 05:31:22 +01:00
reload.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
reload1.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
reorg.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
resource.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
resource.h
rtl-error.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
rtl-error.h
rtl-iter.h
rtl-ssa.h
rtl-tests.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
rtl.cc rtl: ICE with thread_local and inline asm [PR104777] 2022-03-08 14:00:32 -05:00
rtl.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
rtl.h libgccjit: Add support for register variables [PR104072] 2022-04-12 17:20:30 -04:00
rtlanal.cc rtlanal: Fix up replace_rtx [PR105333] 2022-04-22 13:38:11 +02:00
rtlanal.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
rtlhash.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
rtlhash.h
rtlhooks-def.h
rtlhooks.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
rtx-vector-builder.cc arm: Implement MVE predicates as vectors of booleans 2022-02-22 15:55:07 +00:00
rtx-vector-builder.h
run-rtl-passes.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
run-rtl-passes.h
sancov.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
sanitizer.def Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sanopt.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
sbitmap.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
sbitmap.h
sched-deps.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sched-ebb.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sched-int.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sched-rgn.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sel-sched-dump.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sel-sched-dump.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sel-sched-ir.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sel-sched-ir.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sel-sched.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sel-sched.h
selftest-diagnostic.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
selftest-diagnostic.h
selftest-rtl.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
selftest-rtl.h
selftest-run-tests.cc selftest: Move C-specific tests to c_family 2022-03-19 14:29:43 -04:00
selftest.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
selftest.h selftest: Move C-specific tests to c_family 2022-03-19 14:29:43 -04:00
sese.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
sese.h
shortest-paths.h
shrink-wrap.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
shrink-wrap.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
signop.h
simplify-rtx.cc simplify-rtx: Don't assume shift count has the same mode as the shift [PR105247] 2022-04-14 13:47:34 +02:00
sort.cc
sparseset.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
sparseset.h
spellcheck-tree.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
spellcheck-tree.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
spellcheck.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
spellcheck.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
splay-tree-utils.cc
splay-tree-utils.h
splay-tree-utils.tcc
sreal.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
sreal.h
ssa-iterators.h
ssa.h
stab.def
stack-ptr-mod.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
statistics.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
statistics.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
stmt.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
stmt.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
stor-layout.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
stor-layout.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
store-motion.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
streamer-hooks.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
streamer-hooks.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
stringpool.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
stringpool.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
substring-locations.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
substring-locations.h
symbol-summary.h
symtab-clones.cc
symtab-clones.h
symtab-thunks.cc
symtab-thunks.h
symtab.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
sync-builtins.def
system.h jit: avoid calloc() poisoning on musl [PR106102] 2022-07-02 16:21:24 +01:00
target-def.h
target-globals.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
target-globals.h
target-hooks-macros.h
target-insns.def
target.def Add an assertion: the zeroed_hardregs set is a subset of all call used regs. 2022-04-01 16:09:43 +00:00
target.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
targhooks.cc target/89125 - BSD and math functions 2022-04-25 09:25:33 +02:00
targhooks.h target/89125 - BSD and math functions 2022-04-25 09:25:33 +02:00
timevar.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
timevar.def Avoid recomputing PHI results after failure (PR104203). 2022-01-25 14:22:49 -07:00
timevar.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
toplev.cc middle-end/105537 - debug processing 2022-05-19 13:58:31 +02:00
toplev.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tracer.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tracer.h
trans-mem.cc ipa/104303 - miscompilation of gnatmake 2022-04-07 15:03:36 +02:00
trans-mem.h
tree-affine.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-affine.h
tree-call-cdce.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-cfg.cc middle-end/104402 - split out _Complex compares from COND_EXPRs 2022-02-07 09:37:59 +01:00
tree-cfg.h widening_mul, i386: Improve spaceship expansion on x86 [PR103973] 2022-01-17 13:39:05 +01:00
tree-cfgcleanup.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-cfgcleanup.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-chrec.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-chrec.h
tree-complex.cc middle-end/105165 - sorry instead of ICE for _Complex asm goto 2022-04-07 08:17:05 +02:00
tree-core.h Add 'gcc/tree.cc:user_omp_clause_code_name' [PR65095] 2022-03-12 11:05:29 +01:00
tree-data-ref.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-data-ref.h vect: Simplify and extend the complex numbers validation routines. 2022-02-02 10:39:03 +00:00
tree-dfa.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-dfa.h
tree-diagnostic-path.cc
tree-diagnostic.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-diagnostic.h
tree-dump.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-dump.h
tree-eh.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-eh.h
tree-emutls.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-hash-traits.h
tree-hasher.h
tree-if-conv.cc tree-optimization/105012 - fix ICE from local DSE of if-conversion 2022-03-22 14:05:18 +01:00
tree-if-conv.h
tree-inline.cc Add CLOBBER_EOL to mark storage end-of-life clobbers 2022-02-04 08:16:50 +01:00
tree-inline.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-into-ssa.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-into-ssa.h
tree-iterator.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-iterator.h
tree-loop-distribution.cc tree-optimization/105786 - avoid strlen replacement for pointers 2022-06-02 10:14:04 +02:00
tree-nested.cc C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
tree-nested.h
tree-nrv.cc debug/104337 - avoid messing with the abstract origin chain in NRV 2022-02-03 16:02:12 +01:00
tree-object-size.cc tree-object-size: Don't let error_mark_node escape for ADDR_EXPR [PR105736] 2022-06-23 11:21:29 +05:30
tree-object-size.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-outof-ssa.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-outof-ssa.h
tree-parloops.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-parloops.h
tree-pass.h tree-optimization/103990 - fix CFG cleanup regression from PRE change 2022-01-12 16:18:20 +01:00
tree-phinodes.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-phinodes.h
tree-predcom.cc tree-optimization/105198 - wrong code with predictive commoning 2022-04-08 14:18:31 +02:00
tree-pretty-print.cc C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
tree-pretty-print.h
tree-profile.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-scalar-evolution.cc scev: Fix a comment typo 2022-04-13 09:47:45 +02:00
tree-scalar-evolution.h
tree-sra.cc tree-sra: Fix union handling in build_reconstructed_reference 2022-07-11 18:44:17 +02:00
tree-sra.h
tree-ssa-address.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-address.h
tree-ssa-alias-compare.h
tree-ssa-alias.cc tree-optimization/105971 - less surprising refs_may_alias_p_2 2022-07-19 11:26:07 +02:00
tree-ssa-alias.h ipa/104303 - miscompilation of gnatmake 2022-04-07 15:03:36 +02:00
tree-ssa-ccp.cc expand: Fix up IFN_ATOMIC_{BIT*,*CMP_0} expansion [PR105951] 2022-06-19 12:08:35 +02:00
tree-ssa-ccp.h
tree-ssa-coalesce.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-coalesce.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-copy.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-dce.cc Fix tree-opt/PR106087: ICE with inline-asm with multiple output and assigned only static vars 2022-07-27 11:23:44 +02:00
tree-ssa-dce.h
tree-ssa-dom.cc tree-optimization/102943 - avoid (re-)computing dominance bitmap 2022-03-10 13:40:25 +01:00
tree-ssa-dom.h
tree-ssa-dse.cc ipa/104303 - miscompilation of gnatmake 2022-04-07 15:03:36 +02:00
tree-ssa-dse.h
tree-ssa-forwprop.cc tree-optimization/104511 - avoid FP to DFP conversion for VEC_PACK_TRUNC 2022-02-14 11:26:06 +01:00
tree-ssa-ifcombine.cc tree-optimization/105142 - wrong code with maybe_fold_{and,or}_comparisons 2022-04-06 08:14:32 +02:00
tree-ssa-live.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-live.h
tree-ssa-loop-ch.cc Assert that backedges are available in path solver. 2022-02-03 14:06:45 +01:00
tree-ssa-loop-im.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-loop-ivcanon.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-loop-ivopts.cc [PR105665] ivopts: check defs of names in base for undefs 2022-07-27 11:23:44 +02:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-loop-manip.h
tree-ssa-loop-niter.cc Dump when estimating the number of iterations of a loop 2022-03-21 09:41:45 +01:00
tree-ssa-loop-niter.h
tree-ssa-loop-prefetch.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-loop-split.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-loop-unswitch.cc tree-optimization/104156 - fix unswitching compare-debug issue 2022-01-21 12:18:59 +01:00
tree-ssa-loop.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-loop.h
tree-ssa-math-opts.cc tree-optimization/105431 - another overflow in powi handling 2022-05-19 13:56:48 +02:00
tree-ssa-math-opts.h
tree-ssa-operands.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-operands.h
tree-ssa-phiopt.cc phiopt: Fix up debug handling in the (x != cst1 ? x : cst2) != cst3 opt [PR105218] 2022-04-11 19:06:59 +02:00
tree-ssa-phiprop.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-pre.cc Simplify PRE fix 2022-02-28 12:23:22 +01:00
tree-ssa-propagate.cc Fix up duplicated duplicated words in comments 2022-03-07 15:00:20 +01:00
tree-ssa-propagate.h
tree-ssa-reassoc.cc reassoc: Don't call fold_convert if !fold_convertible_p [PR105374] 2022-04-26 09:57:34 +02:00
tree-ssa-reassoc.h
tree-ssa-sccvn.cc tree-optimization/106131 - wrong code with FRE rewriting 2022-07-19 11:27:08 +02:00
tree-ssa-sccvn.h tree-optimization/105562 - avoid uninit diagnostic with better FRE 2022-05-19 13:59:30 +02:00
tree-ssa-scopedtables.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-scopedtables.h
tree-ssa-sink.cc tree-optimization/105618 - restore load sinking 2022-05-19 14:01:26 +02:00
tree-ssa-strlen.cc gimple.cc: Adjust gimple_call_builtin_p and gimple_call_combined_fn [PR105150] 2022-04-06 10:07:26 +02:00
tree-ssa-strlen.h Constrain conservative string lengths to array sizes [PR104119]. 2022-02-03 13:27:16 -07:00
tree-ssa-structalias.cc ipa/104303 - miscompilation of gnatmake 2022-04-07 15:03:36 +02:00
tree-ssa-tail-merge.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-ter.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-ter.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-threadbackward.cc Assert that backedges are available in path solver. 2022-02-03 14:06:45 +01:00
tree-ssa-threadedge.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-threadedge.h
tree-ssa-threadupdate.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-threadupdate.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-ssa-uncprop.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssa-uninit.cc tree-optimization/105946 - avoid accessing excess args from uninit diag 2022-07-19 11:24:23 +02:00
tree-ssa.cc tree-optimization/105109 - bogus uninit diagnostic with _Complex 2022-03-31 10:35:41 +02:00
tree-ssa.h tree-optimization/104528 - free niter estimates after DSE 2022-02-14 14:31:06 +01:00
tree-ssanames.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-ssanames.h
tree-stdarg.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-stdarg.h
tree-streamer-in.cc Add CLOBBER_EOL to mark storage end-of-life clobbers 2022-02-04 08:16:50 +01:00
tree-streamer-out.cc Add CLOBBER_EOL to mark storage end-of-life clobbers 2022-02-04 08:16:50 +01:00
tree-streamer.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-streamer.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
tree-switch-conversion.cc tree-optimization/105070 - annotate bit cluster tests with locations 2022-03-28 11:34:06 +02:00
tree-switch-conversion.h tree-optimization/105070 - annotate bit cluster tests with locations 2022-03-28 11:34:06 +02:00
tree-tailcall.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-vect-data-refs.cc tree-optimization/104064 - UBSAN issue in vect dataref analysis 2022-01-18 10:27:56 +01:00
tree-vect-generic.cc tree-optimization/105394 - vector lowering of compares 2022-05-06 11:13:12 +02:00
tree-vect-loop-manip.cc tree-optimization/104912 - ensure cost model is checked first 2022-04-20 13:28:08 +02:00
tree-vect-loop.cc vect: Move suggested_unroll_factor applying [PR105940] 2022-06-22 20:57:41 -05:00
tree-vect-patterns.cc Restrict the two sources of vect_recog_cond_expr_convert_pattern to be of the same type when convert is extension. 2022-02-17 18:58:22 +08:00
tree-vect-slp-patterns.cc vect: Simplify and extend the complex numbers validation routines. 2022-02-02 10:39:03 +00:00
tree-vect-slp.cc tree-optimization/105437 - BB vect with extern defs of throwing stmts 2022-05-06 11:13:12 +02:00
tree-vect-stmts.cc tree-optimization/103116 - SLP permutes and peeling for gaps 2022-05-20 08:00:28 +02:00
tree-vector-builder.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tree-vector-builder.h
tree-vectorizer.cc tree-optimization/104582 - make SLP node available in vector cost hook 2022-02-22 07:48:38 +01:00
tree-vectorizer.h tree-optimization/104582 - make SLP node available in vector cost hook 2022-02-22 07:48:38 +01:00
tree-vrp.cc Register non-null side effects properly. 2022-02-09 09:09:54 -05:00
tree-vrp.h
tree.cc middle-end/105376 - invalid REAL_CST for DFP constant 2022-05-06 12:29:48 +02:00
tree.def PR middle-end/104140: bootstrap ICE on riscv. 2022-01-21 18:50:22 +00:00
tree.h libgccjit: Add support for bitcasts [PR104071] 2022-04-12 17:17:50 -04:00
treestruct.def
tristate.cc
tristate.h
tsan.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
typed-splay-tree.h
ubsan.cc ubsan: Fix ICE due to -fsanitize=object-size [PR105093] 2022-03-30 10:49:47 +02:00
ubsan.h
valtrack.cc valtrack: Avoid creating raw SUBREGs with VOIDmode argument [PR104557] 2022-02-17 11:14:38 +01:00
valtrack.h
value-pointer-equiv.cc
value-pointer-equiv.h
value-prof.cc gcov-profile: Allow negative counts of indirect calls [PR105282] 2022-04-19 20:06:47 +01:00
value-prof.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
value-query.cc
value-query.h
value-range-equiv.cc
value-range-equiv.h
value-range.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
value-range.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
value-relation.cc Check for equivalence after merging relations. 2022-05-18 10:07:29 -04:00
value-relation.h Fix up duplicated duplicated words in comments 2022-03-07 15:00:20 +01:00
var-tracking.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
varasm.cc varasm: Fix up ICE in narrowing_initializer_constant_valid_p [PR105998] 2022-06-19 12:08:35 +02:00
varasm.h
varpool.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
vec-perm-indices.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
vec-perm-indices.h
vec.cc Update per-file selftest and finalization hooks for .c to .cc renaming 2022-01-19 11:33:53 -05:00
vec.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
vector-builder.h
vmsdbg.h
vmsdbgout.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
vr-values.cc Fix memory leaks 2022-03-24 11:16:10 +01:00
vr-values.h
vtable-verify.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
vtable-verify.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
warning-control.cc warning-control: Comment spelling fix 2022-02-25 11:00:39 +01:00
web.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
wide-int-bitmask.h
wide-int-print.cc
wide-int-print.h
wide-int.cc wide-int: Fix up wi::shifted_mask [PR106144] 2022-07-30 11:34:30 +02:00
wide-int.h
xcoff.h
xcoffout.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
xcoffout.h Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00

README.Portability

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