gcc/gcc
Segher Boessenkool 1aeec6dc1f re PR rtl-optimization/67028 (combine bug. Different assumptions about subreg in different places.)
PR rtl-optimization/67028
	* combine.c (simplify_comparison): Fix comment.  Rearrange code.
	Add test to see if a const_int fits in the new mode.

gcc/testsuite/
	PR rtl-optimization/67028
	* gcc.dg/pr67028.c: New testcase.

From-SVN: r226731
2015-08-08 03:51:27 +02:00
..
ada re PR other/66259 (Combined gcc and binutils build from git-master fails, with gas/as-new not existing) 2015-07-24 12:20:44 -06:00
c re PR c/67088 (Incorrect location of error on invalid type used in bit-field declaration) 2015-08-03 13:55:28 +00:00
c-family Add C++ Concepts TS support. 2015-08-07 01:44:49 -04:00
common [AArch64][8/14] Implement TARGET_OPTION_VALID_ATTRIBUTE_P 2015-08-04 10:14:00 +00:00
config * config/rx/rx.c (rx_mode_dependent_address_p): Remove unneeded asserts. 2015-08-07 21:09:20 -04:00
cp ville 2015-08-07 04:41:33 -04:00
doc Add C++ Concepts TS support. 2015-08-07 01:44:49 -04:00
fortran re PR fortran/64104 ([F2003][IEEE] Allow IEEE functions in specification expressions) 2015-08-07 15:02:15 +00:00
ginclude
go libgo/testsuite: don't call kill without args 2015-08-07 10:10:00 +00:00
java opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't include input.h. 2015-07-15 19:50:23 +00:00
jit Refactoring of timevar API 2015-08-03 20:14:21 +00:00
lto gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
objc Fix double word typos. 2015-07-13 04:46:34 +00:00
objcp tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
po * sv.po: Update. 2015-07-31 01:49:18 +01:00
testsuite re PR rtl-optimization/67028 (combine bug. Different assumptions about subreg in different places.) 2015-08-08 03:51:27 +02:00
ABOUT-GCC-NLS
BASE-VER * BASE-VER: Set to 6.0.0. 2015-04-12 21:46:43 +02:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog re PR rtl-optimization/67028 (combine bug. Different assumptions about subreg in different places.) 2015-08-08 03:51:27 +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
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2015-08-08 00:16:11 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in Makefile.in (.INTERMEDIATE): Add gpl.pod. 2015-08-07 14:12:41 +02:00
ONEWS
README.Portability
acinclude.m4 re PR other/66259 (Combined gcc and binutils build from git-master fails, with gas/as-new not existing) 2015-07-24 12:20:44 -06:00
aclocal.m4 This patch syncs zlib.m4 with binutils-gdb and uses AM_ZLIB from zlib.m4 2015-07-14 07:25:35 -07:00
addresses.h
alias.c Revert: 2015-07-24 21:28:21 -04:00
alias.h alias.h (alias_set_type): Move typedef. 2015-06-25 16:27:12 +00:00
alloc-pool.c Fix BITMAP identifier clash. 2015-06-10 07:57:34 +00:00
alloc-pool.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
asan.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
asan.h asan.c (set_sanitized_sections): New function. 2015-04-17 07:51:02 +00:00
attribs.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
attribs.h
auto-inc-dec.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
auto-profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
auto-profile.h
backend.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
basic-block.h re PR middle-end/66353 (Missing bb_has_abnormal_call_pred in basic-block.h) 2015-07-11 10:03:38 +00:00
bb-reorder.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
bb-reorder.h
bitmap.c Fallout for new memory statistics infrastructure. 2015-06-16 13:24:54 +00:00
bitmap.h Fix double word typos. 2015-07-13 04:46:34 +00:00
bt-load.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
builtin-attrs.def
builtin-types.def [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-02-24 18:00:36 +01:00
builtins.c c.opt (-Wframe-address): New warning option. 2015-08-02 17:14:18 -06:00
builtins.def Test for flag_parallelize_loops > 1 2015-06-22 16:26:08 +00:00
builtins.h insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
caller-save.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
calls.c re PR rtl-optimization/66891 (ICE in expand_call, at calls.c:3407) 2015-07-17 08:32:58 +02:00
calls.h function.h (struct incoming_args): Move struct. 2015-06-25 16:51:35 +00:00
ccmp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ccmp.h
cfg-flags.def
cfg.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
cfg.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cfganal.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfganal.h
cfgbuild.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfgbuild.h
cfgcleanup.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfgcleanup.h
cfgexpand.c re PR middle-end/64744 (ARM: gcc internal compiler error: in store_field, at expr.c:6659) 2015-08-03 13:34:31 -06:00
cfgexpand.h Revert: 2015-07-24 21:28:21 -04:00
cfghooks.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfghooks.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfgloop.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfgloop.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cfgloopanal.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
cfgloopmanip.c Fix double word typos. 2015-07-13 04:46:34 +00:00
cfgloopmanip.h
cfgrtl.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
cfgrtl.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
cgraph.c Fix double word typos. 2015-07-13 04:46:34 +00:00
cgraph.h Fix double word typos. 2015-07-13 04:46:34 +00:00
cgraphbuild.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cgraphclones.c Fix double word typos. 2015-07-13 04:46:34 +00:00
cgraphunit.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
chkp-builtins.def
cif-code.def * cif-code.def (CILK_SPAWN): New code. 2015-03-26 21:10:28 +00:00
cilk-builtins.def
cilk-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cilk.h
cilkplus.def
collect-utils.c collect-utils.c (collect_wait): Unlink the response file here instead of... 2015-06-23 20:48:07 +00:00
collect-utils.h
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
combine-stack-adj.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
combine.c re PR rtl-optimization/67028 (combine bug. Different assumptions about subreg in different places.) 2015-08-08 03:51:27 +02:00
common.md
common.opt re PR c/16351 (NULL dereference warnings) 2015-08-05 17:36:29 +00:00
compare-elim.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
conditions.h Re: [PATCH 02/12] remove some ifdef HAVE_cc0. 2015-04-23 10:34:58 +00:00
config.build
config.gcc [AArch64][10/14] Implement target pragmas 2015-08-04 10:35:16 +00:00
config.host S390: Clean up cross-compile for S390. 2015-07-25 18:34:15 +00:00
config.in remove tree-browser 2015-07-25 09:29:11 +00:00
configure Makefile.def (libiconv): Define bootstrap=true. 2015-08-07 01:13:52 -04:00
configure.ac Makefile.def (libiconv): Define bootstrap=true. 2015-08-07 01:13:52 -04:00
context.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
context.h
convert.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
convert.h
coretypes.h coretypes.h (enum symbol_visibility): Relocate here. 2015-08-05 23:18:09 +00:00
coverage.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
coverage.h
cppbuiltin.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
cse.c cse.c (cse_insn): Restoring old behaviour for src_eqv when dest and value in the REG_EQUAL are... 2015-08-05 01:08:49 +00:00
cselib.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
cselib.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
cstamp-h.in
data-streamer-in.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
data-streamer-out.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
data-streamer.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
data-streamer.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
dbgcnt.c
dbgcnt.def dbgcnt: enhance behavior. 2015-05-18 09:03:28 +00:00
dbgcnt.h
dbxout.c Fix double word typos. 2015-07-13 04:46:34 +00:00
dbxout.h
dce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
dce.h
ddg.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ddg.h
debug.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
debug.h Restore DW_AT_abstract_origin for cross-unit call sites 2015-06-11 12:40:10 +00:00
defaults.h always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
df-core.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
df-problems.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
df-scan.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
df.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
dfp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dfp.h
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
diagnostic.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
diagnostic.def
diagnostic.h re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
dojump.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
dojump.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
dominance.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
dominance.h
domwalk.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
domwalk.h
double-int.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
double-int.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
dse.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
dumpfile.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dumpfile.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
dwarf2asm.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dwarf2asm.h
dwarf2cfi.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dwarf2out.c re PR lto/66468 (ICE in in check_die, at dwarf2out.c:5719) 2015-07-27 12:57:15 -04:00
dwarf2out.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
emit-rtl.c Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03:00
emit-rtl.h function.h (struct incoming_args): Move struct. 2015-06-25 16:51:35 +00:00
errors.c
errors.h
et-forest.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
et-forest.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
except.c target-insns.def (eh_return): New targetm instruction pattern. 2015-07-28 19:54:06 +00:00
except.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
exec-tool.in
explow.c Revert: 2015-07-24 21:28:21 -04:00
explow.h Revert: 2015-07-24 21:28:21 -04:00
expmed.c arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
expmed.h
expr.c re PR middle-end/64744 (ARM: gcc internal compiler error: in store_field, at expr.c:6659) 2015-08-03 13:34:31 -06:00
expr.h expr.h (gen_move_insn_uncast): Delete. 2015-07-05 07:55:03 +00:00
fibonacci_heap.h Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
file-find.c
file-find.h
final.c Fix double word typos. 2015-07-13 04:46:34 +00:00
fixed-value.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
fixed-value.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
flag-types.h coretypes.h (enum symbol_visibility): Relocate here. 2015-08-05 23:18:09 +00:00
flags.h flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
fold-const.c fold-const.c (fold_binary_loc): Remove X ^ C1 == C2 -> X == (C1 ^ C2) which is already implemented in match.pd. 2015-07-31 10:36:56 +00:00
fold-const.h
fp-test.c
function.c re PR middle-end/64744 (ARM: gcc internal compiler error: in store_field, at expr.c:6659) 2015-08-03 13:34:31 -06:00
function.h Wunused-parameter warnings are given from cgraph::finalize_function, 2015-06-29 16:25:26 +00:00
fwprop.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
gcc-ar.c
gcc-main.c
gcc-plugin.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gcc-symtab.h
gcc.c Ignore -ftree-parallelize-loops={0,1} using gt 2015-07-14 08:25:57 +00:00
gcc.h
gcov-counter.def
gcov-dump.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
gcov-io.c re PR gcov-profile/64123 (Instrumented Firefox segfaults on start) 2015-02-04 23:26:40 +00:00
gcov-io.h
gcov-iov.c
gcov-tool.c gcov-tool.c (do_merge): Refactore to remove int ret. 2015-05-07 19:57:11 +02:00
gcov.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
gcse-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gcse-common.h re PR rtl-optimization/64317 (Ineffective allocation of PIC base register) 2015-03-22 23:21:04 -06:00
gcse.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
gcse.h
gdbasan.in
gdbhooks.py re PR other/65366 (gdbhooks.py is incompatible with Python3) 2015-06-08 13:35:51 +00:00
gdbinit.in * gdbinit.in (pcfun): Define and document. 2015-03-10 12:32:09 +00:00
gen-pass-instances.awk
genattr-common.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genattr.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genattrtab.c gensupport.h (get_num_insn_codes): Declare. 2015-08-05 15:44:23 +00:00
genautomata.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
gencheck.c
genchecksum.c
gencodes.c gensupport.h (get_num_insn_codes): Declare. 2015-08-05 15:44:23 +00:00
genconditions.c gensupport.h (get_c_test): Declare. 2015-08-05 15:46:02 +00:00
genconfig.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genconstants.c
genemit.c genemit.c (print_code, [...]): Remove declarations. 2015-07-20 15:57:19 +00:00
genenums.c
generic-match-head.c generic-match-head.c: Include cgraph.h. 2015-07-23 14:31:44 +00:00
generic-match.h
genextract.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genflags.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
gengenrtl.c rtl.h (PUT_MODE_RAW): New macro. 2015-05-19 07:10:30 +00:00
gengtype-lex.l
gengtype-parse.c gengtype-parse.c (require_template_declaration): Allow '+' in template parameters. 2015-06-25 17:16:44 +00:00
gengtype-state.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
gengtype.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gengtype.h
genhooks.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
genmatch.c genmatch.c (dt_node::gen_kids_1): Use gassign and gcall in generated code. 2015-08-04 13:55:26 +00:00
genmddeps.c
genmddump.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genmodes.c arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
genmultilib
genopinit.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genoutput.c gensupport.c (sequence_num): Replace with... 2015-08-05 15:47:31 +00:00
genpeep.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genpreds.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genrecog.c gensupport.h (get_c_test): Declare. 2015-08-05 15:46:02 +00:00
gensupport.c gensupport.c (sequence_num): Replace with... 2015-08-05 15:47:31 +00:00
gensupport.h gensupport.h (get_c_test): Declare. 2015-08-05 15:46:02 +00:00
gentarget-def.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
ggc-common.c hash-traits.h (free_ptr_hash): New class. 2015-06-25 17:06:24 +00:00
ggc-internal.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
ggc-none.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
ggc-page.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ggc.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
gimple-builder.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-builder.h
gimple-expr.c Revert: 2015-07-24 21:28:21 -04:00
gimple-expr.h Revert: 2015-07-24 21:28:21 -04:00
gimple-fold.c gimple-fold.c (gimple_fold_stmt_to_constant_1): Simplify bool comparison canonicalization and restrict to integers. 2015-08-06 08:45:52 +00:00
gimple-fold.h gimple-fold.h (gimple_build): Remove optional valueize arguments. 2015-04-20 13:23:59 +00:00
gimple-iterator.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-iterator.h Fix gimple_seq_nondebug_singleton_p 2015-06-09 05:52:52 +00:00
gimple-laddress.c re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
gimple-low.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-low.h
gimple-match-head.c gimple-match-head.c (gimple_simplify): For [VEC_]COND_EXPRs on the rhs of assignments first simplify the embedded... 2015-08-03 07:27:40 +00:00
gimple-match.h re PR tree-optimization/65650 (CCP does not propgate copies) 2015-04-21 12:52:43 +00:00
gimple-predict.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-pretty-print.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-pretty-print.h gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
gimple-ssa-isolate-paths.c re PR c/16351 (NULL dereference warnings) 2015-08-05 17:36:29 +00:00
gimple-ssa-strength-reduction.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-ssa.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-streamer-in.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
gimple-streamer-out.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
gimple-streamer.h gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
gimple-walk.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-walk.h
gimple.c re PR c/16351 (NULL dereference warnings) 2015-08-05 17:36:29 +00:00
gimple.def
gimple.h gimple.h (gimple_call_set_fn): Access op member directly. 2015-08-06 08:51:59 +00:00
gimplify-me.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimplify-me.h
gimplify.c gimplify.c (omp_default_clause): New function. 2015-07-24 16:13:04 +00:00
gimplify.h Gimplify va_arg ap based on do_deref 2015-05-13 09:06:18 +00:00
glimits.h
godump.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
graph.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graph.h
graphds.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
graphds.h
graphite-blocking.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-dependences.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-interchange.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-isl-ast-to-gimple.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-isl-ast-to-gimple.h
graphite-optimize-isl.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-poly.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-poly.h configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
graphite-scop-detection.c dump reasons why graphite failed to detect a scop 2015-07-25 09:22:29 +00:00
graphite-scop-detection.h [graphite] fix pr61929 2015-07-17 16:34:21 +00:00
graphite-sese-to-poly.c Allow non-overflow ops in reductions 2015-08-01 08:29:29 +00:00
graphite-sese-to-poly.h
graphite.c configure.ac: Add check for new options in isl-0.15. 2015-07-21 12:33:35 -06:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
hard-reg-set.h hash-table.h: Update comments. 2015-06-25 17:06:13 +00:00
hash-map-traits.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
hash-map.h hash-map.h (hash_map::traverse): Use the definition of the Key typedef rather than the typedef itself. 2015-06-26 16:50:19 +00:00
hash-set.h hash_set: add iterator and remove method. 2015-07-16 14:11:52 +00:00
hash-table.c Fallout for new memory statistics infrastructure. 2015-06-16 13:24:54 +00:00
hash-table.h Fix double word typos. 2015-07-13 04:46:34 +00:00
hash-traits.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
highlev-plugin-common.h
hooks.c target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
hooks.h target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
hw-doloop.h
hwint.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
hwint.h
ifcvt.c [RTL-ifcvt] Improve conditional select ops on immediates 2015-08-03 08:14:42 +00:00
ifcvt.h
inchash.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
inchash.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
incpath.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
incpath.h
init-regs.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
input.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
input.h libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations) 2015-05-13 13:58:18 +00:00
insn-addr.h
insn-notes.def insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
internal-fn.c Fix double word typos. 2015-07-13 04:46:34 +00:00
internal-fn.def Mark ifn_va_arg as ECF_LEAF 2015-04-26 07:13:13 +00:00
internal-fn.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
intl.c
intl.h
ipa-chkp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-chkp.h ipa-chkp.h (chkp_wrap_function): New. 2015-05-15 09:48:13 +00:00
ipa-comdats.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-cp.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
ipa-devirt.c * ipa-devirt.c (types_same_for_odr): Fix typo. 2015-07-27 19:36:40 +00:00
ipa-icf-gimple.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-icf-gimple.h IPA ICF: enhance hash value calculated in TU 2015-03-24 21:51:08 +00:00
ipa-icf.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
ipa-icf.h Fix double word typos. 2015-07-13 04:46:34 +00:00
ipa-inline-analysis.c re PR ipa/66566 ([CHKP] ICE in early_inliner: internal compiler error: in operator[], at vec.h:714) 2015-07-24 13:15:49 +00:00
ipa-inline-transform.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-inline.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-inline.h lto-cgraph.c (lto_output_node, [...]): Stream split_part. 2015-04-01 07:41:17 +00:00
ipa-polymorphic-call.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
ipa-profile.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
ipa-prop.c re PR ipa/66896 (ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context') 2015-07-16 14:48:18 +00:00
ipa-prop.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
ipa-pure-const.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
ipa-ref.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-ref.h re PR lto/64693 (PCH failed with --with-build-config=bootstrap-lto) 2015-02-26 20:21:38 +00:00
ipa-reference.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
ipa-reference.h
ipa-split.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ipa-utils.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ipa-utils.h re PR lto/65378 (Tweak to wording of -Wodr message) 2015-06-08 20:37:53 +00:00
ipa-visibility.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ira-build.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
ira-color.c Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
ira-conflicts.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ira-costs.c re PR rtl-optimization/66626 (gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu) 2015-07-16 15:26:35 +00:00
ira-emit.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
ira-int.h Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
ira-lives.c Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
ira.c Fix double word typos. 2015-07-13 04:46:34 +00:00
ira.h Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
is-a.h
jump.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
langhooks-def.h Merge debug-early branch into mainline. 2015-06-05 18:44:53 +00:00
langhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
langhooks.h Merge debug-early branch into mainline. 2015-06-05 18:44:53 +00:00
lcm.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lcm.h
libfuncs.h hash-traits.h (ggc_hasher): Rename to... 2015-06-25 17:06:36 +00:00
limitx.h
limity.h
lists.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
lock-and-run.sh
loop-doloop.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
loop-init.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
loop-invariant.c re PR debug/67043 (-fcompare-debug failure with -O3) 2015-08-04 02:11:58 +00:00
loop-iv.c Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03:00
loop-unroll.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
loop-unroll.h
lower-subreg.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
lower-subreg.h
lra-assigns.c re PR rtl-optimization/66626 (gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu) 2015-07-16 15:26:35 +00:00
lra-coalesce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
lra-constraints.c re PR rtl-optimization/66626 (gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu) 2015-07-16 15:26:35 +00:00
lra-eliminations.c [obvious] Use std::swap instead of manually swapping in a few more places 2015-07-24 16:46:04 +00:00
lra-int.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
lra-lives.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
lra-remat.c re PR ipa/66424 (wrong code at -O2 and -O3 on x86_64-linux-gnu in 32-bit mode) 2015-07-21 19:54:23 +00:00
lra-spills.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lra.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
lra.h
lto-cgraph.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
lto-compress.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lto-compress.h
lto-opts.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
lto-section-in.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lto-section-names.h
lto-section-out.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
lto-streamer-in.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
lto-streamer-out.c arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
lto-streamer.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
lto-streamer.h lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
lto-wrapper.c re PR target/65527 (ICE: in expand_builtin_with_bounds, at builtins.c:7120 with -fcheck-pointer-bounds -mmpx) 2015-06-01 11:24:07 +00:00
machmode.def
machmode.h arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
main.c Refactoring of timevar API 2015-08-03 20:14:21 +00:00
match.pd re PR middle-end/67120 (wrong code for volatile pointers at -O1 and above on x86_64-linux-gnu) 2015-08-05 12:47:59 +00:00
mcf.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
mem-stats-traits.h Fix BITMAP identifier clash. 2015-06-10 07:57:34 +00:00
mem-stats.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
modulo-sched.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
omp-builtins.def [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-02-24 18:00:36 +01:00
omp-low.c Don't cancel loop tree in parloops 2015-07-31 06:26:44 +00:00
omp-low.h
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c target-insns.def (atomic_test_and_set): New targetm instruction pattern. 2015-07-28 20:03:22 +00:00
optabs.def
optabs.h emit-rtl.c, [...]: Replace rtx base types with more derived ones. 2015-06-06 13:14:45 +00:00
optc-gen.awk
optc-save-gen.awk
opth-gen.awk opth-gen.awk: Check for UNKNOWN_LOCATION rather than GCC_TM_H, don't include input.h. 2015-07-15 19:50:23 +00:00
opts-common.c Honour DriverOnly for enum values in error messages 2015-07-28 05:51:01 +00:00
opts-diagnostic.h
opts-global.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
opts.c Revert: 2015-07-24 21:28:21 -04:00
opts.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
output.h always define HAVE_peephole 2015-05-22 01:04:24 +00:00
params.c
params.def [graphite] reduce the number of params in a scop to 3 2015-07-29 21:28:27 +00:00
params.h Summary: Mark help string in DEFPARAM as no-c-format 2015-05-01 14:07:51 +00:00
pass_manager.h
passes.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
passes.def Revert: 2015-07-24 21:28:21 -04:00
plugin.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
plugin.def plugins.texi (enum plugin_event): New event. 2015-06-03 07:27:11 -06:00
plugin.h gcc-plugin.h: Move decls to plugin.h and include it. 2015-06-09 17:53:24 +00:00
postreload-gcse.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
postreload.c re PR rtl-optimization/66838 (Calling multiple SYSV AMD64 ABI functions from MS x64 ABI one results in clobbered parameters) 2015-07-15 09:28:33 +02:00
predict.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
pretty-print.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
print-rtl.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
print-rtl.h
print-tree.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
print-tree.h
profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
profile.h
read-md.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
read-md.h read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
read-rtl.c remove some usage of expr_list from read_rtx 2015-07-15 14:38:13 +00:00
real.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
real.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
realmpfr.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
realmpfr.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
recog.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
recog.h Promote types of rtl expressions to rtx_insn in gen_split and gen_peephole2 2015-06-06 05:39:16 +00:00
ree.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
reg-notes.def
reg-stack.c Fix double word typos. 2015-07-13 04:46:34 +00:00
regcprop.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
regcprop.h
reginfo.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regrename.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
regrename.h regrename.h (regrename_do_replace): Change to return bool. 2015-06-28 16:46:01 -04:00
regs.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regset.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regstat.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
reload.c always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
reload.h gcov-tool.c (do_merge): Refactore to remove int ret. 2015-05-07 19:57:11 +02:00
reload1.c target-insns.def (reload_load_address): New targetm instruction pattern. 2015-07-28 20:06:57 +00:00
reorg.c Fix double word typos. 2015-07-13 04:46:34 +00:00
resource.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
resource.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
rtl-chkp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
rtl-chkp.h
rtl-error.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
rtl-error.h
rtl-iter.h
rtl.c * rtl.c (rtx_equal_p_cb): Fix typo. 2015-07-13 19:41:01 +00:00
rtl.def rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
rtl.h Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03:00
rtlanal.c arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
rtlhash.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
rtlhash.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
rtlhooks-def.h
rtlhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sanitizer.def
sanopt.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sbitmap.c
sbitmap.h Fix double word typos. 2015-07-13 04:46:34 +00:00
sched-deps.c Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
sched-ebb.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
sched-int.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sched-rgn.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sched-vis.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sdbout.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sdbout.h
sel-sched-dump.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sel-sched-dump.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sel-sched-ir.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
sel-sched-ir.h Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
sel-sched.c Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
sel-sched.h
sese.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
sese.h
shrink-wrap.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
shrink-wrap.h Makefile.in (TARGET_DEF): Add target-insns.def. 2015-06-25 17:18:12 +00:00
signop.h
simplify-rtx.c Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssa-iterators.h ssa-iterators.h (has_zero_uses, [...]): Implement as straight loops. 2015-07-21 19:15:13 +00:00
ssa.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
stab.def
stack-ptr-mod.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
statistics.c cgraph.h (asmname_hasher): Inherit from ggc_ptr_hash. 2015-06-25 17:06:52 +00:00
statistics.h
stmt.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
stmt.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
stor-layout.c arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
stor-layout.h
store-motion.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
streamer-hooks.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
streamer-hooks.h re PR lto/65536 (LTO line number information garbled) 2015-03-27 06:58:59 +00:00
stringpool.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
stringpool.h
symbol-summary.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
symtab.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
sync-builtins.def
system.h Remove TARGET_RELAXED_ORDERING and optimize for weak memory models. 2015-06-04 09:19:51 +00:00
target-def.h Makefile.in (TARGET_DEF): Add target-insns.def. 2015-06-25 17:18:12 +00:00
target-globals.c Add alternative_mask to ira_implicitly_set_insn_hard_regs 2015-08-07 09:18:09 -07:00
target-globals.h
target-hooks-macros.h
target-insns.def target-insns.def (can_extend): Delete. 2015-08-05 14:21:11 +00:00
target.def target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
target.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
targhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
targhooks.h re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to floating-point registers) 2015-05-14 20:40:44 +00:00
timevar.c Refactoring of timevar API 2015-08-03 20:14:21 +00:00
timevar.def Refactoring of timevar API 2015-08-03 20:14:21 +00:00
timevar.h Refactoring of timevar API 2015-08-03 20:14:21 +00:00
tlink.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
toplev.c Refactoring of timevar API 2015-08-03 20:14:21 +00:00
toplev.h Refactoring of timevar API 2015-08-03 20:14:21 +00:00
tracer.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
trans-mem.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
trans-mem.h
tree-affine.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-affine.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
tree-call-cdce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-cfg.c re PR libgomp/66714 (ICE in loc_list_from_tree with -g) 2015-07-24 07:38:43 -07:00
tree-cfg.h gimple-fold.c (fold_gimple_cond): Do not require folding results to pass valid_gimple_rhs_p. 2015-07-23 13:33:43 +00:00
tree-cfgcleanup.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-cfgcleanup.h
tree-chkp-opt.c re PR middle-end/66807 (--enable-libmpx failed) 2015-07-09 07:47:38 +00:00
tree-chkp.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-chkp.h re PR middle-end/66568 ([CHKP] internal compiler error: in expand_expr_addr_expr_1) 2015-06-18 10:14:38 +00:00
tree-chrec.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-chrec.h re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-complex.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-core.h coretypes.h (enum symbol_visibility): Relocate here. 2015-08-05 23:18:09 +00:00
tree-data-ref.c fix pr46851 and pr60340: remove unmaintained omega dependence test 2015-07-18 01:11:05 +00:00
tree-data-ref.h fix pr46851 and pr60340: remove unmaintained omega dependence test 2015-07-18 01:11:05 +00:00
tree-dfa.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-dfa.h
tree-diagnostic.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-diagnostic.h
tree-dump.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-dump.h
tree-eh.c Fix double word typos. 2015-07-13 04:46:34 +00:00
tree-eh.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
tree-emutls.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-hash-traits.h tree-hash-traits.h (tree_hash): New class. 2015-06-25 17:16:15 +00:00
tree-hasher.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
tree-if-conv.c re PR tree-optimization/67121 (wrong code at -O3 on x86_64-linux-gnu) 2015-08-05 14:16:51 +00:00
tree-inline.c gimple-fold.c (fold_gimple_cond): Do not require folding results to pass valid_gimple_rhs_p. 2015-07-23 13:33:43 +00:00
tree-inline.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
tree-into-ssa.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-into-ssa.h
tree-iterator.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-iterator.h
tree-loop-distribution.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-nested.c re PR middle-end/66633 (ICE on valid "verify_gimple failed" with OpenMP) 2015-07-09 23:14:11 +02:00
tree-nested.h
tree-nrv.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-object-size.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-object-size.h
tree-outof-ssa.c Revert: 2015-07-24 21:28:21 -04:00
tree-outof-ssa.h
tree-parloops.c Don't cancel loop tree in parloops 2015-07-31 06:26:44 +00:00
tree-parloops.h Make parallelize_loops static 2015-03-18 18:55:38 +00:00
tree-pass.h tree-pass.h (get_current_pass_name): Removed. 2015-07-23 19:01:03 +00:00
tree-phinodes.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-phinodes.h
tree-predcom.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-pretty-print.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-pretty-print.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
tree-profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-scalar-evolution.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-scalar-evolution.h re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-sra.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
tree-ssa-address.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-address.h
tree-ssa-alias.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-alias.h
tree-ssa-ccp.c re PR tree-optimization/67055 (Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c) 2015-08-05 10:01:12 +00:00
tree-ssa-coalesce.c Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-coalesce.h Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-copy.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-copyrename.c Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-dce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-dom.c tree-ssa-dom.c (dom_valueize): New function. 2015-07-16 07:19:24 +00:00
tree-ssa-dom.h
tree-ssa-dse.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-forwprop.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-ifcombine.c re PR tree-optimization/66952 (wrong code at -O2 and -O3 on x86_64-linux-gnu) 2015-07-22 11:31:50 +00:00
tree-ssa-live.c Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-live.h Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-loop-ch.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-im.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-ivcanon.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-ivopts.c tree-ssa-loop-ivopts.c (add_candidate): Remove call to add_autoinc_candidates. 2015-07-16 05:49:47 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-manip.h Add rewrite_virtuals_into_loop_closed_ssa 2015-07-07 16:25:12 +00:00
tree-ssa-loop-niter.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-loop-niter.h re PR tree-optimization/48052 (loop not vectorized if index is "unsigned int") 2015-06-02 10:19:18 +00:00
tree-ssa-loop-prefetch.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-unswitch.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop.c fix pr46851 and pr60340: remove unmaintained omega dependence test 2015-07-18 01:11:05 +00:00
tree-ssa-loop.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
tree-ssa-math-opts.c re PR tree-optimization/66828 (gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int') 2015-07-28 06:54:50 +00:00
tree-ssa-operands.c ssa-iterators.h (has_zero_uses, [...]): Implement as straight loops. 2015-07-21 19:15:13 +00:00
tree-ssa-operands.h
tree-ssa-phiopt.c fix pr46851 and pr60340: remove unmaintained omega dependence test 2015-07-18 01:11:05 +00:00
tree-ssa-phiprop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-pre.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
tree-ssa-propagate.c re PR middle-end/66945 (ICE in generic_simplify (generic-match.c:24790)) 2015-07-23 07:23:23 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
tree-ssa-sccvn.c generic-match-head.c: Include cgraph.h. 2015-07-23 14:31:44 +00:00
tree-ssa-sccvn.h
tree-ssa-scopedtables.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-scopedtables.h re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-sink.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-strlen.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
tree-ssa-structalias.c Add new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00:00
tree-ssa-tail-merge.c Fix double word typos. 2015-07-13 04:46:34 +00:00
tree-ssa-ter.c Fix double word typos. 2015-07-13 04:46:34 +00:00
tree-ssa-ter.h
tree-ssa-threadedge.c revert: re PR lto/66752 (spec2000 255.vortex performance compiled with GCC is ~20% lower than with CLANG) 2015-07-24 23:45:42 -06:00
tree-ssa-threadedge.h re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-threadupdate.c re PR middle-end/66314 (ice in verify_loop_structure) 2015-08-03 10:26:13 -06:00
tree-ssa-threadupdate.h
tree-ssa-uncprop.c Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-uninit.c Avoid recomputing the defining predicate chains for the same PHI 2015-08-03 14:57:25 +00:00
tree-ssa.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa.h
tree-ssanames.c re PR tree-optimization/66952 (wrong code at -O2 and -O3 on x86_64-linux-gnu) 2015-07-22 11:31:50 +00:00
tree-ssanames.h re PR tree-optimization/66952 (wrong code at -O2 and -O3 on x86_64-linux-gnu) 2015-07-22 11:31:50 +00:00
tree-stdarg.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-stdarg.h
tree-streamer-in.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
tree-streamer-out.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
tree-streamer.c gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
tree-streamer.h gimple-pretty-print.h: Don't include pretty-print.h. 2015-07-15 19:57:03 +00:00
tree-switch-conversion.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-tailcall.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-vect-data-refs.c re PR tree-optimization/67109 (ICE at -O3 on x86_64-linux-gnu in vect_analyze_slp_instance, at tree-vect-slp.c:1793) 2015-08-05 07:48:34 +00:00
tree-vect-generic.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-vect-loop-manip.c PR tree-optimization/66926,66951 2015-07-23 11:13:00 +00:00
tree-vect-loop.c Allow non-overflow ops in reductions 2015-08-01 08:29:29 +00:00
tree-vect-patterns.c Vectorize mult expressions with power 2 constants via shift, for targets has no vector multiplication support. 2015-08-06 12:00:57 +00:00
tree-vect-slp.c fix pr46851 and pr60340: remove unmaintained omega dependence test 2015-07-18 01:11:05 +00:00
tree-vect-stmts.c tree-if-conv.c: Fix various typos in comments. 2015-08-03 21:53:10 -06:00
tree-vectorizer.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-vectorizer.h Vectorize mult expressions with power 2 constants via shift, for targets has no vector multiplication support. 2015-08-06 12:00:57 +00:00
tree-vrp.c re PR c/16351 (NULL dereference warnings) 2015-08-05 17:36:29 +00:00
tree.c Allow non-overflow ops in reductions 2015-08-01 08:29:29 +00:00
tree.def class.c (fixup_type_variants): Do not copy TYPE_METHODS 2015-05-11 22:24:33 +00:00
tree.h Allow non-overflow ops in reductions 2015-08-01 08:29:29 +00:00
treestruct.def
tsan.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.h jit: add switch statements 2015-06-30 20:39:50 +00:00
ubsan.c re PR c/16351 (NULL dereference warnings) 2015-08-05 17:36:29 +00:00
ubsan.h
valtrack.c Fix double word typos. 2015-07-13 04:46:34 +00:00
valtrack.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
value-prof.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
value-prof.h
var-tracking.c Revert: 2015-07-24 21:28:21 -04:00
varasm.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
varasm.h Give proper type and size to named cold partitions. 2015-04-27 09:44:35 -07:00
varpool.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
vec.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
vec.h Fix double word typos. 2015-07-13 04:46:34 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c fix compilation of vmsdbgout.c 2015-07-18 21:09:04 +00:00
vtable-verify.c re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc) 2015-08-01 18:17:39 -07:00
vtable-verify.h re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc) 2015-08-01 18:17:39 -07:00
web.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
wide-int-print.cc coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
wide-int-print.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
wide-int.cc re PR middle-end/66311 (Problems with some integer(16) values) 2015-08-05 14:23:42 +00:00
wide-int.h Fix partial specialization syntax of wide int traits. 2015-07-20 05:30:12 +00:00
xcoff.h
xcoffout.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
xcoffout.h re PR debug/2714 (Stabs truncated on AIX) 2015-02-06 21:34:38 -05:00

README.Portability

Copyright (C) 2000-2015 Free Software Foundation, Inc.

This file is intended to contain a few notes about writing C code
within GCC so that it compiles without error on the full range of
compilers GCC needs to be able to compile on.

The problem is that many ISO-standard constructs are not accepted by
either old or buggy compilers, and we keep getting bitten by them.
This knowledge until now has been sparsely spread around, so I
thought I'd collect it in one useful place.  Please add and correct
any problems as you come across them.

I'm going to start from a base of the ISO C90 standard, since that is
probably what most people code to naturally.  Obviously using
constructs introduced after that is not a good idea.

For the complete coding style conventions used in GCC, please read
http://gcc.gnu.org/codingconventions.html


String literals
---------------

Irix6 "cc -n32" and OSF4 "cc" have problems with constant string
initializers with parens around it, e.g.

const char string[] = ("A string");

This is unfortunate since this is what the GNU gettext macro N_
produces.  You need to find a different way to code it.

Some compilers like MSVC++ have fairly low limits on the maximum
length of a string literal; 509 is the lowest we've come across.  You
may need to break up a long printf statement into many smaller ones.


Empty macro arguments
---------------------

ISO C (6.8.3 in the 1990 standard) specifies the following:

If (before argument substitution) any argument consists of no
preprocessing tokens, the behavior is undefined.

This was relaxed by ISO C99, but some older compilers emit an error,
so code like

#define foo(x, y) x y
foo (bar, )

needs to be coded in some other way.


Avoid unnecessary test before free
----------------------------------

Since SunOS 4 stopped being a reasonable portability target,
(which happened around 2007) there has been no need to guard
against "free (NULL)".  Thus, any guard like the following
constitutes a redundant test:

  if (P)
    free (P);

It is better to avoid the test.[*]
Instead, simply free P, regardless of whether it is NULL.

[*] However, if your profiling exposes a test like this in a
performance-critical loop, say where P is nearly always NULL, and
the cost of calling free on a NULL pointer would be prohibitively
high, consider using __builtin_expect, e.g., like this:

  if (__builtin_expect (ptr != NULL, 0))
    free (ptr);



Trigraphs
---------

You weren't going to use them anyway, but some otherwise ISO C
compliant compilers do not accept trigraphs.


Suffixes on Integer Constants
-----------------------------

You should never use a 'l' suffix on integer constants ('L' is fine),
since it can easily be confused with the number '1'.


			Common Coding Pitfalls
			======================

errno
-----

errno might be declared as a macro.


Implicit int
------------

In C, the 'int' keyword can often be omitted from type declarations.
For instance, you can write

  unsigned variable;

as shorthand for

  unsigned int variable;

There are several places where this can cause trouble.  First, suppose
'variable' is a long; then you might think

  (unsigned) variable

would convert it to unsigned long.  It does not.  It converts to
unsigned int.  This mostly causes problems on 64-bit platforms, where
long and int are not the same size.

Second, if you write a function definition with no return type at
all:

  operate (int a, int b)
  {
    ...
  }

that function is expected to return int, *not* void.  GCC will warn
about this.

Implicit function declarations always have return type int.  So if you
correct the above definition to

  void
  operate (int a, int b)
  ...

but operate() is called above its definition, you will get an error
about a "type mismatch with previous implicit declaration".  The cure
is to prototype all functions at the top of the file, or in an
appropriate header.

Char vs unsigned char vs int
----------------------------

In C, unqualified 'char' may be either signed or unsigned; it is the
implementation's choice.  When you are processing 7-bit ASCII, it does
not matter.  But when your program must handle arbitrary binary data,
or fully 8-bit character sets, you have a problem.  The most obvious
issue is if you have a look-up table indexed by characters.

For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A
WITH ACUTE ACCENT.  In the proper locale, isalpha('\341') will be
true.  But if you read '\341' from a file and store it in a plain
char, isalpha(c) may look up character 225, or it may look up
character -31.  And the ctype table has no entry at offset -31, so
your program will crash.  (If you're lucky.)

It is wise to use unsigned char everywhere you possibly can.  This
avoids all these problems.  Unfortunately, the routines in <string.h>
take plain char arguments, so you have to remember to cast them back
and forth - or avoid the use of strxxx() functions, which is probably
a good idea anyway.

Another common mistake is to use either char or unsigned char to
receive the result of getc() or related stdio functions.  They may
return EOF, which is outside the range of values representable by
char.  If you use char, some legal character value may be confused
with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1).
The correct choice is int.

A more subtle version of the same mistake might look like this:

  unsigned char pushback[NPUSHBACK];
  int pbidx;
  #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c))
  #define get(c) (pbidx ? pushback[--pbidx] : getchar())
  ...
  unget(EOF);

which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y
WITH UMLAUT.


Other common pitfalls
---------------------

o Expecting 'plain' char to be either sign or unsigned extending.

o Shifting an item by a negative amount or by greater than or equal to
  the number of bits in a type (expecting shifts by 32 to be sensible
  has caused quite a number of bugs at least in the early days).

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

o Host vs. target floating point representation, including emitting NaNs
  and Infinities in a form that the assembler handles.

o qsort being an unstable sort function (unstable in the sense that
  multiple items that sort the same may be sorted in different orders
  by different qsort functions).

o Passing incorrect types to fprintf and friends.

o Adding a function declaration for a module declared in another file to
  a .c file instead of to a .h file.