gcc/gcc
Paolo Carlini 0a73242e1a re PR c++/54521 (g++ fails to call explicit constructors in the second step of copy initialization)
/cp
2015-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/54521
	* call.c (convert_like_real): Do not set LOOKUP_ONLYCONVERTING for
	the second step of copy-initialization.

/testsuite
2015-07-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/54521
	* g++.dg/init/explicit3.C: New.

From-SVN: r225705
2015-07-10 22:56:35 +00:00
..
ada tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
c flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
c-family c-ada-spec.h (cpp_operation): Revert latest change. 2015-07-10 19:19:39 +00:00
common flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
config [V850] Hookize GO_IF_LEGITIMATE_ADDRESS 2015-07-11 00:31:19 +03:00
cp re PR c++/54521 (g++ fails to call explicit constructors in the second step of copy initialization) 2015-07-10 22:56:35 +00:00
doc always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
fortran flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
ginclude
go tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
java gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
jit flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
lto gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
objc tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
objcp tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
po sv.po: Update. 2015-07-10 12:53:05 +00:00
testsuite re PR c++/54521 (g++ fails to call explicit constructors in the second step of copy initialization) 2015-07-10 22:56:35 +00:00
ABOUT-GCC-NLS
BASE-VER * BASE-VER: Set to 6.0.0. 2015-04-12 21:46:43 +02:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog [V850] Hookize GO_IF_LEGITIMATE_ADDRESS 2015-07-11 00:31:19 +03:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog.dataflow
ChangeLog.gimple-classes
ChangeLog.graphite
ChangeLog.jit
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2015-07-10 00:16:12 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
ONEWS
README.Portability
acinclude.m4
aclocal.m4 gcc: Bump to automake 1.11.6 2015-05-13 10:32:56 +00:00
addresses.h
alias.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
alias.h alias.h (alias_set_type): Move typedef. 2015-06-25 16:27:12 +00:00
alloc-pool.c Fix BITMAP identifier clash. 2015-06-10 07:57:34 +00:00
alloc-pool.h Fix BITMAP identifier clash. 2015-06-10 07:57:34 +00:00
asan.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
asan.h asan.c (set_sanitized_sections): New function. 2015-04-17 07:51:02 +00:00
attribs.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
attribs.h
auto-inc-dec.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
auto-profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
auto-profile.h
backend.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
basic-block.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
bb-reorder.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
bb-reorder.h
bitmap.c Fallout for new memory statistics infrastructure. 2015-06-16 13:24:54 +00:00
bitmap.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
bt-load.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
builtin-attrs.def
builtin-types.def [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-02-24 18:00:36 +01:00
builtins.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
builtins.def Test for flag_parallelize_loops > 1 2015-06-22 16:26:08 +00:00
builtins.h insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
caller-save.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
calls.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00: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 bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfgexpand.h Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing." 2015-06-10 00:37:39 +00: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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cfgloopmanip.h
cfgrtl.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
cfgrtl.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
cgraph.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cgraph.h function.h (ipa_opt_pass, [...]): Move forward declarations. 2015-06-25 18:32:38 +00:00
cgraphbuild.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cgraphclones.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cgraphunit.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
chkp-builtins.def
cif-code.def * cif-code.def (CILK_SPAWN): New code. 2015-03-26 21:10:28 +00:00
cilk-builtins.def
cilk-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cilk.h
cilkplus.def
collect-utils.c collect-utils.c (collect_wait): Unlink the response file here instead of... 2015-06-23 20:48:07 +00:00
collect-utils.h
collect2-aix.c
collect2-aix.h
collect2.c
collect2.h
combine-stack-adj.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
combine.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
common.md
common.opt c-opts.c (c_common_post_options): Highest ABI level is now 10. 2015-07-01 13:59:25 -04:00
compare-elim.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
conditions.h Re: [PATCH 02/12] remove some ifdef HAVE_cc0. 2015-04-23 10:34:58 +00:00
config.build
config.gcc config.gcc: Add fused-madd.opt. 2015-07-06 17:29:33 +00:00
config.host S390: Support -mtune=native and -march=native. 2015-06-01 11:38:44 +00:00
config.in [AArch64] Fall back to -fPIC if no support of -fpic in binutils 2015-07-01 08:45:08 +00:00
configure [AArch64] Fall back to -fPIC if no support of -fpic in binutils 2015-07-01 08:45:08 +00:00
configure.ac [AArch64] Fall back to -fPIC if no support of -fpic in binutils 2015-07-01 08:45:08 +00:00
context.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
context.h
convert.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
convert.h
coretypes.h 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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
cselib.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
cselib.h Change use to type-based pool allocator in cselib.c. 2015-06-01 12:39:32 +00:00
cstamp-h.in
data-streamer-in.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
data-streamer-out.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
data-streamer.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
data-streamer.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
dbgcnt.c
dbgcnt.def dbgcnt: enhance behavior. 2015-05-18 09:03:28 +00:00
dbgcnt.h
dbxout.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dbxout.h
dce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
dce.h
ddg.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ddg.h
debug.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
debug.h Restore DW_AT_abstract_origin for cross-unit call sites 2015-06-11 12:40:10 +00:00
defaults.h always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
df-core.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
df-problems.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
df-scan.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
df.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dfp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dfp.h
diagnostic-color.c
diagnostic-color.h
diagnostic-core.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
diagnostic.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
diagnostic.def
diagnostic.h re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
dojump.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
dojump.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
dominance.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
dominance.h
domwalk.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
domwalk.h
double-int.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
double-int.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
dse.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
dumpfile.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dumpfile.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
dwarf2asm.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dwarf2asm.h
dwarf2cfi.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dwarf2out.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
dwarf2out.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
emit-rtl.c reduce conditional compilation based on AUTO_INC_DEC 2015-07-09 02:51:09 +00: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 tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
et-forest.h Change use to type-based pool allocator in et-forest.c. 2015-06-01 12:33:23 +00:00
except.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
except.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
exec-tool.in
explow.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
explow.h Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing." 2015-06-10 00:37:39 +00:00
expmed.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
expmed.h
expr.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
expr.h expr.h (gen_move_insn_uncast): Delete. 2015-07-05 07:55:03 +00:00
fibonacci_heap.h Use std::swap instead of explicit swaps 2015-05-19 04:24:31 +00:00
file-find.c
file-find.h
final.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
fixed-value.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
fixed-value.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
flag-types.h c-ubsan.c (ubsan_instrument_bounds): Don't skip instrumenting flexible member array-like members if... 2015-05-07 08:08:57 +00:00
flags.h flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +00:00
fold-const.c fold-const.c (distribute_bit_expr): Remove. 2015-07-10 12:31:05 +00:00
fold-const.h
fp-test.c
function.c gimple-predict.h: New file. 2015-07-10 12:13: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 Validate -pie if PIE is enabled by default 2015-06-25 14:31:04 -07:00
gcc.h
gcov-counter.def
gcov-dump.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
gcov-io.c
gcov-io.h
gcov-iov.c
gcov-tool.c gcov-tool.c (do_merge): Refactore to remove int ret. 2015-05-07 19:57:11 +02:00
gcov.c bitmap.c, [...]: Add space between string literal and macro name. 2015-05-09 00:50:05 -04:00
gcse-common.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gcse-common.h re PR rtl-optimization/64317 (Ineffective allocation of PIC base register) 2015-03-22 23:21:04 -06:00
gcse.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
gcse.h
gdbasan.in
gdbhooks.py re PR other/65366 (gdbhooks.py is incompatible with Python3) 2015-06-08 13:35:51 +00:00
gdbinit.in * gdbinit.in (pcfun): Define and document. 2015-03-10 12:32:09 +00:00
gen-pass-instances.awk
genattr-common.c
genattr.c
genattrtab.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
genautomata.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gencheck.c
genchecksum.c
gencodes.c
genconditions.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
genconfig.c always define HAVE_lo_sum 2015-05-24 00:32:31 +00:00
genconstants.c
genemit.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
genenums.c
generic-match-head.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
generic-match.h
genextract.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
genflags.c
gengenrtl.c rtl.h (PUT_MODE_RAW): New macro. 2015-05-19 07:10:30 +00:00
gengtype-lex.l
gengtype-parse.c gengtype-parse.c (require_template_declaration): Allow '+' in template parameters. 2015-06-25 17:16:44 +00:00
gengtype-state.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
gengtype.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gengtype.h
genhooks.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
genmatch.c genmatch.c (dt_node::gen_kids_1): Fix indenting of case labels. 2015-07-10 11:59:00 +00:00
genmddeps.c
genmddump.c
genmodes.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
genmultilib
genopinit.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
genoutput.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
genpeep.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
genpreds.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
genrecog.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gensupport.c rtl.h (emit): Add an optional boolean parameter to control whether barriers are emitted. 2015-06-26 10:06:56 +00:00
gensupport.h rtl.h (classify_insn): Declare. 2015-06-14 20:25:40 +00:00
gentarget-def.c target.def: Add code_for_* hooks. 2015-07-05 07:44:45 +00:00
ggc-common.c hash-traits.h (free_ptr_hash): New class. 2015-06-25 17:06:24 +00:00
ggc-internal.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
ggc-none.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
ggc-page.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ggc.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
gimple-builder.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-builder.h
gimple-expr.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-expr.h Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing." 2015-06-10 00:37:39 +00:00
gimple-fold.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-fold.h gimple-fold.h (gimple_build): Remove optional valueize arguments. 2015-04-20 13:23:59 +00:00
gimple-iterator.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-iterator.h Fix gimple_seq_nondebug_singleton_p 2015-06-09 05:52:52 +00:00
gimple-laddress.c re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
gimple-low.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-low.h
gimple-match-head.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-match.h re PR tree-optimization/65650 (CCP does not propgate copies) 2015-04-21 12:52:43 +00:00
gimple-predict.h gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-pretty-print.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimple-pretty-print.h
gimple-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 tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-streamer-out.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
gimple-streamer.h tree-core.h: Include symtab.h. 2015-07-08 00:53: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-predict.h: New file. 2015-07-10 12:13: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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
gimplify.h Gimplify va_arg ap based on do_deref 2015-05-13 09:06:18 +00:00
glimits.h
godump.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
graph.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graph.h
graphds.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
graphds.h
graphite-blocking.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-dependences.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-interchange.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-isl-ast-to-gimple.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-isl-ast-to-gimple.h
graphite-optimize-isl.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-poly.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-poly.h
graphite-scop-detection.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
graphite-sese-to-poly.h
graphite.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00: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-traits.h (default_hash_traits): New structure. 2015-06-25 17:07:26 +00:00
hash-table.c Fallout for new memory statistics infrastructure. 2015-06-16 13:24:54 +00:00
hash-table.h hash-table.h: Update comments. 2015-06-25 17:07:34 +00:00
hash-traits.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
highlev-plugin-common.h
hooks.c target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
hooks.h target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
hw-doloop.h
hwint.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
hwint.h
ifcvt.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ifcvt.h
inchash.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
inchash.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
incpath.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
incpath.h
init-regs.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
input.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
input.h libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations) 2015-05-13 13:58:18 +00:00
insn-addr.h
insn-notes.def insn-notes.def (UPDATE_SJLJ_CONTEXT): New note. 2015-05-19 09:33:27 +00:00
internal-fn.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
internal-fn.def Mark ifn_va_arg as ECF_LEAF 2015-04-26 07:13:13 +00:00
internal-fn.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
intl.c
intl.h
ipa-chkp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-chkp.h ipa-chkp.h (chkp_wrap_function): New. 2015-05-15 09:48:13 +00:00
ipa-comdats.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-cp.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ipa-devirt.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-icf-gimple.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-icf-gimple.h IPA ICF: enhance hash value calculated in TU 2015-03-24 21:51:08 +00:00
ipa-icf.c ipa-icf.c: Fix typo in dump message 2015-07-10 09:56:15 +02:00
ipa-icf.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
ipa-inline-analysis.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-inline-transform.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-inline.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-inline.h lto-cgraph.c (lto_output_node, [...]): Stream split_part. 2015-04-01 07:41:17 +00:00
ipa-polymorphic-call.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ipa-prop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-prop.h Change use to type-based pool allocator in ipa-prop.c 2015-06-01 12:50:36 +00:00
ipa-pure-const.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-ref.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa-ref.h re PR lto/64693 (PCH failed with --with-build-config=bootstrap-lto) 2015-02-26 20:21:38 +00:00
ipa-reference.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
ipa-reference.h
ipa-split.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ipa-utils.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ipa-utils.h re PR lto/65378 (Tweak to wording of -Wodr message) 2015-06-08 20:37:53 +00:00
ipa-visibility.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ipa.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
ira-build.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ira-color.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ira-conflicts.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ira-costs.c gimple-predict.h: New file. 2015-07-10 12:13:06 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
ira.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
ira.h change more argument types to rtx_insn * 2015-05-09 04:17:00 +00:00
is-a.h
jump.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
langhooks-def.h Merge debug-early branch into mainline. 2015-06-05 18:44:53 +00:00
langhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
langhooks.h Merge debug-early branch into mainline. 2015-06-05 18:44:53 +00:00
lcm.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lcm.h
libfuncs.h hash-traits.h (ggc_hasher): Rename to... 2015-06-25 17:06:36 +00:00
limitx.h
limity.h
lists.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
lock-and-run.sh
loop-doloop.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
loop-init.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
loop-invariant.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
loop-iv.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00: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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
lra-coalesce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
lra-constraints.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
lra-eliminations.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lra-int.h re PR rtl-optimization/66782 (Unable to run 64-bit wine after MS->SYSV register changes) 2015-07-09 15:39:53 +00:00
lra-lives.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
lra-remat.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lra-spills.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lra.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
lra.h
lto-cgraph.c gimple-predict.h: New file. 2015-07-10 12:13:06 +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-predict.h: New file. 2015-07-10 12:13:06 +00:00
lto-streamer-out.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
lto-streamer.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
lto-streamer.h lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
lto-wrapper.c re PR target/65527 (ICE: in expand_builtin_with_bounds, at builtins.c:7120 with -fcheck-pointer-bounds -mmpx) 2015-06-01 11:24:07 +00:00
machmode.def
machmode.h
main.c
match.pd fold-const.c (distribute_bit_expr): Remove. 2015-07-10 12:31:05 +00:00
mcf.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
mem-stats-traits.h Fix BITMAP identifier clash. 2015-06-10 07:57:34 +00:00
mem-stats.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
modulo-sched.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
omega.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
omega.h
omp-builtins.def [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter. 2015-02-24 18:00:36 +01:00
omp-low.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
omp-low.h
opt-functions.awk
opt-gather.awk
opt-include.awk
opt-read.awk
optabs.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
optabs.def
optabs.h emit-rtl.c, [...]: Replace rtx base types with more derived ones. 2015-06-06 13:14:45 +00:00
optc-gen.awk
optc-save-gen.awk
opth-gen.awk
opts-common.c flags.h: Don't include flag-types.h or options.h. 2015-07-09 11:27:35 +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 "[PR64164] Drop copyrename, use coalescible partition as base when optimizing." 2015-06-10 00:37:39 +00:00
opts.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
output.h always define HAVE_peephole 2015-05-22 01:04:24 +00:00
params.c
params.def [tree-ssa-math-opts] Expand pow (x, CONST) using square roots when possible 2015-05-13 15:26:14 +00:00
params.h Summary: Mark help string in DEFPARAM as no-c-format 2015-05-01 14:07:51 +00:00
pass_manager.h
passes.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
passes.def re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
plugin.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
plugin.def plugins.texi (enum plugin_event): New event. 2015-06-03 07:27:11 -06:00
plugin.h gcc-plugin.h: Move decls to plugin.h and include it. 2015-06-09 17:53:24 +00:00
postreload-gcse.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
postreload.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
predict.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, !GCC$ diagnostic (pragmas) and color) 2015-05-16 12:31:00 +00:00
pretty-print.h coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
print-rtl.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
print-rtl.h
print-tree.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
print-tree.h
profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
profile.h
read-md.c Rename read-md.c:decimal_string 2015-07-06 11:43:07 +00:00
read-md.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
read-rtl.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
real.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
real.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
realmpfr.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
realmpfr.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
recog.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
recog.h Promote types of rtl expressions to rtx_insn in gen_split and gen_peephole2 2015-06-06 05:39:16 +00:00
ree.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
reg-notes.def
reg-stack.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regcprop.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
regcprop.h
reginfo.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regrename.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
regrename.h regrename.h (regrename_do_replace): Change to return bool. 2015-06-28 16:46:01 -04:00
regs.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regset.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
regstat.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
reload.c always define WORD_REGISTER_OPERATIONS 2015-07-09 02:51:19 +00:00
reload.h gcov-tool.c (do_merge): Refactore to remove int ret. 2015-05-07 19:57:11 +02:00
reload1.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
reorg.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
resource.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
resource.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
rtl-chkp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
rtl-chkp.h
rtl-error.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
rtl-error.h
rtl-iter.h
rtl.c re PR middle-end/66685 (conftest.c:16:1: internal compiler error: in as_a, at is-a.h:192) 2015-07-01 16:48:30 +00:00
rtl.def rtl.def (REG): Change format to "r". 2015-05-19 07:09:42 +00:00
rtl.h always define AUTO_INC_DEC 2015-07-09 02:50:21 +00:00
rtlanal.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
rtlhash.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
rtlhash.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
rtlhooks-def.h
rtlhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sanitizer.def
sanopt.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
sbitmap.c
sbitmap.h
sched-deps.c reduce conditional compilation based on AUTO_INC_DEC 2015-07-09 02:51:09 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
sel-sched-ir.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssa-iterators.h
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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
stmt.h Promote types of RTL expressions to more derived ones. 2015-05-20 19:39:42 +00:00
stor-layout.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
stor-layout.h
store-motion.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
streamer-hooks.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
streamer-hooks.h re PR lto/65536 (LTO line number information garbled) 2015-03-27 06:58:59 +00:00
stringpool.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
stringpool.h
symbol-summary.h hash-map-traits.h (simple_hashmap_traits::key_type): New typedef. 2015-06-25 17:17:20 +00:00
symtab.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
sync-builtins.def
system.h Remove TARGET_RELAXED_ORDERING and optimize for weak memory models. 2015-06-04 09:19:51 +00:00
target-def.h Makefile.in (TARGET_DEF): Add target-insns.def. 2015-06-25 17:18:12 +00:00
target-globals.c 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 (extv, [...]): New targetm instruction patterns. 2015-07-05 08:02:59 +00:00
target.def target.def (rtx_costs): Remove "code" param, add "mode". 2015-07-08 12:32:27 +09:30
target.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
targhooks.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
targhooks.h re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to floating-point registers) 2015-05-14 20:40:44 +00:00
timevar.c Move global state in timevar.c to a new "timer" class 2015-05-12 17:29:32 +00:00
timevar.def re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
timevar.h Move global state in timevar.c to a new "timer" class 2015-05-12 17:29:32 +00:00
tlink.c coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
toplev.c toplev.c (compile_file): Reset maximum_field_alignment after parsing. 2015-07-09 08:40:25 +00:00
toplev.h Merge debug-early branch into mainline. 2015-06-05 18:44:53 +00:00
tracer.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
trans-mem.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
trans-mem.h
tree-affine.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-affine.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
tree-browser.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-browser.def
tree-call-cdce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-cfg.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-cfg.h Add rewrite_virtuals_into_loop_closed_ssa 2015-07-07 16:25:12 +00:00
tree-cfgcleanup.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-cfgcleanup.h
tree-chkp-opt.c re PR middle-end/66807 (--enable-libmpx failed) 2015-07-09 07:47:38 +00:00
tree-chkp.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-chkp.h re PR middle-end/66568 ([CHKP] internal compiler error: in expand_expr_addr_expr_1) 2015-06-18 10:14:38 +00:00
tree-chrec.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-chrec.h re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-complex.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-core.h tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-data-ref.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-data-ref.h re PR tree-optimization/66272 (wrong code at -O3 on x86_64-linux-gnu) 2015-05-27 14:20:48 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-eh.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
tree-emutls.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-hash-traits.h tree-hash-traits.h (tree_hash): New class. 2015-06-25 17:16:15 +00:00
tree-hasher.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
tree-if-conv.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-inline.c gimple-predict.h: New file. 2015-07-10 12:13:06 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-outof-ssa.h
tree-parloops.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-parloops.h Make parallelize_loops static 2015-03-18 18:55:38 +00:00
tree-pass.h re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) 2015-07-09 09:01:51 +00:00
tree-phinodes.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-phinodes.h
tree-predcom.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-pretty-print.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-pretty-print.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
tree-profile.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-scalar-evolution.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-scalar-evolution.h re PR testsuite/52563 (FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "&a" 1) 2015-06-02 03:33:35 +00:00
tree-sra.c gimple-predict.h: New file. 2015-07-10 12:13:06 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-coalesce.h Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing." 2015-06-10 00:37:39 +00:00
tree-ssa-copy.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-copyrename.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-dce.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-dom.c gimple-predict.h: New file. 2015-07-10 12:13:06 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-live.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
tree-ssa-live.h Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing." 2015-06-10 00:37:39 +00: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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-ivopts.h
tree-ssa-loop-manip.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-manip.h Add rewrite_virtuals_into_loop_closed_ssa 2015-07-07 16:25:12 +00:00
tree-ssa-loop-niter.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-loop-niter.h re PR tree-optimization/48052 (loop not vectorized if index is "unsigned int") 2015-06-02 10:19:18 +00:00
tree-ssa-loop-prefetch.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop-unswitch.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-loop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-loop.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
tree-ssa-math-opts.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-operands.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-operands.h
tree-ssa-phiopt.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-phiprop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-pre.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
tree-ssa-propagate.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-sccvn.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-sccvn.h
tree-ssa-scopedtables.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-scopedtables.h re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-sink.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-strlen.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-structalias.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
tree-ssa-tail-merge.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-ter.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-ter.h
tree-ssa-threadedge.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-threadedge.h re PR tree-optimization/47679 (Strange uninitialized warning after SRA) 2015-04-17 13:24:17 -06:00
tree-ssa-threadupdate.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa-threadupdate.h
tree-ssa-uncprop.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa-uninit.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssa.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-ssa.h
tree-ssanames.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-ssanames.h
tree-stdarg.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-stdarg.h
tree-streamer-in.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
tree-streamer-out.c lto-streamer.h: Don't include target.h and alloc-pool.h. 2015-07-09 14:24:20 +00:00
tree-streamer.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-streamer.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-vect-loop.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree-vect-patterns.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
tree-vect-slp.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +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 hash-traits.h (free_ptr_hash): New class. 2015-06-25 17:06:24 +00:00
tree-vrp.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
tree.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
tree.def class.c (fixup_type_variants): Do not copy TYPE_METHODS 2015-05-11 22:24:33 +00:00
tree.h match.pd: Remove element_mode inside HONOR_*. 2015-07-06 18:19:41 +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 reduce conditional compilation based on AUTO_INC_DEC 2015-07-09 02:51:09 +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 gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
varasm.c gimple-predict.h: New file. 2015-07-10 12:13:06 +00:00
varasm.h Give proper type and size to named cold partitions. 2015-04-27 09:44:35 -07:00
varpool.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
vec.c coretypes.h: Include input.h and as-a.h. 2015-06-17 14:58:44 +00:00
vec.h coretypes.h: Include hash-table.h and hash-set.h for host files. 2015-06-08 21:06:50 +00:00
version.c
version.h
vmsdbg.h
vmsdbgout.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
vtable-verify.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
vtable-verify.h hash-table.h: Update comments. 2015-06-25 17:06:13 +00:00
web.c bb-reorder.c: Don't include obstack.h if backend.h is included. 2015-07-10 21:05:42 +00:00
wide-int-print.cc coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
wide-int-print.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
wide-int.cc tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
wide-int.h coretypes.h: Include machmode.h... 2015-06-04 17:49:54 +00:00
xcoff.h
xcoffout.c tree-core.h: Include symtab.h. 2015-07-08 00:53:03 +00:00
xcoffout.h

README.Portability

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

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

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

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

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


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

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

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

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

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


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

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

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

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

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

needs to be coded in some other way.


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

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

  if (P)
    free (P);

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

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

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



Trigraphs
---------

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


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

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


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

errno
-----

errno might be declared as a macro.


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

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

  unsigned variable;

as shorthand for

  unsigned int variable;

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

  (unsigned) variable

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

o Expecting ints shifted right to be sign extended.

o Modifying the same value twice within one sequence point.

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

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

o Passing incorrect types to fprintf and friends.

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