gcc/gcc
Ramana Radhakrishnan e3783e8274 re PR target/54252 (Bad alignment code generated for Neon loads)
Fix PR target/54252

2012-08-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
	    Richard Earnshaw  <richard.earnshaw@arm.com>

	PR target/54252
	* config/arm/arm.c (neon_dereference_pointer): Adjust nelems by
	element size. Use elem_type from the formal parameter. New parameter
	fcode.
	(neon_expand_args): Adjust call to neon_dereference_pointer.



Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>

From-SVN: r190800
2012-08-30 10:17:04 +00:00
..
ada layout.adb (Set_Elem_Alignment): Cap the alignment of access types to that of a regular access type for... 2012-08-19 14:17:22 +00:00
c re PR c/54355 (ICE on invalid code in switch statement) 2012-08-24 23:45:22 +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 rs6000-common.c (rs6000_handle_option): Delete handling for -mno-powerpc and -mpowerpc. 2012-08-16 03:18:01 +02:00
config re PR target/54252 (Bad alignment code generated for Neon loads) 2012-08-30 10:17:04 +00:00
cp re PR c++/51421 ([c++0x] ICE with invalid use of auto) 2012-08-25 09:53:30 +00:00
doc sh.opt (menable-tas): Rename to mtas. 2012-08-29 18:41:52 +00:00
fortran re PR fortran/54389 ([F2003/F2008 difference] PURE functions and pointer dummy arguments / DECL_PURE_P issue) 2012-08-28 20:18:11 +02:00
ginclude
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 tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +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 mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_synci if TARGET_SYNCI. 2012-08-29 18:57:49 +00:00
ABOUT-GCC-NLS
acinclude.m4
aclocal.m4
addresses.h
alias.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +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
BASE-VER
basic-block.h predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
bb-reorder.c predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
bb-reorder.h
bitmap.c bitmap.h: Add explanation of sparse set as linked-list bitmap. 2012-07-26 12:02:54 +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
builtins.c builtins.c (expand_builtin_atomic_compare_exchange): Pass old value operand as MEM to expand_atomic_compare_and_swap. 2012-08-08 18:03:37 +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 system.h (dump_file): Do not define. 2012-07-16 11:32:42 +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
ChangeLog re PR target/54252 (Bad alignment code generated for Neon loads) 2012-08-30 10:17:04 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog.dataflow
ChangeLog.graphite
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
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 alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00:00
common.opt Makefile.in (OBJS): Remove matrix-reorg.o. 2012-08-10 14:19:09 +00:00
compare-elim.c LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
conditions.h
config.build
config.gcc Add a stub header file "feedback.h," needed to compile glibc and linux. 2012-08-16 19:54:59 +00:00
config.host
config.in configure.ac (ffs): Check for declaration. 2012-08-20 13:31:25 +01:00
configure configure.ac (ffs): Check for declaration. 2012-08-20 13:31:25 +01:00
configure.ac configure.ac (ffs): Check for declaration. 2012-08-20 13:31:25 +01:00
convert.c
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
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 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
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
DATESTAMP Daily bump. 2012-08-30 00:18:21 +00:00
dbgcnt.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
dbgcnt.def
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
DEV-PHASE
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 Introduce and use code_to_optab and optab_to_code functions 2012-07-24 10:36:56 -07: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 double-int.h (double_int::from_unsigned): Rename to ... 2012-08-15 11:39:52 +00:00
double-int.h revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04: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 dwarf2out.c (gen_producer_string): Omit command line switch if CL_NO_DWARF_RECORD flag set. 2012-08-24 14:58:06 +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 alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +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 backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04: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 re PR middle-end/53823 (FAIL: gcc.c-torture/execute/930921-1.c execution at -O0 and -O1) 2012-08-18 23:16:53 +00:00
expmed.h Allow MODE_PARTIAL_INT in expmed costs 2012-08-01 13:26:58 -07:00
expr.c re PR c/53968 (integer undefined behaviors in GCC) 2012-08-13 14:39:54 +02: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 backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04: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 fold-const.c (fold_ternary_loc): Detect identity permutations. 2012-08-21 13:27:00 +00:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
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 backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
gcc.h
gcov-dump.c output.h (__gcc_host_wide_int__): Move to hwint.h. 2012-05-31 20:19:00 +00:00
gcov-io.c
gcov-io.h coverage.c: Refer to "notes file" instead of "graph file" in all comments. 2012-07-23 11:59:15 +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
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
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 re PR middle-end/54327 (Segmentation fault in init_ggc) 2012-08-20 10:26:45 +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 predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
gimple-pretty-print.h
gimple-ssa-strength-reduction.c re PR tree-optimization/54245 (incorrect optimisation) 2012-08-15 13:27:29 +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 tree-ssa-operands.h (virtual_operand_p): Declare. 2012-08-08 14:51:26 +00:00
gimple.def
gimple.h gimple.h (gimple_statement_base): Annotate with GTY chain_next. 2012-08-20 09:03:20 +00:00
gimplify.c re PR c/54363 (ICE when compiling malformed struct initializers) 2012-08-24 23:46:17 +02:00
glimits.h
godump.c
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 graphite-scop-detection.c (create_sese_edges): Compute dominance info before trying to fix loop structure. 2012-08-14 16:01:10 +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 cloog.m4: Set up to work against ISL only. 2012-07-02 11:43:46 +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.h
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 re PR fortran/48636 (Enable more inlining with -O2 and higher) 2012-08-21 06:54:01 +00: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 re PR fortran/48636 (Enable more inlining with -O2 and higher) 2012-08-21 06:54:01 +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 backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04: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
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
LANGUAGES LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01: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 system.h (dump_file): Do not define. 2012-07-16 11:32:42 +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 tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +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 LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
lto-streamer.h tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +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
Makefile.in predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
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 re PR middle-end/53992 (Combining -fopenmp and -fgnu-tm results in segfault or misbehaving binaries) 2012-08-20 16:22:17 +00:00
ONEWS
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 re PR middle-end/54261 (reverse sync/atomic operators when only sync_compare_and_swap_optab libfuncs implemented) 2012-08-17 00:18: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 output.h: (current_function_is_leaf... 2012-06-24 17:58:46 +00:00
params.c
params.def re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-08-22 13:17:26 +00:00
params.h
passes.c tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +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 opts.c (common_handle_option): Do not set flag_value_profile_transformations for -fprofile-generate. 2012-07-23 09:24:21 +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
README.Portability
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
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
reload1.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +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
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 alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +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 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
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 backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04: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 simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle of a concatenation. 2012-08-17 17:53:57 +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 function.c (stack_protect_epilogue): Use expand_call to expand targetm.stack_protect_fail. 2012-07-16 11:47:59 +00:00
stor-layout.c Convert MEMBER_TYPE_FORCES_BLK to target hook 2012-08-17 08:50:44 -07: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 re PR middle-end/53161 (ICE with weakref function and a function which takes vector types) 2012-05-23 09:23:40 +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 Convert MEMBER_TYPE_FORCES_BLK to target hook 2012-08-17 08:50:44 -07: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
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 system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-affine.h
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 predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02: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
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 tree-dfa.c (set_ssa_default_def): Clear the SSA_NAME_DEFAULT_DEF bit of the old name when we clear the slot. 2012-08-07 14:16:11 +00:00
tree-diagnostic.c system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-diagnostic.h
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 cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +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 predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02:00
tree-flow.h tree-flow.h (register_new_name_mapping): Remove. 2012-08-20 12:04:38 +00:00
tree-if-conv.c cfgexpand.c (expand_used_vars): Use virtual_operand_p. 2012-08-14 14:16:18 +00:00
tree-inline.c tree-vrp.c (find_assert_locations): Skip also edges from the entry block. 2012-08-22 11:19:39 +02: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.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 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-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 tree-pass.h (write_summary, [...]): Remove set and vset arguments. 2012-08-13 02:37:51 +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 tree-vect-loop.c (vect_transform_loop): Initialize check_profitability to false. 2012-08-22 15:00:13 +02:00
tree-pretty-print.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-pretty-print.h
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 tree-sra.c (modify_function): Free redirect_callers vector. 2012-08-17 07:51:31 +00:00
tree-ssa-address.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-alias.c re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-08-22 13:17:26 +00:00
tree-ssa-alias.h re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-08-22 13:17:26 +00:00
tree-ssa-ccp.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-coalesce.c tree-ssa-coalesce.c (struct ssa_conflicts_d): Make contents of this a VEC and add a bitmap obstack. 2012-08-22 08:59:56 +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 fold-const.c (fold_ternary_loc): Detect identity permutations. 2012-08-21 13:27:00 +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 tree-ssa-loop-ch.c (copy_loop_headers): Remove redundant checking. 2012-08-22 13:14:32 +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 system.h (dump_file): Do not define. 2012-07-16 11:32:42 +00:00
tree-ssa-loop-ivopts.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-loop-manip.c tree-ssa-loop-manip.c (add_exit_phis_var): Allow virtual operands. 2012-08-23 07:38:54 +00:00
tree-ssa-loop-niter.c revert: re PR bootstrap/54281 (Fails to bootstrap with --disable-nls) 2012-08-16 14:24:22 -04: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-08-20 14:13:16 +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 re PR tree-optimization/54240 (Routine hoist_adjacent_loads does not work properly after r189366) 2012-08-15 13:17:42 +00:00
tree-ssa-phiprop.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +00:00
tree-ssa-pre.c re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-08-22 13:17:26 +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 re PR tree-optimization/46590 (long compile time with -O2 and many loops) 2012-08-22 13:17:26 +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/54146 (Very slow compile with attribute((flatten))) 2012-08-16 14:27:51 +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 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-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 predict.c (maybe_hot_frequency_p): New parameter fun. 2012-08-24 14:57:24 +02: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
tree-streamer-out.c
tree-streamer.c
tree-streamer.h
tree-switch-conversion.c tree-ssa-pre.c (pretemp, [...]): Remove. 2012-08-10 09:20:29 +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 tree-vrp.c (find_assert_locations): Skip also edges from the entry block. 2012-08-22 11:19:39 +02: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/54317 (FAIL: c45532m c45532n c45532o c45532p) 2012-08-22 12:29:23 +00:00
tree.c tree.c (copy_node_stat): Clear DECL_STRUCT_FUNCTION. 2012-08-23 12:02:40 +02:00
tree.def Add VEC_WIDEN_MULT_EVEN/ODD_EXPR 2012-07-10 01:23:39 -07:00
tree.h Make TREE_NOTHROW use the base.nothrow_flag again 2012-08-22 15:50:58 +02:00
treestruct.def
tsystem.h
typeclass.h
valtrack.c alias.c (rtx_equal_for_memref_p): Convert constant cases. 2012-08-23 18:46:18 +00: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 backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
varpool.c LANGUAGES: Fix typos. 2012-05-29 15:14:06 +01:00
vec.c backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
vec.h Restore df_free_collection_rec call in df_bb_verify 2012-08-21 14:07:01 -07: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

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.