gcc/gcc
Martin Sebor 8423e57caa c.opt (-Wframe-address): New warning option.
gcc/ChangeLog
2015-07-28  Martin Sebor  <msebor@redhat.com>

    * c-family/c.opt (-Wframe-address): New warning option.
    * doc/invoke.texi (Wframe-address): Document it.
    * doc/extend.texi (__builtin_frame_address, __builtin_return_address):
    Clarify possible effects of calling the functions with non-zero
    arguments and mention -Wframe-address.
    * builtins.c (expand_builtin_frame_address): Handle -Wframe-address.

gcc/testsuite/ChangeLog
2015-07-28  Martin Sebor  <msebor@redhat.com>

    * g++.dg/Wframe-address-in-Wall.C: New test.
    * g++.dg/Wframe-address.C: New test.
    * g++.dg/Wno-frame-address.C: New test.
    * gcc.dg/Wframe-address-in-Wall.c: New test.
    * gcc.dg/Wframe-address.c: New test.
    * gcc.dg/Wno-frame-address.c: New test.

From-SVN: r226480
2015-08-02 17:14:18 -06: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 Refactor entry point to -Wmisleading-indentation 2015-08-02 17:31:55 +00:00
c-family c.opt (-Wframe-address): New warning option. 2015-08-02 17:14:18 -06:00
common flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
config arm.md (*arm_smin_cmp): New pattern. 2015-08-02 05:15:55 +00:00
cp Refactor entry point to -Wmisleading-indentation 2015-08-02 17:31:55 +00:00
doc c.opt (-Wframe-address): New warning option. 2015-08-02 17:14:18 -06:00
fortran re PR fortran/67091 ([OOP] Bad result for type-bound procedures returning pointers to the intrinsic function ASSOCIATED) 2015-08-01 18:37:25 +00:00
ginclude
go compiler: Report errors for malformed builtin calls. 2015-07-31 23:17:49 +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 jit: supply MULTILIB_DEFAULTS as arguments when invoking driver 2015-07-23 21:19:07 +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 c.opt (-Wframe-address): New warning option. 2015-08-02 17:14:18 -06: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 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
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
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
BASE-VER
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
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
builtins.c c.opt (-Wframe-address): New warning option. 2015-08-02 17:14:18 -06:00
builtins.def
builtins.h
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 Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03: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
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
ChangeLog c.opt (-Wframe-address): New warning option. 2015-08-02 17:14:18 -06: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
chkp-builtins.def
cif-code.def
cilk-builtins.def
cilk-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cilk.h
cilkplus.def
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
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
combine-stack-adj.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
combine.c Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03:00
common.md
common.opt Revert: 2015-07-24 21:28:21 -04:00
compare-elim.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
conditions.h
config.build
config.gcc nios2.opt (march, mbmx, mcdx): New options. 2015-07-14 18:22:45 -04: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 remove tree-browser 2015-07-25 09:29:11 +00:00
configure.ac remove tree-browser 2015-07-25 09:29:11 +00:00
context.c
context.h
convert.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h alias.h (alias_set_type): Move typedef. 2015-06-25 16:27:12 +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 [obvious] Use std::swap instead of manually swapping in a few more places 2015-07-24 16:46:04 +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
DATESTAMP Daily bump. 2015-08-02 00:16:12 +00:00
dbgcnt.c
dbgcnt.def
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
defaults.h always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
DEV-PHASE
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
diagnostic.c
diagnostic.def
diagnostic.h
dojump.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
dojump.h
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
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
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
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
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 Use lowpart_subreg instead of simplify_gen_subreg 2015-07-31 00:25:29 +03:00
expr.h expr.h (gen_move_insn_uncast): Delete. 2015-07-05 07:55:03 +00:00
fibonacci_heap.h
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
flag-types.h
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
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c target-insns.def (eh_return): New targetm instruction pattern. 2015-07-28 19:54:06 +00: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
gcov-io.c
gcov-io.h
gcov-iov.c
gcov-tool.c
gcov.c
gcse-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gcse-common.h
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
gdbinit.in
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 genattrtab.c (make_canonical): Add a file_location parameter. 2015-07-16 13:55:50 +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 read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
genconditions.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +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
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
gengtype.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gengtype.h
genhooks.c
genmatch.c genmatch.c (decision_tree::gen_gimple): Merge with ... 2015-07-30 11:20:21 +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 read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +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 read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
gensupport.c read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +00:00
gensupport.h read-md.h (message_with_line, [...]): Delete. 2015-07-16 13:52:22 +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
ggc-none.c
ggc-page.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ggc.h
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 (fold_gimple_assign): Remove folding of GIMPLE_BINARY_RHS. 2015-07-31 07:29:55 +00:00
gimple-fold.h
gimple-iterator.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-iterator.h
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-fold.c (replace_stmt_with_simplification): Special-case valueizing call operands. 2015-07-24 08:25:41 +00:00
gimple-match.h
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 gimple-predict.h: New file. 2015-07-10 12:13:06 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple.def
gimple.h gimple.h (gimple_cond_make_false): Use 0 != 0. 2015-07-23 07:22:06 +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
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
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
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
hwint.h
ifcvt.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ifcvt.h
inchash.c
inchash.h
incpath.c
incpath.h
init-regs.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
input.c
input.h
insn-addr.h
insn-notes.def
internal-fn.c Fix double word typos. 2015-07-13 04:46:34 +00:00
internal-fn.def
internal-fn.h
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-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.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
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
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
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 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-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 tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ira-lives.c re PR middle-end/66353 (Missing bb_has_abnormal_call_pred in basic-block.h) 2015-07-11 10:03:38 +00:00
ira.c Fix double word typos. 2015-07-13 04:46:34 +00:00
ira.h 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
is-a.h
jump.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
langhooks-def.h
langhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
langhooks.h
LANGUAGES
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
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 bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +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
machmode.def
machmode.h arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally. 2015-07-28 20:31:17 +00:00
main.c
Makefile.in remove tree-browser 2015-07-25 09:29:11 +00:00
match.pd 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
mcf.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
mem-stats-traits.h
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
omp-low.c Don't cancel loop tree in parloops 2015-07-31 06:26:44 +00:00
omp-low.h
ONEWS
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
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
output.h
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
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
plugin.h
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
pretty-print.h
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
README.Portability
real.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
real.h
realmpfr.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
realmpfr.h
recog.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
recog.h
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
reload1.c target-insns.def (reload_load_address): New targetm instruction pattern. 2015-07-28 20:06:57 +00:00
reload.c always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
reload.h
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
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.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
rtlhash.h
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 new object_allocator and clean-up allocator usage. 2015-07-16 11:26:05 +00: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 use #if for HARD_FRAME_POINTER_IS_FRAME_POINTER less 2015-07-09 02:50:14 +00: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
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
streamer-hooks.h
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
target-def.h Makefile.in (TARGET_DEF): Add target-insns.def. 2015-06-25 17:18:12 +00:00
target-globals.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
target-globals.h
target-hooks-macros.h
target-insns.def target-insns.def (reload_load_address): New targetm instruction pattern. 2015-07-28 20:06:57 +00:00
target.def target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
target.h
targhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
targhooks.h
timevar.c
timevar.def re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
timevar.h
tlink.c
toplev.c re PR c++/64079 (%+D in diagnostics breaks pragma GCC diagnostic) 2015-07-24 20:20:13 +00:00
toplev.h
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
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
tree-chrec.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-chrec.h
tree-complex.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-core.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +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
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
tree-if-conv.c gimple-predict.h: New file. 2015-07-10 12:13:06 +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
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
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
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 tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +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
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
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
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
tree-ssa-threadupdate.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-threadupdate.h
tree-ssa-uncprop.c Revert: 2015-07-24 21:28:21 -04:00
tree-ssa-uninit.c Fix double word typos. 2015-07-13 04:46:34 +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 fix pr46851 and pr60340: remove unmaintained omega dependence test 2015-07-18 01:11:05 +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 tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +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 re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 23:11:28 +02:00
tree-vectorizer.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-vectorizer.h Check TYPE_OVERFLOW_WRAPS for parloops reductions 2015-07-23 12:17:52 +00:00
tree-vrp.c re PR tree-optimization/66894 (wrong code at -Os and above on x86_64-linux-gnu) 2015-07-16 11:27:34 +00:00
tree.c Allow non-overflow ops in reductions 2015-08-01 08:29:29 +00:00
tree.def
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 gimple-predict.h: New file. 2015-07-10 12:13:06 +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
varpool.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
vec.c
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
wide-int-print.h
wide-int.cc tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +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

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.