8sa1-gcc/gcc
Richard Sandiford 4e48e02be8 Split constant handling out of fold_builtin_fma
Just makes an upcoming patch a bit clearer.

Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.

gcc/
	* builtins.c (fold_builtin_fma): Remove constant handling.
	(fold_builtin_3): Handle constant fma arguments here.

From-SVN: r229428
2015-10-27 11:55:38 +00:00
..
ada namet.adb, namet.ads: Minor reformatting. 2015-10-27 12:54:29 +01:00
c [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
c-family [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
common Properly handle -miamcu and -march=lakemont 2015-10-20 08:12:37 -07:00
config [AArch64] Enable autoprefetcher modelling in the scheduler 2015-10-27 10:57:32 +00:00
cp [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
doc target.def (TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P): New hook. 2015-10-26 16:29:31 +00:00
fortran [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
ginclude
go Improve --help output to generate references to option aliases. 2015-10-21 16:24:41 -06:00
java function.h (MINIMUM_METHOD_BOUNDARY): New macro. 2015-10-26 10:50:37 +01:00
jit builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
lto Improve --help output to generate references to option aliases. 2015-10-21 16:24:41 -06:00
objc remove more useless typedefs 2015-08-19 02:48:48 +00:00
objcp
po * tr.po: Update. 2015-09-25 18:05:49 +01:00
testsuite Move signbit folds to match.pd 2015-10-27 11:52:54 +00:00
ABOUT-GCC-NLS
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
addresses.h
alias.c re PR rtl-optimization/67443 (DSE removes required store instruction) 2015-10-26 15:24:45 +00:00
alias.h
alloc-pool.c
alloc-pool.h alloc-pool.h (base_pool_allocator): Use placement new. 2015-10-26 09:48:32 +00:00
asan.c libsanitizer merge from upstream r250806, compiler part. 2015-10-21 10:40:54 +03:00
asan.h
attribs.c
attribs.h
auto-inc-dec.c [auto-inc-dec.c] Account for cost of move operation in FORM_PRE_ADD and FORM_POST_ADD cases 2015-10-26 11:51:47 +00:00
auto-profile.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
auto-profile.h
backend.h
BASE-VER
basic-block.h
bb-reorder.c bb-reorder: Improve the simple algorithm for -Os (PR67864) 2015-10-11 11:03:09 +02:00
bb-reorder.h
bitmap.c
bitmap.h
bt-load.c bt-load.c: remove typedefs that hide pointerness 2015-09-13 16:54:15 +00:00
builtin-attrs.def
builtin-types.def builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
builtins.c Split constant handling out of fold_builtin_fma 2015-10-27 11:55:38 +00:00
builtins.def Implement N4514, C++ Extensions for Transactional Memory. 2015-10-04 15:17:19 -04:00
builtins.h
caller-save.c
calls.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
calls.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ccmp.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ccmp.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
cfg-flags.def
cfg.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
cfg.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
cfganal.c Check no unreachable blocks in inverted_post_order_compute 2015-10-13 22:10:45 +00:00
cfganal.h Check no unreachable blocks in inverted_post_order_compute 2015-10-13 22:10:45 +00:00
cfgbuild.c
cfgbuild.h
cfgcleanup.c
cfgcleanup.h
cfgexpand.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
cfgexpand.h revert to assign_parms assignments using default defs 2015-09-27 09:02:00 +00:00
cfghooks.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
cfghooks.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
cfgloop.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
cfgloop.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
cfgloopanal.c
cfgloopmanip.c
cfgloopmanip.h
cfgrtl.c unconditionally compile most of the delay slot code 2015-10-21 21:05:02 +00:00
cfgrtl.h
cgraph.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
cgraph.h builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
cgraphbuild.c Skip local error_mark_node decls 2015-10-20 08:20:29 -07:00
cgraphclones.c Correctly fill up cgraph_node::local.versionable flag. 2015-10-20 11:59:51 +00:00
cgraphunit.c Fix PR68002, add -fkeep-static-functions 2015-10-19 10:24:37 +00:00
ChangeLog Split constant handling out of fold_builtin_fma 2015-10-27 11:55:38 +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 Fix old ChangeLog entry to include global variable name that was changed. 2015-09-25 16:55:10 +00:00
ChangeLog-2014
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
chkp-builtins.def
cif-code.def
cilk-builtins.def
cilk-common.c Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
cilk.h
cilkplus.def
collect2-aix.c
collect2-aix.h
collect2.c config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts. 2015-09-18 10:10:36 -04:00
collect2.h
collect-utils.c
collect-utils.h
combine-stack-adj.c
combine.c re PR rtl-optimization/67736 (Wrong optimization with -fexpensive-optimizations on mips64el) 2015-10-23 15:56:15 +00:00
common.md
common.opt Improve --help output to generate references to option aliases. 2015-10-21 16:24:41 -06:00
compare-elim.c remove many typedefs 2015-10-01 15:12:31 +00:00
conditions.h
config.build * config.build: Remove case for m68000-hp-hpux* | m68k-hp-hpux*. 2015-08-21 17:44:47 +00:00
config.gcc config.gcc (powerpc-ibm-aix[6789]): Define as yes. 2015-10-23 18:56:08 -04:00
config.host configure.ac: Remove uwin* cases. 2015-08-21 17:38:01 +00:00
config.in [PATCH 1/9] ENABLE_CHECKING refactoring 2015-10-21 15:16:31 -06:00
configure [PATCH 1/9] ENABLE_CHECKING refactoring 2015-10-21 15:16:31 -06:00
configure.ac [PATCH 1/9] ENABLE_CHECKING refactoring 2015-10-21 15:16:31 -06:00
context.c
context.h
convert.c Move fold_trunc_transparent_mathfn to match.pd 2015-10-23 10:01:47 +00:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
coverage.c remove many typedefs 2015-10-01 15:12:31 +00:00
coverage.h
cppbuiltin.c
cppbuiltin.h
cppdefault.c
cppdefault.h
cprop.c Remove REAL_VALUE_FROM_CONST_DOUBLE 2015-10-05 11:37:49 +00:00
cse.c Remove remaining uses of CONST_DOUBLE_FROM_REAL_VALUE 2015-10-05 11:36:08 +00:00
cselib.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
cselib.h
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
DATESTAMP Daily bump. 2015-10-27 00:16:12 +00:00
dbgcnt.c
dbgcnt.def re PR target/65105 ([i386] XMM registers are not used for 64bit computations on 32bit target) 2015-09-29 09:32:40 +00:00
dbgcnt.h
dbxout.c
dbxout.h
dce.c Revert "replace several uses of the anon namespace with GCC_FINAL" 2015-08-12 20:09:33 +00:00
dce.h
ddg.c
ddg.h
debug.c
debug.h Add DWARF2_LINENO_DEBUGGING_INFO, and use it for nvptx 2015-08-14 12:37:14 +02:00
defaults.h always define REVERSE_CONDITION 2015-10-11 00:48:28 +00:00
DEV-PHASE
df-core.c
df-problems.c REE: fix uninitialized registers handling 2015-10-19 23:47:35 +00:00
df-scan.c remove many typedefs 2015-10-01 15:12:31 +00:00
df.h REE: fix uninitialized registers handling 2015-10-19 23:47:35 +00:00
dfp.c
dfp.h
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h
diagnostic-show-locus.c Move diagnostic_show_locus and friends out into a new source file 2015-09-18 18:27:44 +00:00
diagnostic.c Move diagnostic_show_locus and friends out into a new source file 2015-09-18 18:27:44 +00:00
diagnostic.def
diagnostic.h The flag diagnostic_context::some_warnings_are_errors controls whether to give... 2015-09-14 19:27:50 +00:00
dojump.c re PR middle-end/68079 (hppa: pointers to method types need canonicalization before comparison) 2015-10-25 15:18:48 +00:00
dojump.h
dominance.c Refactor dominance.c: define dom_info as C++ class 2015-08-22 03:20:13 +00:00
dominance.h
domwalk.c
domwalk.h
double-int.c
double-int.h
dse.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
dumpfile.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
dumpfile.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
dwarf2asm.c dwarf2out.c (XCOFF_DEBUGGING_INFO): Default 0 definition. 2015-09-26 11:31:35 -04:00
dwarf2asm.h
dwarf2cfi.c dwarf2cfi.c: remove typedef that hides pointerness 2015-09-13 16:55:05 +00:00
dwarf2out.c Remove REAL_VALUE_FROM_CONST_DOUBLE 2015-10-05 11:37:49 +00:00
dwarf2out.h remove useless typedefs 2015-08-19 02:48:16 +00:00
emit-rtl.c Remove remaining uses of CONST_DOUBLE_FROM_REAL_VALUE 2015-10-05 11:36:08 +00:00
emit-rtl.h
errors.c
errors.h
et-forest.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
et-forest.h
except.c always define SETUP_FRAME_ADDRESSES 2015-10-11 00:48:02 +00:00
except.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
exec-tool.in
explow.c Remove remaining uses of REAL_ARITHMETIC 2015-10-05 11:35:07 +00:00
explow.h [PR64164] Drop copyrename, use coalescible partition as base when optimizing. 2015-08-14 18:51:50 +00:00
expmed.c re PR middle-end/67966 (ICE in convert_move, at expr.c:282) 2015-10-21 18:00:30 +00:00
expmed.h
expr.c Change default of non-overlapping address space conversion 2015-10-21 13:31:26 -07:00
expr.h [PR64164] Drop copyrename, use coalescible partition as base when optimizing. 2015-08-14 18:51:50 +00:00
fibonacci_heap.h
file-find.c
file-find.h
final.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
fixed-value.c
fixed-value.h
flag-types.h bb-reorder: Add -freorder-blocks-algorithm= and wire it up 2015-10-01 08:38:24 +02:00
flags.h
fold-const.c * fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR. 2015-10-23 23:30:31 +00:00
fold-const.h Move fold_trunc_transparent_mathfn to match.pd 2015-10-23 10:01:47 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c re PR target/67745 ([ARM] wrong alignments when __attribute__ ((optimize,target,align) is used) 2015-10-16 15:52:51 +02:00
function.h function.h (MINIMUM_METHOD_BOUNDARY): New macro. 2015-10-26 10:50:37 +01:00
fwprop.c
gcc-ar.c
gcc-main.c Support embedding the driver in-process within libgccjit 2015-08-25 20:25:05 +00:00
gcc-plugin.h
gcc-symtab.h
gcc.c Improve --help output to generate references to option aliases. 2015-10-21 16:24:41 -06:00
gcc.h Support embedding the driver in-process within libgccjit 2015-08-25 20:25:05 +00:00
gcov-counter.def
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov-tool.c
gcov.c
gcse-common.c
gcse-common.h remove more useless typedefs 2015-08-19 02:48:48 +00:00
gcse.c
gcse.h
gdbasan.in
gdbhooks.py update a few places for the change from gimple_statement_base to gimple 2015-09-28 06:26:21 +00:00
gdbinit.in
gen-pass-instances.awk
genattr-common.c unconditionally compile most of the delay slot code 2015-10-21 21:05:02 +00:00
genattr.c unconditionally compile most of the delay slot code 2015-10-21 21:05:02 +00:00
genattrtab.c [PATCH] Fix abort in write_eligible_delay 2015-10-22 13:18:05 -06:00
genautomata.c
gencheck.c
genchecksum.c
gencodes.c gencodes.c (gencodes): Print the comma for the preceding enum value rather than the current one. 2015-08-21 17:23:10 +00:00
genconditions.c gensupport.h (get_c_test): Declare. 2015-08-05 15:46:02 +00:00
genconfig.c always define HAVE_peephole2 2015-08-21 01:15:15 +00:00
genconstants.c
genemit.c re PR c/67819 (-Wduplicated-cond should take macros into account) 2015-10-02 17:49:15 +00:00
genenums.c
generic-match-head.c PR67945: Fix oscillation between pow representations 2015-10-15 09:50:07 +00:00
generic-match.h
genextract.c
genflags.c genflags.c (gen_macro): Delete. 2015-08-24 17:59:51 +00:00
gengenrtl.c
gengtype-lex.l
gengtype-parse.c
gengtype-state.c
gengtype.c Fix crash in gengtype debug dump 2015-10-18 23:33:21 +00:00
gengtype.h
genhooks.c
genmatch.c Move cexp simplifications to match.pd 2015-10-26 09:18:30 +00:00
genmddeps.c
genmddump.c
genmodes.c genmodes.c: Add CONST_MODE_UNIT_SIZE modifier. 2015-09-01 12:40:10 +00:00
genmultilib
genopinit.c Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
genoutput.c gensupport.c (sequence_num): Replace with... 2015-08-05 15:47:31 +00:00
genpeep.c
genpreds.c
genrecog.c gensupport.h (get_c_test): Declare. 2015-08-05 15:46:02 +00:00
gensupport.c genflags.c (gen_macro): Delete. 2015-08-24 17:59:51 +00:00
gensupport.h genflags.c (gen_macro): Delete. 2015-08-24 17:59:51 +00:00
gentarget-def.c genflags.c (gen_macro): Delete. 2015-08-24 17:59:51 +00:00
ggc-common.c
ggc-internal.h
ggc-none.c
ggc-page.c system.h (ROUND_UP): New macro definition. 2015-10-02 20:08:59 +02:00
ggc.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-builder.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-builder.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-expr.c re PR middle-end/67966 (ICE in convert_move, at expr.c:282) 2015-10-21 18:00:30 +00:00
gimple-expr.h [PR64164] Drop copyrename, use coalescible partition as base when optimizing. 2015-08-14 18:51:50 +00:00
gimple-fold.c Allow more complex call replacements in gimple-fold.c 2015-10-26 14:59:36 +00:00
gimple-fold.h Move fold_trunc_transparent_mathfn to match.pd 2015-10-23 10:01:47 +00:00
gimple-iterator.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-iterator.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-laddress.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-low.c tree-nested.h (build_addr): Adjust prototype. 2015-10-16 07:45:09 +00:00
gimple-low.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-match-head.c Don't create SSA names until in SSA form 2015-10-27 09:07:44 +00:00
gimple-match.h re PR middle-end/67891 (FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu) 2015-10-09 08:12:18 +00:00
gimple-predict.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-pretty-print.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
gimple-pretty-print.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-ssa-backprop.c Add a pass to back-propagate use information 2015-10-21 20:11:33 +00:00
gimple-ssa-isolate-paths.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-ssa-strength-reduction.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-ssa.h [PATCH] Update SSA_NAME manager to use two lists 2015-09-30 11:43:26 -06:00
gimple-streamer-in.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-streamer-out.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple-streamer.h
gimple-walk.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
gimple-walk.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimple.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
gimple.def builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
gimple.h builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
gimplify-me.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimplify-me.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gimplify.c [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
gimplify.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
glimits.h
godump.c
graph.c
graph.h
graphds.c
graphds.h
graphite-dependences.c add dump of data dependences 2015-10-10 14:53:16 +00:00
graphite-isl-ast-to-gimple.c avoid generation of empty guards in trivial cases 2015-10-21 18:53:35 +00:00
graphite-isl-ast-to-gimple.h
graphite-optimize-isl.c gather bbs and conditions in a single walk through dominators 2015-10-07 19:25:35 +00:00
graphite-poly.c Refactoring sese.h and graphite-poly.h 2015-10-21 18:53:17 +00:00
graphite-poly.h Refactor graphite-sese-to-poly, sese.h, graphite-poly.h 2015-10-21 18:53:26 +00:00
graphite-scop-detection.c a scalar depending on vdefs in the current region is not invariant 2015-10-21 21:18:27 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c a scalar depending on vdefs in the current region is not invariant 2015-10-21 21:18:27 +00:00
graphite-sese-to-poly.h move param detection to scop detection 2015-10-05 16:03:09 +00:00
graphite.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
gsstruct.def switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06:00
hard-reg-set.h
hash-map-traits.h
hash-map.h
hash-set.h
hash-table.c
hash-table.h
hash-traits.h
highlev-plugin-common.h
hooks.c
hooks.h
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c
hw-doloop.h
hwint.c
hwint.h Avoid signed left shift undefined behaviour in sext_hwi 2015-08-19 13:42:36 +00:00
ifcvt.c [RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block don't clobber a reg used in condition 2015-10-02 08:36:45 +00:00
ifcvt.h
inchash.c
inchash.h
incpath.c
incpath.h
init-regs.c Revert "replace several uses of the anon namespace with GCC_FINAL" 2015-08-12 20:09:33 +00:00
input.c Change of location_get_source_line signature 2015-09-15 16:53:01 +00:00
input.h Change of location_get_source_line signature 2015-09-15 16:53:01 +00:00
insn-addr.h
insn-notes.def
internal-fn.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
internal-fn.def builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
internal-fn.h
intl.c
intl.h
ipa-chkp.c
ipa-chkp.h
ipa-comdats.c
ipa-cp.c Correctly fill up cgraph_node::local.versionable flag. 2015-10-20 11:59:51 +00:00
ipa-devirt.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-icf-gimple.c revert: ipa-icf-gimple.c (func_checker::compare_operand): Compare only empty constructors. 2015-10-16 11:06:14 +00:00
ipa-icf-gimple.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-icf.c ipa-icf.c (sem_item::compare_symbol_references): Fix use of availability. 2015-10-08 23:20:06 +00:00
ipa-icf.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-inline-analysis.c Correctly fill up cgraph_node::local.versionable flag. 2015-10-20 11:59:51 +00:00
ipa-inline-transform.c
ipa-inline.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-inline.h
ipa-polymorphic-call.c PR ipa/pr67600 2015-10-23 23:33:58 +00:00
ipa-profile.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-prop.c Correctly fill up cgraph_node::local.versionable flag. 2015-10-20 11:59:51 +00:00
ipa-prop.h Correctly fill up cgraph_node::local.versionable flag. 2015-10-20 11:59:51 +00:00
ipa-pure-const.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-ref.c
ipa-ref.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-reference.c
ipa-reference.h
ipa-split.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-utils.c
ipa-utils.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ipa-visibility.c Revert "replace several uses of the anon namespace with GCC_FINAL" 2015-08-12 20:09:33 +00:00
ipa.c ipa.c (cgraph_build_static_cdtor_1): Set DECL_IGNORED_P. 2015-08-27 08:02:57 +00:00
ira-build.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
ira-color.c re PR target/61578 (Code size increase for ARM thumb compared to 4.8.x when compiling with -Os) 2015-09-24 20:40:30 +00:00
ira-conflicts.c ira-int.h: Include recog.h. 2015-08-13 21:39:03 +00:00
ira-costs.c ira-int.h: Include recog.h. 2015-08-13 21:39:03 +00:00
ira-emit.c ira-int.h: Include recog.h. 2015-08-13 21:39:03 +00:00
ira-int.h ira-int.h: Include recog.h. 2015-08-13 21:39:03 +00:00
ira-lives.c ira-int.h: Include recog.h. 2015-08-13 21:39:03 +00:00
ira.c [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06: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 always define REVERSE_CONDITION 2015-10-11 00:48:28 +00:00
langhooks-def.h
langhooks.c
langhooks.h
LANGUAGES
lcm.c
lcm.h
libfuncs.h
limitx.h
limity.h
lists.c
lock-and-run.sh
loop-doloop.c
loop-init.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
loop-invariant.c loop-invariant.c (struct def): New field can_prop_to_addr_uses. 2015-10-27 05:26:27 +00:00
loop-iv.c Fix PR61657 (undefined behavior in loop-iv.c) 2015-08-21 16:44:30 +00:00
loop-unroll.c
loop-unroll.h
lower-subreg.c
lower-subreg.h
lra-assigns.c
lra-coalesce.c
lra-constraints.c [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06: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
lra-lives.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +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 re PR rtl-optimization/67609 (Generates wrong code for SSE2 _mm_load_pd) 2015-10-20 16:26:05 +00:00
lra.c [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06:00
lra.h
lto-cgraph.c re PR lto/67699 (ICE (segfault) compiling a const array with -flto) 2015-09-24 11:01:14 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c
lto-section-names.h
lto-section-out.c
lto-streamer-in.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
lto-streamer-out.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
lto-streamer.c
lto-streamer.h re PR lto/67568 (lto-streamer-in.c sanitizer runtime error: load of value 255, which is not a valid value for type 'bool') 2015-09-15 08:00:30 +00:00
lto-wrapper.c [PR other/65021] mkoffloads -save-temps handling, and cleanup cleanup 2015-10-05 16:07:50 +02:00
machmode.def
machmode.h genmodes.c (emit_mode_unit_size_inline): New function. 2015-08-19 15:23:11 +00:00
main.c Refactoring of timevar API 2015-08-03 20:14:21 +00:00
Makefile.in Makefile.in (build/genmatch.o): Properly depend on is-a.h, tree.def and builtins.def. 2015-10-23 11:08:10 +00:00
match.pd Move copysign folds to match.pd 2015-10-27 11:53:45 +00:00
mcf.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
mem-stats-traits.h
mem-stats.h
memory-block.cc Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
memory-block.h Fix use of valgrind API 2015-09-23 02:31:14 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c Revert "replace several uses of the anon namespace with GCC_FINAL" 2015-08-12 20:09:33 +00:00
modulo-sched.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
omp-builtins.def builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
omp-low.c omp-low.c (check_omp_nesting_restrictions): Check OpenACC loop nesting. 2015-10-21 16:14:01 +00:00
omp-low.h builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
ONEWS
opt-functions.awk options.texi (EnabledBy): Document that the argument must be a Common option. 2015-08-09 19:30:17 +00:00
opt-gather.awk
opt-include.awk
opt-read.awk
optabs-libfuncs.c Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optabs-libfuncs.h Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optabs-query.c Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optabs-query.h Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optabs-tree.c Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optabs-tree.h Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optabs.c [optabs.c] Fix PR 67989: Handle const0_rtx target in expand_atomic_compare_and_swap 2015-10-26 10:28:12 +00:00
optabs.def
optabs.h Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
optc-gen.awk options.texi (EnabledBy): Document that the argument must be a Common option. 2015-08-09 19:30:17 +00:00
optc-save-gen.awk
opth-gen.awk
opts-common.c fdiagnostics-color=never does not disable color for some diagnostics 2015-09-24 16:37:43 +00:00
opts-diagnostic.h
opts-global.c [c-family/49654/49655] reject invalid options in pragma diagnostic 2015-09-23 13:07:07 +00:00
opts.c Improve --help output to generate references to option aliases. 2015-10-21 16:24:41 -06:00
opts.h [c-family/49654/49655] reject invalid options in pragma diagnostic 2015-09-23 13:07:07 +00:00
output.h
params-enum.h Support DEFPARAMENUM in params.def 2015-10-13 10:08:50 +00:00
params-list.h Support DEFPARAMENUM in params.def 2015-10-13 10:08:50 +00:00
params.c Support DEFPARAMENUM in params.def 2015-10-13 10:08:50 +00:00
params.def Improve --help output to generate references to option aliases. 2015-10-21 16:24:41 -06:00
params.h Support DEFPARAMENUM in params.def 2015-10-13 10:08:50 +00:00
pass_manager.h
passes.c [PATCH] Call flush_ssaname_freelist more often 2015-10-23 16:34:04 -06:00
passes.def Add a pass to back-propagate use information 2015-10-21 20:11:33 +00:00
plugin.c
plugin.def
plugin.h
postreload-gcse.c
postreload.c
predict.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c PR pretty-print/67567 do not pass NULL as a string 2015-09-25 14:24:11 +00:00
pretty-print.h PR pretty-print/67567 do not pass NULL as a string 2015-09-25 14:24:11 +00:00
print-rtl.c [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06:00
print-rtl.h [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06:00
print-tree.c * print-tree.c (print_node): Handle TREE_BINFO. 2015-08-18 17:29:12 -04:00
print-tree.h
profile.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
profile.h
read-md.c re PR other/57195 (Mode attributes with specific mode iterator can not be used as mode iterators in *.md files) 2015-09-24 23:26:50 +00:00
read-md.h
read-rtl.c remove many typedefs 2015-10-01 15:12:31 +00:00
README.Portability
real.c To... 2015-10-13 07:34:41 +00:00
real.h To... 2015-10-13 07:34:41 +00:00
realmpfr.c
realmpfr.h
recog.c gencodes.c (gencodes): Print the comma for the preceding enum value rather than the current one. 2015-08-21 17:23:10 +00:00
recog.h gencodes.c (gencodes): Print the comma for the preceding enum value rather than the current one. 2015-08-21 17:23:10 +00:00
ree.c REE: fix uninitialized registers handling 2015-10-19 23:47:35 +00:00
reg-notes.def
reg-stack.c Remove remaining uses of CONST_DOUBLE_FROM_REAL_VALUE 2015-10-05 11:36:08 +00:00
regcprop.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
regcprop.h
reginfo.c
regrename.c
regrename.h
regs.h
regset.h
regstat.c
reload1.c Stop reload1.c warning from breaking bootstrap 2015-09-10 19:17:24 +00:00
reload.c
reload.h
reorg.c target.def (TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P): New hook. 2015-10-26 16:29:31 +00:00
resource.c
resource.h
rtl-chkp.c
rtl-chkp.h
rtl-error.c
rtl-error.h
rtl-iter.h
rtl.c rtl.h (rtvec_all_equal_p): Declare. 2015-08-20 19:04:34 +00:00
rtl.def
rtl.h [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06:00
rtlanal.c Remove REAL_VALUE_FROM_CONST_DOUBLE 2015-10-05 11:37:49 +00:00
rtlhash.c
rtlhash.h
rtlhooks-def.h
rtlhooks.c
sanitizer.def libsanitizer merge from upstream r250806, compiler part. 2015-10-21 10:40:54 +03:00
sanopt.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
sbitmap.c
sbitmap.h
sched-deps.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
sched-ebb.c
sched-int.h [haifa-sched] model load/store multiples properly in autoprefetcher scheduling 2015-10-19 09:23:07 +00:00
sched-rgn.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
sdbout.c
sdbout.h
sel-sched-dump.c [PATCH] Move RTL printing code from sched-vis.c into print-rtl.c 2015-10-20 23:56:37 -06:00
sel-sched-dump.h
sel-sched-ir.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
sel-sched-ir.h
sel-sched.c ira-int.h: Include recog.h. 2015-08-13 21:39:03 +00:00
sel-sched.h
sese.c a scalar depending on vdefs in the current region is not invariant 2015-10-21 21:18:27 +00:00
sese.h a scalar depending on vdefs in the current region is not invariant 2015-10-21 21:18:27 +00:00
shrink-wrap.c shrink-wrap: Handle multiple predecessors of prologue 2015-09-22 22:50:38 +02:00
shrink-wrap.h shrink-wrap: Handle multiple predecessors of prologue 2015-09-22 22:50:38 +02:00
signop.h remove more useless typedefs 2015-08-19 02:48:48 +00:00
simplify-rtx.c [simplify-rtx][2/2] Use constants from pool when simplifying binops 2015-10-20 16:13:29 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssa-iterators.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
ssa.h
stab.def
stack-ptr-mod.c
statistics.c remove many typedefs 2015-10-01 15:12:31 +00:00
statistics.h
stmt.c Share memory blocks between pool allocators 2015-09-16 00:56:54 +00:00
stmt.h
stor-layout.c tm.texi: Regenerated. 2015-10-21 16:01:43 +00:00
stor-layout.h
store-motion.c
streamer-hooks.c
streamer-hooks.h
stringpool.c
stringpool.h
symbol-summary.h
symtab.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
sync-builtins.def
system.h [PATCH 1/9] ENABLE_CHECKING refactoring 2015-10-21 15:16:31 -06:00
target-def.h
target-globals.c Split up optabs.[hc] 2015-09-17 14:28:59 +00:00
target-globals.h
target-hooks-macros.h
target-insns.def genflags.c (gen_macro): Delete. 2015-08-24 17:59:51 +00:00
target.def target.def (TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P): New hook. 2015-10-26 16:29:31 +00:00
target.h
targhooks.c Relax ADDR_SPACE_GENERIC_P checks for default address space hooks 2015-10-21 13:34:47 -07:00
targhooks.h tm.texi: Regenerated. 2015-10-21 16:01:43 +00:00
timevar.c Refactoring of timevar API 2015-08-03 20:14:21 +00:00
timevar.def Add a pass to back-propagate use information 2015-10-21 20:11:33 +00:00
timevar.h Refactoring of timevar API 2015-08-03 20:14:21 +00:00
tlink.c
toplev.c unconditionally compile most of the delay slot code 2015-10-21 21:05:02 +00:00
toplev.h Move check_global_declaration from toplev.c to cgraphunit.c 2015-09-16 21:25:28 +00:00
tracer.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
trans-mem.c re PR c/59218 (atomic transactions: accesses to volatiles not disallowed in transaction_safe code) 2015-10-02 09:44:41 -04:00
trans-mem.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-affine.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-affine.h
tree-call-cdce.c Replace REAL_VALUES_LESS with real_less 2015-10-05 11:32:25 +00:00
tree-cfg.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-cfg.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-cfgcleanup.c re PR tree-optimization/67915 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu) 2015-10-14 12:59:15 +00:00
tree-cfgcleanup.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-chkp-opt.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-chkp.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-chkp.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-chrec.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-chrec.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-complex.c Remove remaining uses of REAL_VALUES_IDENTICAL 2015-10-05 11:30:52 +00:00
tree-core.h builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
tree-data-ref.c move dr->alias_set to a helper structure 2015-10-06 20:50:35 +00:00
tree-data-ref.h move dr->alias_set to a helper structure 2015-10-06 20:50:35 +00:00
tree-dfa.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-dfa.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-diagnostic.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
tree-diagnostic.h
tree-dump.c
tree-dump.h
tree-eh.c [tree-inline][obvious] Delete redundant count_insns_seq 2015-09-24 08:25:13 +00:00
tree-eh.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-emutls.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-hash-traits.h
tree-hasher.h
tree-if-conv.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-inline.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
tree-inline.h [tree-inline][obvious] Delete redundant count_insns_seq 2015-09-24 08:25:13 +00:00
tree-into-ssa.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-into-ssa.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-nested.c tree-nested.h (build_addr): Adjust prototype. 2015-10-16 07:45:09 +00:00
tree-nested.h tree-nested.h (build_addr): Adjust prototype. 2015-10-16 07:45:09 +00:00
tree-nrv.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-object-size.c tree-object-size.c: Remove builtins.h include, include tree-cfg.h. 2015-10-26 14:22:20 +00:00
tree-object-size.h
tree-outof-ssa.c revert to assign_parms assignments using default defs 2015-09-27 09:02:00 +00:00
tree-outof-ssa.h revert to assign_parms assignments using default defs 2015-09-27 09:02:00 +00:00
tree-parloops.c tree-nested.h (build_addr): Adjust prototype. 2015-10-16 07:45:09 +00:00
tree-parloops.h
tree-pass.h Add a pass to back-propagate use information 2015-10-21 20:11:33 +00:00
tree-phinodes.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-phinodes.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-predcom.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-pretty-print.c [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
tree-pretty-print.h
tree-profile.c tree-nested.h (build_addr): Adjust prototype. 2015-10-16 07:45:09 +00:00
tree-scalar-evolution.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-scalar-evolution.h
tree-sra.c [PR 67794] Also remap SSA_NAMEs defined in ASMs in IPA-SRA 2015-10-09 15:13:38 +02:00
tree-ssa-address.c remove more useless typedefs 2015-08-19 02:48:48 +00:00
tree-ssa-address.h
tree-ssa-alias.c re PR fortran/67170 (PRE can't hoist out a readonly argument) 2015-09-29 13:04:18 +00:00
tree-ssa-alias.h re PR fortran/67170 (PRE can't hoist out a readonly argument) 2015-09-29 13:04:18 +00:00
tree-ssa-ccp.c re PR tree-optimization/68026 (Regression in GCC-6.0.0's optimizer) 2015-10-21 07:56:54 +00:00
tree-ssa-coalesce.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-ssa-coalesce.h revert to assign_parms assignments using default defs 2015-09-27 09:02:00 +00:00
tree-ssa-copy.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa-dce.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa-dom.c Re: [PATCH] Improve DOM's optimization of control statements 2015-10-07 15:56:18 -06:00
tree-ssa-dom.h [PATCH] Fix 47679 by improving jump threading 2015-09-20 00:37:39 -06:00
tree-ssa-dse.c [PATCH] [2/n] Fix minor SSA_NAME leaks 2015-10-08 14:27:38 -06:00
tree-ssa-forwprop.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-ifcombine.c re PR tree-optimization/67690 (wrong code with -O2 on x86_64/Linux) 2015-09-30 09:24:02 +00:00
tree-ssa-live.c revert to assign_parms assignments using default defs 2015-09-27 09:02:00 +00:00
tree-ssa-live.h [PR64164] Drop copyrename, use coalescible partition as base when optimizing. 2015-08-14 18:51:50 +00:00
tree-ssa-loop-ch.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-loop-im.c re PR tree-optimization/67975 (Failure to optimise equality between two call sequences) 2015-10-19 14:00:28 +00:00
tree-ssa-loop-ivcanon.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa-loop-ivopts.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-loop-manip.h
tree-ssa-loop-niter.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa-loop-niter.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa-loop-prefetch.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-loop-unswitch.c PR tree-optimization/67909, 67947 2015-10-13 13:08:31 +00:00
tree-ssa-loop.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa-loop.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-math-opts.c PR67945: Fix oscillation between pow representations 2015-10-15 09:50:07 +00:00
tree-ssa-operands.c make build_uses store tree * instead of tree 2015-10-05 13:54:11 +00:00
tree-ssa-operands.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-phionlycprop.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-phiopt.c [PATCH] [1/n] Fix minor SSA_NAME leaks 2015-10-08 11:50:44 -06:00
tree-ssa-phiprop.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-pre.c re PR tree-optimization/67859 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu) 2015-10-06 12:34:15 +00:00
tree-ssa-propagate.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-propagate.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-reassoc.c tree-ssa-reassoc.c (attempt_builtin_copysign): Call gimple_call_builtin instead of is_gimple_call. 2015-10-15 13:22:47 +00:00
tree-ssa-sccvn.c tree-ssa-sccvn.c (cond_stmts_equal_p): Compare two GIMPLE cond stmts, enhanced and split out from ... 2015-10-21 08:12:15 +00:00
tree-ssa-sccvn.h gimple-match.h (mprts_hook): Declare. 2015-10-01 07:54:26 +00:00
tree-ssa-scopedtables.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-scopedtables.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-sink.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-strlen.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-ssa-structalias.c Add var in push_fields_onto_fieldstack 2015-10-27 07:09:58 +00:00
tree-ssa-tail-merge.c remove many typedefs 2015-10-01 15:12:31 +00:00
tree-ssa-ter.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-ter.h
tree-ssa-threadbackward.c [PATCH] [PR tree-optimization/68013] Make sure first block in FSM path 2015-10-26 09:36:04 -06:00
tree-ssa-threadbackward.h [PATCH] Refactoring FSM bits into their own file 2015-10-11 19:17:51 -06:00
tree-ssa-threadedge.c tree-object-size.c: Remove builtins.h include, include tree-cfg.h. 2015-10-26 14:22:20 +00:00
tree-ssa-threadedge.h switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa-threadupdate.c [PATCH] Don't allow FSM threader to create irreducible loops unless it eliminates a multi-way branch 2015-10-19 10:24:00 -06:00
tree-ssa-threadupdate.h [PATCH][PR tree-optimization/67816] Fix jump threading when DOM removes conditionals in jump threading path 2015-10-06 20:25:57 -06:00
tree-ssa-uncprop.c Replace REAL_VALUES_EQUAL with real_equal 2015-10-05 11:29:35 +00:00
tree-ssa-uninit.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-ssa.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssa.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssanames.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-ssanames.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree-stdarg.c [PATCH] [3/n] Fix minor SSA_NAME leaks 2015-10-08 14:47:46 -06:00
tree-stdarg.h
tree-streamer-in.c
tree-streamer-out.c
tree-streamer.c
tree-streamer.h
tree-switch-conversion.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-tailcall.c re PR tree-optimization/68017 (ICE on valid code at -O3 with -g enabled on x86_64-linux-gnu: cannot update SSA form) 2015-10-20 12:34:19 +00:00
tree-vect-data-refs.c re PR tree-optimization/19049 (not vectorizing a fortran loop) 2015-10-22 13:33:17 +00:00
tree-vect-generic.c tree-vect-generic.c (expand_vector_operations_1): Check optab type before using it. 2015-10-27 11:08:16 +00:00
tree-vect-loop-manip.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tree-vect-loop.c tree-vect-loop.c (vect_create_epilog_for_reduction): Fix VEC_COND_EXPR types. 2015-10-26 11:55:45 +00:00
tree-vect-patterns.c tree-vectorizer.h (vect_is_simple_use): Remove unused parameters. 2015-10-14 13:57:09 +00:00
tree-vect-slp.c tree-vectorizer.h (vect_is_simple_use): Remove unused parameters. 2015-10-14 13:57:09 +00:00
tree-vect-stmts.c Support for vectorizing conditional expressions 2015-10-23 12:40:33 +00:00
tree-vectorizer.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
tree-vectorizer.h Support for vectorizing conditional expressions 2015-10-23 12:40:33 +00:00
tree-vrp.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
tree.c This patch fixes a compile-time regression that was originally introduced by the fix for PR64111, in GCC 4.9.3. 2015-10-23 16:22:42 -07:00
tree.def [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
tree.h [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
treestruct.def
tsan.c switch from gimple to gimple* 2015-09-20 00:52:59 +00:00
tsan.h
tsystem.h
typeclass.h
typed-splay-tree.h
ubsan.c libsanitizer merge from upstream r250806, compiler part. 2015-10-21 10:40:54 +03:00
ubsan.h
valtrack.c
valtrack.h
value-prof.c cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
value-prof.h cfg.c (free_edge): Add function argument and use it instead of cfun. 2015-10-27 08:56:03 +00:00
var-tracking.c remove many typedefs 2015-10-01 15:12:31 +00:00
varasm.c [PATCH]Fix various ports failing due to unused parameter 2015-10-20 22:57:56 -06:00
varasm.h
varpool.c toplev.c (compile_file): Remove loop calling late_global_decl on all symbols. 2015-08-20 11:02:30 +00:00
vec.c
vec.h
version.c
version.h
vmsdbg.h
vmsdbgout.c fix compilation of vmsdbgout.c 2015-07-18 21:09:04 +00:00
vtable-verify.c switch from gimple to gimple* 2015-09-20 00:52:59 +00: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 Revert "replace several uses of the anon namespace with GCC_FINAL" 2015-08-12 20:09:33 +00:00
wide-int-print.cc
wide-int-print.h
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 builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
xcoff.h
xcoffout.c
xcoffout.h

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.