gcc/gcc
Marc Glisse 881a9dcdef tree-ssa-forwprop.c (simplify_bitfield_ref): New function.
2012-09-10  Marc Glisse  <marc.glisse@inria.fr>

gcc/
        * tree-ssa-forwprop.c (simplify_bitfield_ref): New function.
        (ssa_forward_propagate_and_combine): Call it.

gcc/testsuite/
        * gcc.dg/tree-ssa/forwprop-21.c: New testcase.

From-SVN: r191158
2012-09-10 18:48:34 +00:00
..
ada trans.c (Loop_Statement_to_gnu): Revert to using size_type_node instead of sizetype. 2012-09-07 11:55:06 +00:00
c re PR c/54428 (ICE in gimplify_expr, at gimplify.c:7591) 2012-08-31 21:00:59 +02:00
c-family c-ada-spec.c (dump_generic_ada_node): Fix handling of name_only for pointers, and add missing Convention C pragma. 2012-08-23 16:49:41 +02:00
common re PR target/33135 ([SH] -ffinite-math-only should not be on by default) 2012-09-02 23:18:08 +00:00
config config.gcc: Add mips*-mti-linux* target Handle with_synci like other options. 2012-09-10 17:28:20 +00:00
cp re PR c++/54506 (Defaulted move constructors and move assignment operators are erroneously defined as deleted) 2012-09-10 10:08:32 -04:00
doc Add -fmem-report-wpa 2012-09-08 17:26:07 +00:00
fortran re PR fortran/54208 (compilation error for ubound construct in PARAMETER statements) 2012-09-07 20:37:41 +00:00
ginclude Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
go compiler: Comparisons return untyped boolean value. 2012-08-23 04:58:30 +00:00
java backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
lto lto-cgraph.c (compute_ltrans_boundary): Do not care about aliases. 2012-09-10 08:32:36 +00:00
objc backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
objcp re PR c++/52973 (visibility attribute for class is not passed to its members) 2012-06-02 00:03:51 -04:00
po * hr.po: New. 2012-07-05 15:30:03 +01:00
testsuite tree-ssa-forwprop.c (simplify_bitfield_ref): New function. 2012-09-10 18:48:34 +00:00
ABOUT-GCC-NLS
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog tree-ssa-forwprop.c (simplify_bitfield_ref): New function. 2012-09-10 18:48:34 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011 Fix ChangeLog record for 171649: 2012-03-05 15:01:48 +00:00
ChangeLog.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2012-09-10 00:17:31 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
Makefile.in params.def (PARAM_IPA_MAX_AGG_ITEMS): New parameter. 2012-09-10 17:58:57 +02:00
ONEWS
README.Portability
acinclude.m4 mmap.m4: Use *vms* instead of vms*. 2012-04-03 12:07:28 +00:00
aclocal.m4 mmap.m4: Use *vms* instead of vms*. 2012-04-03 12:07:28 +00:00
addresses.h
alias.c bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit. 2012-09-07 10:23:06 +00:00
alias.h alias.h: Do not include coretypes.h in header files. 2012-07-08 09:57:36 +00:00
alloc-pool.c alloc-pool.c (pool_alloc): Fix valgrind annotation. 2012-08-21 11:26:16 +00:00
alloc-pool.h ggc.h (ggc_internal_alloc_stat, [...]): Add ATTRIBUTE_MALLOC. 2012-07-13 17:51:34 +00:00
attribs.c attribs.c (decl_attributes): Avoid emitting a warning if ATTR_FLAG_BUILT_IN. 2012-05-14 12:08:31 +00:00
auto-inc-dec.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
basic-block.h Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
bb-reorder.c bb-reorder.c: Clarify a few points in the head comment and fix long lines in other comments. 2012-09-05 13:37:12 +00:00
bb-reorder.h
bitmap.c bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit. 2012-09-07 10:23:06 +00:00
bitmap.h bitmap.h (struct bitmap_element_def): GTY annotate next/prev. 2012-08-17 10:49:30 +00:00
bt-load.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
builtin-attrs.def attribs.c (decl_attributes): Avoid emitting a warning if ATTR_FLAG_BUILT_IN. 2012-05-14 12:08:31 +00:00
builtin-types.def re PR target/52624 (missing __builtin_bswap16) 2012-04-11 11:13:39 +00:00
builtins.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
builtins.def attribs.c (decl_attributes): Avoid emitting a warning if ATTR_FLAG_BUILT_IN. 2012-05-14 12:08:31 +00:00
builtins.h
caller-save.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
calls.c calls.c (mem_overlaps_already_clobbered_arg_p): Use SBITMAP_SIZE instead of looking at sbitmap n_bits member directly. 2012-08-09 21:59:32 +00:00
cfg-flags.def basic-block.h (BB_FLAGS_TO_PRESERVE): New define. 2012-07-20 12:25:55 +00:00
cfg.c * cfg.c (dump_bb_info): Print a newline if there were no edges to dump. 2012-08-29 20:40:53 +00:00
cfganal.c tree-ssa-pre.c (do_regular_insertion): Add FIXME markers at points of potentially huge memset overhead. 2012-08-13 21:02:19 +00:00
cfgbuild.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
cfgcleanup.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
cfgexpand.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-17 09:42:06 +00:00
cfghooks.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
cfghooks.h dumpfile.h (TDF_COMMENT): New define. 2012-07-17 23:17:20 +00:00
cfgloop.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
cfgloop.h re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
cfgloopanal.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
cfgloopmanip.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
cfgrtl.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
cgraph.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
cgraph.h cgraph.h (vector types for symtab_node): Add. 2012-08-11 03:04:35 +00:00
cgraphbuild.c cgraphbuild.c (record_reference): Update. 2012-05-19 09:49:47 +00:00
cgraphclones.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
cgraphunit.c cgraphunit.c (assemble_thunk): Add source line info. 2012-08-06 15:49:05 -07:00
cif-code.def
collect2-aix.c
collect2-aix.h LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
collect2.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
collect2.h output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
combine-stack-adj.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
combine.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
common.opt Add -fmem-report-wpa 2012-09-08 17:26:07 +00:00
compare-elim.c LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
conditions.h
config.build
config.gcc config.gcc: Add mips*-mti-linux* target Handle with_synci like other options. 2012-09-10 17:28:20 +00:00
config.host config.host (x86_64-*-openbsd*): New target. 2012-09-02 14:13:21 +00:00
config.in configure.ac (ffs): Check for declaration. 2012-08-20 13:31:25 +01:00
configure configure.ac (hle prefixes): Remove .code64. 2012-09-06 23:45:46 +02:00
configure.ac configure.ac (hle prefixes): Remove .code64. 2012-09-06 23:45:46 +02:00
convert.c Fix #52283 error: case label does not reduce to an integer constant 2012-04-19 11:06:53 +02:00
convert.h
coretypes.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
coverage.c Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
coverage.h
cppbuiltin.c
cppbuiltin.h alias.h: Do not include coretypes.h in header files. 2012-07-08 09:57:36 +00:00
cppdefault.c
cppdefault.h
cprop.c cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. 2012-08-02 22:39:57 +00:00
cse.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
cselib.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
cselib.h
cstamp-h.in
data-streamer-in.c
data-streamer-out.c
data-streamer.c
data-streamer.h
dbgcnt.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
dbgcnt.def dbgcnt.def (ira_move): New counter. 2012-04-12 12:53:17 +00:00
dbgcnt.h
dbxout.c output.h: (current_function_is_leaf... 2012-06-24 17:58:46 +00:00
dbxout.h output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
dce.c re PR debug/52983 (internal compiler error: in df_uses_record, at df-scan.c:3243) 2012-08-02 00:34:11 +00:00
dce.h
ddg.c * ddg.c (build_intra_loop_deps): Discard deps of nondebug on debug. 2012-06-22 01:30:00 +00:00
ddg.h
debug.c
debug.h
defaults.h defaults.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete. 2012-07-31 02:46:05 +00:00
df-core.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
df-problems.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-17 09:42:06 +00:00
df-scan.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
df.h re PR debug/52983 (internal compiler error: in df_uses_record, at df-scan.c:3243) 2012-08-02 00:34:11 +00:00
dfp.c
dfp.h
diagnostic-core.h
diagnostic.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
diagnostic.def
diagnostic.h re PR c++/53289 (unnecessary repetition of caret diagnostics) 2012-05-09 21:14:15 +00:00
dojump.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
dominance.c dominance.c (init_dom_info): Use gcc_checking_assert, not gcc_assert. 2012-08-14 15:59:41 +00:00
domwalk.c
domwalk.h
double-int.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
double-int.h Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
dse.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
dumpfile.h dumpfile.h (TDF_COMMENT): New define. 2012-07-17 23:17:20 +00:00
dwarf2asm.c LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
dwarf2asm.h
dwarf2cfi.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
dwarf2out.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
dwarf2out.h dwarf2out.c: For DWARF 4+, output DW_AT_high_pc as constant offset. 2012-08-20 20:27:46 +00:00
ebitmap.c bitmap.h: Add explanation of sparse set as linked-list bitmap. 2012-07-26 12:02:54 +00:00
ebitmap.h
emit-rtl.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
emit-rtl.h emit-rtl.c (need_atomic_barrier_p): New function. 2012-06-20 01:05:25 +00:00
errors.c
errors.h
et-forest.c Makefile.in: Fix many dependencies. 2012-05-31 16:43:31 +00:00
et-forest.h
except.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
except.h LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
exec-tool.in
explow.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
expmed.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
expmed.h Allow MODE_PARTIAL_INT in expmed costs 2012-08-01 13:26:58 -07:00
expr.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
expr.h expr.h (can_move_by_pieces): Move prototype from here ... 2012-07-11 08:58:58 +00:00
final.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
fixed-value.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
fixed-value.h
flag-types.h Implement -freuse-stack= option 2012-07-10 20:26:38 +00:00
flags.h flags.h (TYPE_OVERFLOW_WRAPS, [...]): Move to tree.h. 2012-07-16 11:42:47 +00:00
fold-const.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
fp-test.c
function.c Revert "PR 34548" 2012-08-02 20:28:36 -07:00
function.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
fwprop.c re PR rtl-optimization/54294 ([alpha] Bootstrap comparison failure due to fwprop handling of debug insns) 2012-08-20 20:56:49 +02:00
gcc-ar.c gcc-ar.c (main): Don't check for execute bits for the plugin. 2012-05-09 16:00:58 +00:00
gcc-plugin.h
gcc.c common.opt (--no-sysroot-suffix): New driver option. 2012-09-03 12:34:22 +01:00
gcc.h
gcov-dump.c Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
gcov-io.c Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
gcov-io.h Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
gcov-iov.c gcov-iov.c: Include bconfig.h and system.h. 2012-06-22 10:12:46 +00:00
gcov.c coverage.c: Refer to "notes file" instead of "graph file" in all comments. 2012-07-23 11:59:15 +00:00
gcse.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
gcse.h
gdbinit.in * gdbinit.in: Fix syntax of skip command. 2012-08-27 16:35:05 +00:00
genattr-common.c
genattr.c rtl.def (ATTR_FLAG): Remove probability indicating flags. 2012-05-04 19:37:59 +00:00
genattrtab.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
genautomata.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gencheck.c
genchecksum.c
gencodes.c gensupport.c (init_rtx_reader_args_cb): Start counting code generating patterns from 1 to free up 0 for CODE_FOR_nothing. 2012-07-09 08:45:12 +00:00
genconditions.c
genconfig.c
genconstants.c
genemit.c integrate.c: Remove. 2012-05-29 15:36:18 +00:00
genenums.c
genextract.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
genflags.c
gengenrtl.c basic-block.h (struct edge_def): Use basic_block instead of basic_block_def *. 2012-07-11 08:46:17 +00:00
gengtype-lex.l backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype-parse.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype-state.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gengtype.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
genhooks.c genhooks.c (main): Set progname. 2012-06-07 12:12:01 +00:00
genmddeps.c
genmodes.c re PR middle-end/52940 (conversion from MODE_PARTIAL_INT uses sign extension for unsigned types) 2012-04-26 14:20:39 +00:00
genmultilib genmultilib: Update copyright dates. 2012-05-09 11:52:11 +00:00
genopinit.c Reduce the size of optabs representation 2012-07-24 11:28:15 -07:00
genoutput.c re PR bootstrap/54326 (GCC does not build with G++ version 3.4.0) 2012-08-20 07:49:41 +00:00
genpeep.c gensupport.c (init_rtx_reader_args_cb): Start counting code generating patterns from 1 to free up 0 for CODE_FOR_nothing. 2012-07-09 08:45:12 +00:00
genpreds.c
genrecog.c genemit.c (gen_exp): Remove ADDRESS handling. 2012-04-16 18:52:05 +00:00
gensupport.c gensupport.c (init_rtx_reader_args_cb): Start counting code generating patterns from 1 to free up 0 for CODE_FOR_nothing. 2012-07-09 08:45:12 +00:00
gensupport.h
ggc-common.c sbitmap.h (SBITMAP_ELT_BITS): Use "1u" trick as for BITMAP_WORD_BITS. 2012-07-24 09:49:56 +00:00
ggc-internal.h sbitmap.h (SBITMAP_ELT_BITS): Use "1u" trick as for BITMAP_WORD_BITS. 2012-07-24 09:49:56 +00:00
ggc-none.c
ggc-page.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ggc-zone.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ggc.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gimple-fold.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
gimple-fold.h alias.h: Do not include coretypes.h in header files. 2012-07-08 09:57:36 +00:00
gimple-iterator.c predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
gimple-low.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gimple-pretty-print.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
gimple-pretty-print.h
gimple-ssa-strength-reduction.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
gimple-streamer-in.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
gimple-streamer-out.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
gimple-streamer.h
gimple.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
gimple.def
gimple.h gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
gimplify.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
glimits.h
godump.c godump.c (go_output_typedef): Dump size of structs. 2012-04-22 18:51:44 +00:00
graph.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
graph.h
graphds.c
graphds.h
graphite-blocking.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
graphite-clast-to-gimple.c tree-dfa.c (referenced_var_lookup): Remove. 2012-08-02 08:14:54 +00:00
graphite-clast-to-gimple.h cloog.m4: Set up to work against ISL only. 2012-07-02 11:43:46 +00:00
graphite-dependences.c graphite-clast-to-gimple.c, [...]: Include tree-pass.h instead of dumpfile.h for pass TODO flags. 2012-07-16 12:01:34 +00:00
graphite-interchange.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
graphite-optimize-isl.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
graphite-poly.c * graphite-poly.c (print_pbb_body): Fixup dump_bb call. 2012-07-18 07:32:21 +00:00
graphite-poly.h Makefile.in (OBJS): Add graphite-optimize-isl.o. 2012-07-04 09:15:09 +00:00
graphite-scop-detection.c bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit. 2012-09-07 10:23:06 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
graphite-sese-to-poly.h
graphite.c bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit. 2012-09-07 10:23:06 +00:00
gsstruct.def
gstab.h
gsyms.h
gsyslimits.h
gtm-builtins.def
haifa-sched.c haifa-sched.c (init_before_recovery): Do not set EDGE_CAN_FALLTHRU. 2012-07-16 11:50:29 +00:00
hard-reg-set.h
hash-table.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
hash-table.h hash-table.h (class hash_table): Use a descriptor template argument instead of decomposed element type and... 2012-08-17 08:03:54 +00:00
highlev-plugin-common.h
hooks.c hooks.c (hook_int_rtx_mode_as_bool_0): New function. 2012-09-05 17:31:17 +00:00
hooks.h hooks.c (hook_int_rtx_mode_as_bool_0): New function. 2012-09-05 17:31:17 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hw-doloop.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
hw-doloop.h
hwint.c hwint.c: Fix loop range. 2012-07-17 13:49:51 +00:00
hwint.h double-int.h (double_int_popcount): New inline function. 2012-07-17 12:48:36 +00:00
ifcvt.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-08 06:28:10 +00:00
incpath.c
incpath.h
init-regs.c
input.c integrate.c: Remove. 2012-05-29 15:36:18 +00:00
input.h Make conversion warnings work on NULL with -ftrack-macro-expansion 2012-04-30 13:42:38 +02:00
insn-addr.h
insn-notes.def
internal-fn.c
internal-fn.def
internal-fn.h
intl.c
intl.h re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-17 11:37:57 -04:00
ipa-cp.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
ipa-inline-analysis.c ipa-inline-analysis.c (estimate_function_body_sizes): Allocate nonconstant_names after calculate_dominance_info and loop_optimizer_init. 2012-08-31 21:16:21 +02:00
ipa-inline-transform.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-10 07:52:23 +00:00
ipa-inline.c ipa-inline.c (want_inline_small_function_p): Use INLINE_HINT_loop_iterations hint. 2012-09-05 22:32:36 +00:00
ipa-inline.h ipa-inline.h (estimate_edge_hints): Call do_estimate_edge_hints, not do_estimate_edge_time. 2012-08-29 14:16:11 +02:00
ipa-prop.c params.def (PARAM_IPA_MAX_AGG_ITEMS): New parameter. 2012-09-10 17:58:57 +02:00
ipa-prop.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-pure-const.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
ipa-ref-inline.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-ref.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
ipa-ref.h LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
ipa-reference.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +00:00
ipa-reference.h
ipa-split.c tree-sra.c (modify_function): Free redirect_callers vector. 2012-08-17 07:51:31 +00:00
ipa-utils.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
ipa-utils.h
ipa.c Add free inline summary pass after pass_early_local_passes 2012-08-02 09:58:33 -07:00
ira-build.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
ira-color.c ira.h (target_ira): Delete x_ira_available_class_regs. 2012-05-31 05:27:03 +00:00
ira-conflicts.c mcf.c: Do not include tm.h, tree.h, and langhooks.h. 2012-07-08 18:13:19 +00:00
ira-costs.c cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. 2012-08-02 22:39:57 +00:00
ira-emit.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
ira-int.h ira-int.h (struct target_ira_int): Add member x_ira_uniform_class_p. 2012-06-04 18:27:36 +00:00
ira-lives.c cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. 2012-08-02 22:39:57 +00:00
ira.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
ira.h ira.h (target_ira): Delete x_ira_available_class_regs. 2012-05-31 05:27:03 +00:00
jump.c re PR rtl-optimization/54088 (ICE at dwarf2out.c:20632 with -O1 -g) 2012-08-25 23:21:53 +00:00
langhooks-def.h cgraphunit.c: Update toplevel comment. 2012-04-25 16:31:42 +00:00
langhooks.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
langhooks.h basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
lcm.c sbitmap.h (struct int_list): Remove. 2012-07-23 14:28:29 +00:00
libfuncs.h re PR bootstrap/54092 (Bootstrap fails while building Ada at stage 1) 2012-07-25 08:10:44 -07:00
limitx.h
limity.h
lists.c
loop-doloop.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
loop-init.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
loop-invariant.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
loop-iv.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
loop-unroll.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
loop-unswitch.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
lower-subreg.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
lower-subreg.h Makefile.in (lower-subreg.o, [...]): Depend on lower-subreg.h. 2012-05-01 14:45:24 +00:00
lto-cgraph.c lto-cgraph.c (compute_ltrans_boundary): Do not care about aliases. 2012-09-10 08:32:36 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c lto-section-in.c (lto_section_name): Do not use "symtab" as part of symtab_node sectoin name; it confuses plugin. 2012-08-11 15:49:48 +00:00
lto-section-out.c lto-cgraph.c (output_cgraph): Rename to ... 2012-08-11 08:38:59 +00:00
lto-streamer-in.c tree-flow.h (set_default_def): Rename to ... 2012-08-02 11:40:20 +00:00
lto-streamer-out.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
lto-streamer.c Replace cgraph_node_set and varpool_node_set by symtab_node_encoder in partitioning. 2012-09-09 12:31:32 +00:00
lto-streamer.h passes.c (ipa_write_summaries_1): Set state; do not call compute_ltrans_boundary. 2012-09-09 17:29:21 +00:00
lto-symtab.c lto-symtab.c (lto_symtab_resolve_symbols): Preffer decl with constructor over decl without. 2012-05-17 16:37:33 +00:00
lto-wrapper.c LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
machmode.def
machmode.h Use synth_mult for vector multiplies vs scalar constant 2012-06-19 11:19:16 -07:00
main.c
mcf.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
mkconfig.sh
mode-classes.def
mode-switching.c tm.texi.in (MODE_AFTER): Add entity as the first macro argument. 2012-07-19 16:49:01 +02:00
modulo-sched.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +00:00
omega.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
omega.h
omp-builtins.def
omp-low.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
opt-functions.awk dwarf2out.c (gen_producer_string): Omit command line switch if CL_NO_DWARF_RECORD flag set. 2012-08-24 14:58:06 +00:00
opt-gather.awk
opt-include.awk
opt-read.awk re PR c/53063 (encode group options in the .opt files) 2012-05-14 13:30:32 +00:00
optabs.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
optabs.def Reduce the size of optabs representation 2012-07-24 11:28:15 -07:00
optabs.h Reduce the size of optabs representation 2012-07-24 11:28:15 -07:00
optc-gen.awk c.opt (--pedantic-errors,-pedantic-errors): Do not handle here. 2012-05-17 11:50:37 +00:00
optc-save-gen.awk
opth-gen.awk re PR c/53063 (encode group options in the .opt files) 2012-05-14 13:30:32 +00:00
opts-common.c
opts-diagnostic.h
opts-global.c
opts.c opts.c (common_handle_option): Do not set flag_value_profile_transformations for -fprofile-generate. 2012-07-23 09:24:21 +00:00
opts.h dwarf2out.c (gen_producer_string): Omit command line switch if CL_NO_DWARF_RECORD flag set. 2012-08-24 14:58:06 +00:00
output.h hooks.c (hook_int_rtx_mode_as_bool_0): New function. 2012-09-05 17:31:17 +00:00
params.c
params.def params.def (PARAM_IPA_MAX_AGG_ITEMS): New parameter. 2012-09-10 17:58:57 +02:00
params.h
passes.c passes.c (ipa_write_summaries_1): Set state; do not call compute_ltrans_boundary. 2012-09-09 17:29:21 +00:00
plugin.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
plugin.def
plugin.h
pointer-set.c
pointer-set.h
postreload-gcse.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
postreload.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
predict.c predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
predict.def Hot/cold attributes for labels. 2012-07-26 14:31:40 -07:00
predict.h
prefix.c
prefix.h
pretty-print.c cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
pretty-print.h cfg.c (debug_bb): Do not set TDF_BLOCKS. 2012-08-07 22:14:29 +00:00
print-rtl.c cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. 2012-08-02 22:39:57 +00:00
print-tree.c print-tree.c (print_node): Don't check TREE_LANG_FLAG_* on TREE_VEC or SSA_NAME. 2012-08-24 22:29:00 -04:00
profile.c Enhances the gcov program summary by adding a histogram of arc counter entries. 2012-09-04 21:16:18 +00:00
profile.h
read-md.c re PR other/29442 (insn-attrtab has grown too large) 2012-05-04 20:04:47 +00:00
read-md.h re PR other/29442 (insn-attrtab has grown too large) 2012-05-04 20:04:47 +00:00
read-rtl.c Implement support for int iterators. 2012-06-18 11:43:03 +01:00
real.c 2012-06-2 Kenneth Zadeck <zadeck@naturalbridge.com> 2012-06-02 16:08:39 +00:00
real.h
realmpfr.c
realmpfr.h revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04:00
recog.c cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. 2012-08-02 22:39:57 +00:00
recog.h recog.c (insn_invalid_p): Add IN_GROUP parameter and use validate_change to add clobbers if... 2012-04-24 07:01:52 +00:00
ree.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
reg-notes.def attribs.c (decl_attributes): Avoid emitting a warning if ATTR_FLAG_BUILT_IN. 2012-05-14 12:08:31 +00:00
reg-stack.c i386.h (FP_REG_P): Remove macro. 2012-08-25 19:16:05 +02:00
regcprop.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
reginfo.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
regmove.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
regrename.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
regrename.h
regs.h basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
regset.h basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
regstat.c basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
reload.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
reload.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
reload1.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
reorg.c reorg.c (dbr_schedule): Delete REG_BR_PRED loop. 2012-08-02 20:40:10 +00:00
resource.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
resource.h
rtl-error.c
rtl-error.h
rtl.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
rtl.def cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. 2012-08-02 22:39:57 +00:00
rtl.h alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
rtlanal.c hooks.c (hook_int_rtx_mode_as_bool_0): New function. 2012-09-05 17:31:17 +00:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c bitmap.h: Add explanation of sparse set as linked-list bitmap. 2012-07-26 12:02:54 +00:00
sbitmap.h bitmap.h: Add explanation of sparse set as linked-list bitmap. 2012-07-26 12:02:54 +00:00
sched-deps.c sched-deps.c (add_dependence_list_and_free): Simplify. 2012-08-27 22:11:48 +00:00
sched-ebb.c cfglayout.h: Remove. 2012-06-17 21:08:39 +00:00
sched-int.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sched-rgn.c re PR rtl-optimization/54456 (ICE: in init_seqno, at sel-sched.c:6797 with -fschedule-insns -fselective-scheduling) 2012-09-04 19:05:38 +00:00
sched-vis.c sched-vis (print_pattern): Handle SEQUENCE also. 2012-08-03 07:58:49 +00:00
sdbout.c output.h: (current_function_is_leaf... 2012-06-24 17:58:46 +00:00
sdbout.h
sel-sched-dump.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
sel-sched-dump.h
sel-sched-ir.c re PR rtl-optimization/54455 (ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418) 2012-09-06 09:29:12 +02:00
sel-sched-ir.h backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sel-sched.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
sel-sched.h
sese.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
sese.h
simplify-rtx.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
sparseset.c sparseset.c (sparseset_alloc): Use non-clearing allocation. 2012-08-18 13:44:00 +00:00
sparseset.h bitmap.h: Add explanation of sparse set as linked-list bitmap. 2012-07-26 12:02:54 +00:00
sreal.c
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c output.h: (current_function_is_leaf... 2012-06-24 17:58:46 +00:00
statistics.c basic-block.h: Re-group most prototypes per file. 2012-07-08 10:06:14 +00:00
statistics.h bitmap.c (bitmap_descriptor): Adjust order of parameters to match MEM_STAT_DECL. 2012-07-24 13:53:42 -04:00
stmt.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
stor-layout.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
store-motion.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
streamer-hooks.c
streamer-hooks.h
stringpool.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
symtab.c lto-cgraph.c (compute_ltrans_boundary): Do not care about aliases. 2012-09-10 08:32:36 +00:00
sync-builtins.def
system.h Convert MEMBER_TYPE_FORCES_BLK to target hook 2012-08-17 08:50:44 -07:00
target-def.h
target-globals.c Makefile.in (lower-subreg.o, [...]): Depend on lower-subreg.h. 2012-05-01 14:45:24 +00:00
target-globals.h Makefile.in (lower-subreg.o, [...]): Depend on lower-subreg.h. 2012-05-01 14:45:24 +00:00
target-hooks-macros.h LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
target.def hooks.c (hook_int_rtx_mode_as_bool_0): New function. 2012-09-05 17:31:17 +00:00
target.h tm.texi: Regenerate. 2012-07-25 03:07:08 +00:00
targhooks.c Convert MEMBER_TYPE_FORCES_BLK to target hook 2012-08-17 08:50:44 -07:00
targhooks.h Convert MEMBER_TYPE_FORCES_BLK to target hook 2012-08-17 08:50:44 -07:00
timevar.c The intent of the phases was to have a high-level but mutually exclusive accounting of compile time. 2012-06-19 01:30:31 +00:00
timevar.def timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
timevar.h
tlink.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
toplev.c toplev.c (init_asm_output): Open asm_out_file in 'w' mode. 2012-07-14 17:28:31 +00:00
toplev.h toplev.h (tree_rest_of_compilation): Remove. 2012-04-10 11:56:05 +00:00
tracer.c tracer.c (mark_bb_seen): Use SBITMAP_SIZE. 2012-08-22 21:38:03 +00:00
trans-mem.c tree-flow.h (make_rename_temp): Remove. 2012-08-02 11:41:35 +00:00
trans-mem.h
tree-affine.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-affine.h tree-affine.h (print_aff): Remove. 2012-03-30 08:52:32 +00:00
tree-browser.c
tree-browser.def
tree-call-cdce.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-cfg.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-cfgcleanup.c graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +00:00
tree-chrec.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-chrec.h re PR tree-optimization/52943 (likely wrong code bug caused by predictive commoning) 2012-04-12 11:38:47 +00:00
tree-complex.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-data-ref.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-data-ref.h re PR tree-optimization/53081 (memcpy/memset loop recognition) 2012-06-06 09:45:27 +00:00
tree-dfa.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-diagnostic.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-diagnostic.h tree-pretty-print.h (default_tree_printer): Do not declare. 2012-04-24 19:21:21 +00:00
tree-dump.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-dump.h system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-eh.c gimple.h (gimple_build_switch): Remove. 2012-09-04 13:03:02 +00:00
tree-emutls.c tree-emutls.c (new_emutls_decl): When a var_section is requested by the target... 2012-08-06 15:15:37 +00:00
tree-flow-inline.h Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-flow.h tree-flow.h (register_new_name_mapping): Remove. 2012-08-20 12:04:38 +00:00
tree-if-conv.c re PR tree-optimization/53395 (The LAPACK functions i(d|s)amax are more than two times slower after revision 187183) 2012-09-03 13:31:52 -07:00
tree-inline.c re PR tree-optimization/54494 (Missing store to volatile) 2012-09-06 01:08:09 -07:00
tree-inline.h basic-block.h (struct edge_def): Use basic_block instead of basic_block_def *. 2012-07-11 08:46:17 +00:00
tree-into-ssa.c tree-ssa-loop-ch.c (copy_loop_headers): Remove redundant checking. 2012-08-22 13:14:32 +00:00
tree-iterator.c tree-iterator.c (append_to_statement_list_1): Handle case that *list_p is not a STMT_LIST. 2012-04-17 18:28:34 +00:00
tree-iterator.h
tree-loop-distribution.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-mudflap.c tree-flow.h (make_rename_temp): Remove. 2012-08-02 11:41:35 +00:00
tree-mudflap.h
tree-nested.c tree-into-ssa.c (rewrite_stmt): Remove clobbers for variables we rewrite into SSA form. 2012-08-07 12:11:43 +00:00
tree-nomudflap.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
tree-nrv.c tree-complex.c (init_parameter_lattice_values): Don't call var_ann. 2012-08-01 14:58:38 +00:00
tree-object-size.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-optimize.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-outof-ssa.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-parloops.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-pass.h Replace cgraph_node_set and varpool_node_set by symtab_node_encoder in partitioning. 2012-09-09 12:31:32 +00:00
tree-phinodes.c gimple.h (gimple_phi_set_result): Adjust SSA_NAME_DEF_STMT. 2012-08-07 10:36:01 +00:00
tree-predcom.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-pretty-print.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-pretty-print.h tree-pretty-print.h (default_tree_printer): Do not declare. 2012-04-24 19:21:21 +00:00
tree-profile.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-scalar-evolution.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-scalar-evolution.h
tree-sra.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-address.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-alias.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-alias.h re PR tree-optimization/54498 (incorrect code generation from g++ -O) 2012-09-06 14:47:42 +00:00
tree-ssa-ccp.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-coalesce.c bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit. 2012-09-07 10:23:06 +00:00
tree-ssa-copy.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-copyrename.c re PR tree-optimization/54200 (copyrename generates wrong debuginfo) 2012-08-13 09:29:28 +00:00
tree-ssa-dce.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-dom.c tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free the affine expansion cache. 2012-08-21 11:48:42 +00:00
tree-ssa-dse.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-ssa-forwprop.c tree-ssa-forwprop.c (simplify_bitfield_ref): New function. 2012-09-10 18:48:34 +00:00
tree-ssa-ifcombine.c re PR tree-optimization/51938 (missed optimization: 2 comparisons) 2012-08-06 16:38:48 +00:00
tree-ssa-live.c tree-ssa-live.c (dump_var_map): Do not dump the partition map of virtual operands. 2012-08-24 20:25:42 +00:00
tree-ssa-live.h re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-17 09:42:06 +00:00
tree-ssa-loop-ch.c re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-09-03 15:39:15 +00:00
tree-ssa-loop-im.c tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free the affine expansion cache. 2012-08-21 11:48:42 +00:00
tree-ssa-loop-ivcanon.c re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-09-05 13:29:13 +00:00
tree-ssa-loop-ivopts.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-loop-manip.c re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-09-05 13:29:13 +00:00
tree-ssa-loop-niter.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-loop-prefetch.c tree-flow.h (struct gimple_df): Remove syms_to_rename member, add ssa_renaming_needed and rename_vops flags. 2012-08-01 11:48:04 +00:00
tree-ssa-loop-unswitch.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-ssa-loop.c timevar.def (TV_VARPOOL, [...]): Remove. 2012-08-15 08:47:13 +00:00
tree-ssa-math-opts.c re PR tree-optimization/54295 (Widening multiply-accumulate operation uses wrong value extension) 2012-09-07 10:37:08 +00:00
tree-ssa-operands.c predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
tree-ssa-operands.h predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
tree-ssa-phiopt.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-phiprop.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-ssa-pre.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-propagate.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
tree-ssa-sccvn.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssa-sccvn.h re PR tree-optimization/52009 (Another missed tail merging opportunity) 2012-07-06 11:07:32 +00:00
tree-ssa-sink.c basic-block.h (struct basic_block): Remove loop_depth member, move flags and index members next to each other. 2012-08-13 13:49:54 +00:00
tree-ssa-strlen.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-structalias.c re PR middle-end/53667 (Cray pointer: Wrong result with optimizations) 2012-09-07 10:27:02 +00:00
tree-ssa-tail-merge.c hash-table.h (class hash_table): Use a descriptor template argument instead of decomposed element type and... 2012-08-17 08:03:54 +00:00
tree-ssa-ter.c re PR middle-end/54146 (Very slow compile with attribute((flatten))) 2012-08-17 09:42:06 +00:00
tree-ssa-threadedge.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa-threadupdate.c re PR middle-end/54520 (ice in merge_latch_edges with -O3) 2012-09-10 14:10:09 +00:00
tree-ssa-uncprop.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-ssa-uninit.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-ssa.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-ssanames.c tree.h (SSA_NAME_VAR): Return NULL_TREE if an IDENTIFIER_NODE is recorded as var. 2012-08-10 08:29:29 +00:00
tree-stdarg.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-stdarg.h
tree-streamer-in.c re PR c/52977 (internal compiler error: Segmentation fault with `-x c-header' or `-x cxx-header' option) 2012-04-16 13:21:30 +00:00
tree-streamer-out.c tree.h (TREE_VECTOR_CST_ELTS): Remove. 2012-03-16 09:47:09 +00:00
tree-streamer.c tree.h (enum size_type_kind): Add stk_ prefix to constants, convert in lowercase. 2012-03-20 08:47:27 +00:00
tree-streamer.h
tree-switch-conversion.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-tailcall.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-data-refs.c tree-vrp.c (find_assert_locations): Skip also edges from the entry block. 2012-08-22 11:19:39 +02:00
tree-vect-generic.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-loop-manip.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree-vect-loop.c tree-vect-loop.c (vect_transform_loop): Initialize check_profitability to false. 2012-08-22 15:00:13 +02:00
tree-vect-patterns.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-vect-slp.c tree-vectorizer.c (vectorize_loops): Do not call mark_virtual_operands_for_renaming. 2012-08-22 15:11:26 +00:00
tree-vect-stmts.c tree-vect-stmts.c (vect_finish_stmt_generation): Update virtual SSA form. 2012-08-23 11:17:29 +00:00
tree-vectorizer.c tree-vectorizer.c (vectorize_loops): Do not call mark_virtual_operands_for_renaming. 2012-08-22 15:11:26 +00:00
tree-vectorizer.h re PR tree-optimization/53773 (Vectorizer generates non-canonical multiplies) 2012-07-31 12:25:04 +00:00
tree-vrp.c re PR tree-optimization/53986 (missing vrp on bit-mask test, LSHIFT_EXPR not handled) 2012-09-07 09:21:11 +00:00
tree.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
tree.def Add VEC_WIDEN_MULT_EVEN/ODD_EXPR 2012-07-10 01:23:39 -07:00
tree.h Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
treestruct.def
tsystem.h
typeclass.h
valtrack.c re PR debug/53923 (ICE: RTL check: expected code 'reg', have 'debug_expr' in rhs_regno, at rtl.h:1091) 2012-09-03 13:42:31 +02:00
valtrack.h re PR debug/52983 (internal compiler error: in df_uses_record, at df-scan.c:3243) 2012-08-02 00:34:11 +00:00
value-prof.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
value-prof.h
var-tracking.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
varasm.c Modify gcc/*.[hc] double_int call sites to use the new interface. 2012-09-07 00:06:35 +00:00
varpool.c LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
vec.c Make all VEC_* functions, member functions of vec_t. 2012-09-04 09:22:54 -04:00
vec.h re PR bootstrap/54484 (r190927 breaks bootstrap with clang compiler) 2012-09-05 12:34:42 -04:00
vecir.h
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c system.h (UNALIGNED_SHORT_ASM_OP, [...]): Poison. 2012-06-26 17:26:19 +00:00
web.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
xcoff.h
xcoffout.c
xcoffout.h

README.Portability

Copyright (C) 2000, 2003 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 know 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.