gcc/gcc
Martin Jambor 5b62ee8ae3 re PR middle-end/32964 (union cause inefficient code inside loops)
2009-08-06  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/32964
	* testsuite/gcc.dg/tree-ssa/pr32964.c: New test.

From-SVN: r150523
2009-08-06 13:55:30 +02:00
..
ada Add missing entry 2009-08-02 14:34:42 +00:00
config re PR target/40957 (standard_sse_constant_opcode crash on x86 64) 2009-08-06 13:43:38 +02:00
cp re PR c++/36069 (Strange "warning: suggest parentheses around assignment used as truth value" with volatile/non volatile bools) 2009-08-04 23:51:07 +00:00
doc invoke.texi (MIPS Options): Document new 1004K -march options. 2009-08-04 20:46:07 -04:00
fortran re PR fortran/40969 (Revision 150465 failed gfortran.dg/c_by_val_1.f) 2009-08-05 22:47:19 +02:00
ginclude Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
java re PR middle-end/40867 (FAIL: StackTrace2 output - source compiled test) 2009-08-03 17:55:11 +00:00
objc re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
objcp sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
po * es.po: Update. 2009-08-06 12:00:59 +01:00
testsuite re PR middle-end/32964 (union cause inefficient code inside loops) 2009-08-06 13:55:30 +02:00
ABOUT-GCC-NLS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
acinclude.m4 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
aclocal.m4 Makefile.in (AUTOCONF, [...]): New variables. 2009-07-30 22:33:49 +00:00
addresses.h
alias.c re PR bootstrap/40753 (ICE in refs_may_alias_p_1 for libffi/src/powerpc/ffi.c) 2009-07-15 09:25:34 +00:00
alias.h re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
alloc-pool.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
alloc-pool.h
attribs.c attribs.c (register_attribute): Use CONST_CAST. 2009-06-01 16:35:01 +00:00
auto-inc-dec.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
BASE-VER * BASE-VER: Change to 4.5.0. 2009-03-27 20:56:48 +00:00
basic-block.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
bb-reorder.c bb-reorder.c (partition_hot_cold_basic_blocks): Do not enter/exit cfglayout mode. 2009-03-30 08:58:52 +00:00
bitmap.c bitmap.h (bitmap_ior_and_into): New. 2009-06-27 14:46:56 +00:00
bitmap.h bitmap.h (bitmap_ior_and_into): New. 2009-06-27 14:46:56 +00:00
bt-load.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
builtin-attrs.def
builtin-types.def
builtins.c re PR bootstrap/40781 (Revision 149722 failed to bootstrap) 2009-07-16 18:03:55 -07:00
builtins.def re PR c/39252 (Request new feature __builtin_unreachable ()) 2009-06-11 23:55:45 +00:00
c-aux-info.c
c-common.c extend.texi (Labels as Values): Document need for noclone. 2009-07-25 20:09:42 +02:00
c-common.def re PR middle-end/323 (optimized code gives strange floating point results) 2009-03-30 02:50:44 +01:00
c-common.h re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-config-lang.in
c-convert.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-cppbuiltin.c re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
c-decl.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-dump.c
c-errors.c
c-format.c pretty-print.c (pp_base_format): Remove %J. 2009-07-07 15:29:12 +00:00
c-format.h
c-gimplify.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-lang.c
c-lex.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
c-objc-common.c c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-objc-common.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
c-omp.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-opts.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-parser.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-pch.c c-pch.c (get_ident): Don't set size of templ array. 2009-06-17 13:21:23 +00:00
c-ppoutput.c re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
c-pragma.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
c-pragma.h
c-pretty-print.c pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
c-pretty-print.h c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-semantics.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
c-tree.h tree-cfg.c (gimple_redirect_edge_and_branch): Change ERROR_MARK to GIMPLE_ERROR_MARK. 2009-06-19 20:55:27 +00:00
c-typeck.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c.opt re PR c/25509 (can't disable __attribute__((warn_unused_result))) 2009-07-10 07:27:32 +00:00
caller-save.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
calls.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
cfg.c
cfganal.c
cfgbuild.c cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. 2009-04-22 04:48:34 +00:00
cfgcleanup.c re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
cfgexpand.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
cfghooks.c cfghooks.c (split_block): Copy discriminator to new block. 2009-07-24 15:37:05 -07:00
cfghooks.h
cfglayout.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cfglayout.h
cfgloop.c New implementation of Graphite. 2009-07-31 02:44:28 +00:00
cfgloop.h New implementation of Graphite. 2009-07-31 02:44:28 +00:00
cfgloopanal.c cfgloopanal.c (check_irred): Move into ... 2009-06-30 14:56:37 +00:00
cfgloopmanip.c Leave the loop_latch basic block empty. 2009-07-31 02:33:46 +00:00
cfgrtl.c re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
cgraph.c cgraph.c (cgraph_set_call_stmt_including_clones): Tidy. 2009-07-29 17:34:47 -07:00
cgraph.h cgraph.h (constant_pool_htab): New function. 2009-07-20 19:35:25 +00:00
cgraphbuild.c cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node. 2009-05-10 15:11:01 +00:00
cgraphunit.c cgraph.h (combined_args_to_skip): New field. 2009-07-20 14:15:02 +02:00
ChangeLog re PR target/40957 (standard_sse_constant_opcode crash on x86 64) 2009-08-06 13:43:38 +02:00
ChangeLog-1997 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1998 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1999 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2000 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2001 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2002 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2003 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2004 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2005 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2006 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2007 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2008 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.dataflow ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.graphite New Graphite files. 2009-07-31 02:43:11 +00:00
ChangeLog.lib ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.ptr ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tree-ssa ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tuples ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
cif-code.def Bring from lto-branch: 2009-03-28 11:10:06 +00:00
collect2-aix.c Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. 2009-06-02 19:06:56 +00:00
collect2-aix.h Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. 2009-06-02 19:06:56 +00:00
collect2.c collect2.c (scan_libraries): Use CONST_CAST2 to perform char ** to const char ** conversion. 2009-07-26 00:03:39 +00:00
collect2.h
combine-stack-adj.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
combine.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
common.opt Rename -fgraphite-force-parallel to -floop-parallelize-all. 2009-08-01 18:22:58 +00:00
conditions.h
config.build
config.gcc config.gcc (hppa[12]*-*-hpux10*): Add stdint support. 2009-08-02 01:25:33 +00:00
config.host config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha. 2009-03-24 10:33:57 +00:00
config.in Step 1 of VSX changes: Powerpc infrstructure changes 2009-06-23 20:15:15 +00:00
configure sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
configure.ac sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
convert.c convert.c (convert_to_pointer): Don't assume the target pointer type is POINTER_SIZE long. 2009-07-27 17:40:57 +00:00
convert.h
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
coretypes.h tree.c (list_equal_p): New function. 2009-04-25 18:27:19 +00:00
coverage.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cselib.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cselib.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
cstamp-h.in
DATESTAMP Daily bump. 2009-08-06 00:16:44 +00:00
dbgcnt.c dbgcnt name matching bug fix 2009-07-20 19:08:15 +00:00
dbgcnt.def dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +00:00
dbgcnt.h
dbxout.c re PR debug/40666 (Ada tools build failure) 2009-07-07 20:46:06 +00:00
dbxout.h
dce.c tree-ssa-operands.c (get_expr_operands): Do not handle INDIRECT_REFs in the handled-component case. 2009-05-29 09:49:42 +00:00
dce.h
ddg.c
ddg.h
debug.c dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
debug.h dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
defaults.h re PR target/40667 (stack frames are generated even with -fomit-frame-pointer) 2009-07-11 19:40:29 +02:00
DEV-PHASE
df-byte-scan.c
df-core.c * df-core.c (df_ref_debug): Honor -fdump-noaddr. 2009-06-02 08:08:57 +00:00
df-problems.c df-problems.c (df_set_seen, [...]): Delete. 2009-06-27 14:50:00 +00:00
df-scan.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
df.h re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
dfp.c re PR middle-end/39986 (decimal float constant is incorrect when cc1 is a 64-bit binary) 2009-05-06 16:59:53 +00:00
dfp.h
diagnostic.c diagnostic.c (diagnostic_build_prefix): Always print columns. 2009-06-01 16:09:33 +00:00
diagnostic.def ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
diagnostic.h re PR testsuite/40488 (Revision 148642 caused extra failures) 2009-06-18 16:27:40 -07:00
dojump.c dojump.c (do_compare_rtx_and_jump): Try swapping the condition for floating point modes. 2009-06-28 17:03:03 +00:00
dominance.c basic-block.h (get_all_dominated_blocks): Declare. 2009-04-20 14:01:52 +00:00
domwalk.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
domwalk.h domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
double-int.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
double-int.h
dse.c re PR rtl-optimization/40924 (miscompiles with -O3 (seemingly related to attribute may_alias)) 2009-08-05 14:36:34 +02:00
dse.h
dummy-checksum.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
dwarf2asm.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
dwarf2asm.h
dwarf2out.c dwarf2out.c (add_name_and_src_coords_attributes): Push on the correct stack (obvious VMS fix). 2009-07-29 20:55:49 +00:00
dwarf2out.h cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
ebitmap.c
ebitmap.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
emit-rtl.c re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
emit-rtl.h
emutls.c re PR other/40024 (trunk/gcc-4.3/gcc: * emutls.c (emutls_destroy): Don' t fall out of the array bound.) 2009-06-01 20:03:26 +02:00
errors.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
errors.h Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
et-forest.c
et-forest.h
except.c re PR tree-optimization/40585 (tracer duplicates blocks w/o adjusting EH tree) 2009-07-12 12:07:35 +00:00
except.h cgraph.c (dump_cgraph_node): Dump size/time/benefit. 2009-05-25 21:59:24 +00:00
exec-tool.in
explow.c explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused. 2009-08-03 09:18:28 +00:00
expmed.c expmed.c (emit_store_flag): Use a recursive call to optimize the xor case. 2009-07-24 13:40:04 +00:00
expr.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
expr.h expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
final.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
fixed-value.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
fixed-value.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
flags.h re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
fold-const.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
fp-test.c
FSFChangeLog ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
FSFChangeLog.10 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
FSFChangeLog.11 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
function.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
function.h function.h (struct function): Add cannot_be_copied_reason, and cannot_be_copied_set. 2009-06-26 11:23:32 -07:00
fwprop.c re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
gbl-ctors.h gbl-ctors.h: Add header guard. 2009-06-07 21:53:14 +02:00
gcc-plugin.h plugins.texi: Document PLUGIN_START_UNIT. 2009-06-29 21:17:40 +00:00
gcc.c gcc.c (option_map): New flag -no-canonical-prefixes. 2009-07-16 11:25:20 +00:00
gcc.h
gccbug.in
gccspec.c
gcov-dump.c
gcov-io.c
gcov-io.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gcov-iov.c
gcov.c df-problems.c (df_simulate_one_insn_forwards): Fix braces in switch. 2009-06-16 05:12:15 +00:00
gcse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
gdbinit.in ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
genattr.c
genattrtab.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
genautomata.c Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
gencheck.c
genchecksum.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c
genextract.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
genflags.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
gengenrtl.c
gengtype-lex.l hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
gengtype-parse.c gengtype-parse.c (parse_error): Add newline after message. 2009-04-24 09:46:47 -04:00
gengtype.c plugins.texi (Interacting with the GCC Garbage Collector): Mention the plugin mode of gengtype. 2009-06-16 05:56:39 +00:00
gengtype.h
genmddeps.c
genmodes.c
genmultilib
genopinit.c re PR testsuite/40491 (Revision 148663 caused extra failures) 2009-06-19 16:22:16 +02:00
genoutput.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
genpeep.c
genpreds.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
genrecog.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
gensupport.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
gensupport.h
ggc-common.c plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
ggc-none.c
ggc-page.c ggc-page.c (ggc_pch_write_object): Initialize emptyBytes. 2009-06-19 15:32:43 +00:00
ggc-zone.c plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
ggc.h plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
gimple-iterator.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
gimple-low.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
gimple-pretty-print.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
gimple.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
gimple.def re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
gimple.h re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
gimplify.c re PR c/40787 (ICE: verify_gimple failed in gcc.dg/pr35899.c) 2009-07-18 11:16:07 +00:00
glimits.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
graph.c
graph.h
graphds.c
graphds.h
graphite-blocking.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-clast-to-gimple.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-clast-to-gimple.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-dependences.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-dependences.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-interchange.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-poly.c Rename -fgraphite-force-parallel to -floop-parallelize-all. 2009-08-01 18:22:58 +00:00
graphite-poly.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-ppl.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-ppl.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-scop-detection.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-scop-detection.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-sese-to-poly.c build alias set for drs in SCoP instead of in pbb. 2009-08-05 07:37:36 +00:00
graphite-sese-to-poly.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite.c Rename -fgraphite-force-parallel to -floop-parallelize-all. 2009-08-01 18:22:58 +00:00
graphite.h New implementation of Graphite. 2009-07-31 02:44:28 +00:00
gsstruct.def
gstab.h gstab.h (stab_code_type): Define, to be used instead of the __stab_debug_code enum, made anonymous. 2009-05-20 12:44:44 +00:00
gsyms.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
gsyslimits.h
gthr-aix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-dce.h gthr-dce.h (CONST_CAST2): Define if not defined. 2009-08-02 01:38:27 +00:00
gthr-gnat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-gnat.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-lynx.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-mipssde.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-nks.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix95.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-rtems.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-single.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-solaris.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-tpf.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-vxworks.h gthr-vxworks.h (struct __gthread_once_t): Add alignment and padding for PPC. 2009-04-22 10:53:53 +00:00
gthr-win32.h mingw-tls.c: New file. 2009-05-30 11:05:56 +02:00
gthr.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
haifa-sched.c 2009-07-13 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-07-13 22:42:41 +00:00
hard-reg-set.h
hooks.c tm.texi (Misc): Document TARGET_INVALID_PARAMETER_TYPE... 2009-05-20 23:06:12 -04:00
hooks.h tm.texi (Misc): Document TARGET_INVALID_PARAMETER_TYPE... 2009-05-20 23:06:12 -04:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h re PR middle-end/39301 (ICE in register_overhead, at bitmap.c:115) 2009-05-16 15:42:15 -07:00
ifcvt.c re PR middle-end/40525 (if conversion (in dead_or_predicable) fails for targets with limited conditional execution support) 2009-06-26 06:06:04 +00:00
incpath.c
incpath.h
init-regs.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
input.h
insn-addr.h
insn-notes.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
integrate.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
integrate.h
intl.c intl.c (locale_encoding, [...]): New. 2009-05-04 13:23:50 +01:00
intl.h intl.c (locale_encoding, [...]): New. 2009-05-04 13:23:50 +01:00
ipa-cp.c function.h (struct function): Add cannot_be_copied_reason, and cannot_be_copied_set. 2009-06-26 11:23:32 -07:00
ipa-inline.c re PR tree-optimization/40570 (ICE with recursion at -O3) 2009-07-30 18:26:09 +02:00
ipa-prop.c re PR tree-optimization/40914 (ipa_analyze_call_uses fails to handle ptrmemfunc_vbit_in_delta) 2009-07-31 21:56:28 +00:00
ipa-prop.h ipa-prop.h (struct ipa_node_params): New flag node_enqued. 2009-07-24 15:27:41 +02:00
ipa-pure-const.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
ipa-reference.c alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
ipa-reference.h
ipa-struct-reorg.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
ipa-struct-reorg.h
ipa-type-escape.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-type-escape.h
ipa-utils.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-utils.h re PR middle-end/40147 (Memory leak in revision 147436) 2009-05-14 08:45:32 -07:00
ipa.c cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node. 2009-05-10 15:11:01 +00:00
ira-build.c ira-build.c (copy_info_to_removed_store_destinations): Initialize parent_a. 2009-06-16 20:25:30 +00:00
ira-color.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-conflicts.c ira-conflicts.c (add_insn_allocno_copies): Fix wrong conditional. 2009-05-15 20:05:36 +00:00
ira-costs.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
ira-emit.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-int.h re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-lives.c re PR target/37488 (register allocation spills floats needlessly) 2009-07-22 22:00:17 +00:00
ira.c re PR target/37488 (register allocation spills floats needlessly) 2009-07-22 22:00:17 +00:00
ira.h
jump.c re PR debug/40462 (ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb) 2009-07-01 21:25:52 +02:00
lambda-code.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
lambda-mat.c
lambda-trans.c
lambda.h
langhooks-def.h cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
langhooks.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
langhooks.h cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
LANGUAGES ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
lcm.c
libfuncs.h
libgcc-std.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
libgcc2.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcc2.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcov.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
limitx.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
limity.h
lists.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
longlong.h
loop-doloop.c
loop-init.c
loop-invariant.c re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 07:51:46 +00:00
loop-iv.c re PR rtl-optimization/40209 (ICE in iv_analyze_def caused by stale REG_UNUSED note) 2009-07-24 04:01:13 +00:00
loop-unroll.c loop-unroll.c (struct iv_to_split): Add pointer to next. 2009-06-02 17:47:33 +00:00
loop-unswitch.c
lower-subreg.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
machmode.def
machmode.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
main.c re PR other/31567 (cc1, cc1plus, etc. don't support @file mechanism) 2009-04-17 17:11:46 -04:00
Makefile.in tree-ssa.c (useless_type_conversion_p_1): Make function and array type comparisons frontend independent. 2009-08-06 11:31:20 +00:00
matrix-reorg.c tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 21:44:39 +02:00
mcf.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
mips-tdump.c alpha.c (alpha_initialize_trampoline): Change 0 to LCT_NORMAL in function call. 2009-05-14 10:10:23 +00:00
mips-tfile.c gstab.h (stab_code_type): Define, to be used instead of the __stab_debug_code enum, made anonymous. 2009-05-20 12:44:44 +00:00
mkconfig.sh
mkmap-flat.awk
mkmap-symver.awk
mode-classes.def
mode-switching.c
modulo-sched.c modulo-sched.c (sms_schedule): stage_count <= 1 as correct comparison to skip unprofitable schedule 2009-07-16 16:20:28 +00:00
omega.c alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
omega.h alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
omp-builtins.def
omp-low.c tree-cfg.c (pass_warn_unused_result): Mark name that no dump file will be created. 2009-08-03 10:29:08 +00:00
ONEWS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
opt-functions.awk opt-functions.awk (opt_args): Allow argument to be enclosed in curly braces. 2009-07-30 07:22:28 +00:00
opt-gather.awk
optabs.c dojump.c (do_compare_rtx_and_jump): Try swapping the condition for floating point modes. 2009-06-28 17:03:03 +00:00
optabs.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
optc-gen.awk optc-gen.awk: Warn if an option flag has multiple different help strings. 2009-03-30 05:55:57 +00:00
opth-gen.awk common.opt (gdwarf-): Accept a version number. 2009-06-11 20:08:11 -07:00
opts-common.c
opts.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
opts.h
output.h tree.h (CONSTRUCTOR_BITFIELD_P): True if NODE... 2009-06-01 14:42:56 +00:00
params.c
params.def * params.def: Revert my accidental commit at 2009-06-30. 2009-07-06 09:37:01 +00:00
params.h 2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-06-08 16:00:13 +00:00
passes.c New implementation of Graphite. 2009-07-31 02:44:28 +00:00
plugin.c plugin.c (try_init_one_plugin): passes RTLD_GLOBAL to dlopen. 2009-07-09 17:57:14 +00:00
plugin.h 2009-05-13 Taras Glek <tglek@mozilla.com> 2009-05-14 01:38:33 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c
postreload.c re PR rtl-optimization/30807 (postreload bug (might be generic in trunk)) 2009-07-06 13:28:22 +00:00
predict.c cgraph.c (dump_cgraph_node): Dump size/time/benefit. 2009-05-25 21:59:24 +00:00
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c pretty-print.c (pp_base_format): Remove %J. 2009-07-07 15:29:12 +00:00
pretty-print.h pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
print-rtl.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
print-tree.c re PR middle-end/38212 (restrict implementation causes wrong-code) 2009-06-29 12:20:39 +00:00
profile.c profile.c (total_num_never_executed): Don't define. 2009-06-17 20:23:57 +00:00
profile.h
read-rtl.c
README.Portability
real.c real.c (encode_ieee_half): Define. 2009-05-15 10:22:58 -04:00
real.h builtins.c (do_mpc_arg2): New. 2009-07-16 17:46:30 +00:00
recog.c MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
recog.h MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
reg-notes.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
reg-stack.c re PR target/39856 (ICE in subst_stack_regs_pat, at reg-stack.c:1386) 2009-05-22 19:00:45 +00:00
regcprop.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
reginfo.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
regmove.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
regrename.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
regs.h
regstat.c regstat.c (regstat_n_sets_and_refs): Remove duplicate definition. 2009-05-31 23:11:51 +00:00
reload.c reload.c (alternative_allows_const_pool_ref): Mark mem parameter with ATTRIBUTE_UNUSED. 2009-06-23 22:11:22 +00:00
reload.h cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts. 2009-03-23 16:29:33 +00:00
reload1.c target.h (struct gcc_target): Add frame_pointer_required field. 2009-06-30 02:51:04 +04:00
reorg.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
resource.c re PR rtl-optimization/40710 (Linux kernel miscompiled for sh4-linux) 2009-07-15 21:32:46 +00:00
resource.h resource.c (mark_referenced_resources): Change include_delayed_effects parameter to bool. 2009-06-16 18:55:20 +00:00
rtl-error.c
rtl.c var-tracking.c (unshare_variable): Force initialized to be VAR_INIT_STATUS_INITIALIZED unless flag_var_tracking_uninit. 2009-06-23 16:32:59 +02:00
rtl.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
rtl.h re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
rtlanal.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
sched-deps.c
sched-ebb.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-int.h haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-rgn.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-vis.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
sdbout.c * sdbout.c (sdbout_one_type): Fix braces in switch. 2009-06-23 10:19:18 +00:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sel-sched-ir.h 20071210-2.c: New testcase. 2009-04-28 14:01:52 +04:00
sel-sched.c sel-sched.c: Make forward declarations of move_op_hooks and fur_hooks explicitly extern. 2009-06-16 19:09:35 +00:00
sel-sched.h
sese.c New Graphite files. 2009-07-31 02:43:11 +00:00
sese.h New Graphite files. 2009-07-31 02:43:11 +00:00
simplify-rtx.c re PR c/39902 (x * 1.0DF gets wrong value) 2009-08-03 21:38:53 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
stab.def
stack-ptr-mod.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
statistics.c statistics.c (statistics_counter_event): Do not record event in pass dump if its number == -1. 2009-06-03 18:36:47 +04:00
statistics.h
stmt.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
stor-layout.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
store-motion.c * store-motion.c Do not include params.h 2009-05-14 20:14:18 +00:00
stringpool.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
stub-objc.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
sync-builtins.def
system.h expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
target-def.h expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
target.h expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
targhooks.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
targhooks.h expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
timevar.c
timevar.def re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
timevar.h df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tlink.c
toplev.c tree-cfg.c (pass_warn_unused_result): Mark name that no dump file will be created. 2009-08-03 10:29:08 +00:00
toplev.h toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static inline, not extern inline. 2009-06-16 16:55:41 +00:00
tracer.c
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-cfg.c tree-cfg.c (pass_warn_unused_result): Mark name that no dump file will be created. 2009-08-03 10:29:08 +00:00
tree-cfgcleanup.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-chrec.c Implement evolution_function_right_is_integer_cst. 2009-07-31 02:39:06 +00:00
tree-chrec.h Implement evolution_function_right_is_integer_cst. 2009-07-31 02:39:06 +00:00
tree-complex.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-data-ref.c Add a new driver to data reference analysis. 2009-07-31 02:37:11 +00:00
tree-data-ref.h Add a new driver to data reference analysis. 2009-07-31 02:37:11 +00:00
tree-dfa.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-dump.c tree-pass.h (TDF_EH): Define. 2009-07-22 15:44:46 -04:00
tree-dump.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
tree-eh.c except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl. 2009-06-15 14:27:18 +00:00
tree-flow-inline.h Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-flow.h Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-if-conv.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-inline.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-inline.h cgraphunit.c (cgraph_finalize_compilation_unit): Call finalize_size_functions before further processing. 2009-06-30 17:26:32 +00:00
tree-into-ssa.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-iterator.c tree-iterator.c (expr_only): Remove. 2009-04-18 11:47:22 +00:00
tree-iterator.h tree-iterator.c (tsi_split_statement_list_after, [...]): Remove. 2009-04-16 18:50:07 +00:00
tree-loop-distribution.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-loop-linear.c
tree-mudflap.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-mudflap.h
tree-nested.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
tree-nomudflap.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
tree-nrv.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-object-size.c tree-object-size.c (addr_object_size): Handle unions with array in it as last field of structs in __bos (... 2009-07-20 19:39:22 +02:00
tree-optimize.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-outof-ssa.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
tree-parloops.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-pass.h tree-pass.h (TDF_EH): Define. 2009-07-22 15:44:46 -04:00
tree-phinodes.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-predcom.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-pretty-print.c tree-pretty-print.c (dump_generic_node): Protect against NULL op0. 2009-07-06 13:04:34 -04:00
tree-profile.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-scalar-evolution.c Return unknow from scev instantiation if the result is not above instantiate_below. 2009-07-31 02:30:03 +00:00
tree-scalar-evolution.h tree-scalar-evolution.c (compute_overall_effect_of_inner_loop): Not static anymore. 2009-07-31 02:28:50 +00:00
tree-sra.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-address.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
tree-ssa-alias.c tree-ssa-alias.c: Fix intervals to use [) syntax. 2009-08-05 10:20:33 -07:00
tree-ssa-alias.h tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-ssa-ccp.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-coalesce.c tree-ssa-coalesce.c (coalesce_cost): Do not take ciritical parameter; update callers. 2009-05-02 11:00:59 +00:00
tree-ssa-copy.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-copyrename.c re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
tree-ssa-dce.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-dom.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-dse.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-forwprop.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-ifcombine.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-live.c tree-ssa-live.c (remove_unused_locals): Do not remove heap variables. 2009-07-02 10:18:24 +00:00
tree-ssa-live.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
tree-ssa-loop-ch.c
tree-ssa-loop-im.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-loop-ivcanon.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
tree-ssa-loop-ivopts.c tree-ssa-loop-ivopts.c (strip_offset_1): New case. 2009-05-29 19:25:04 +00:00
tree-ssa-loop-manip.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-loop-niter.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
tree-ssa-loop-prefetch.c 2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-06-09 17:00:31 +00:00
tree-ssa-loop-unswitch.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-loop.c Rename -fgraphite-force-parallel to -floop-parallelize-all. 2009-08-01 18:22:58 +00:00
tree-ssa-math-opts.c re PR middle-end/40501 (error: invalid conversion in gimple call) 2009-06-24 07:01:24 +00:00
tree-ssa-operands.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-ssa-operands.h tree-ssa-operands.h (push_stmt_changes, [...]): Delete. 2009-05-24 11:20:29 +00:00
tree-ssa-phiopt.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-phiprop.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-pre.c tree-ssa.c (useless_type_conversion_p_1): Make function and array type comparisons frontend independent. 2009-08-06 11:31:20 +00:00
tree-ssa-propagate.c tree-ssa-operands.h (push_stmt_changes, [...]): Delete. 2009-05-24 11:20:29 +00:00
tree-ssa-propagate.h tree-ssa-propagate.c (stmt_makes_single_load): Remove. 2009-04-16 18:48:16 +00:00
tree-ssa-reassoc.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-ssa-sccvn.c tree-ssa.c (useless_type_conversion_p_1): Make function and array type comparisons frontend independent. 2009-08-06 11:31:20 +00:00
tree-ssa-sccvn.h tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 21:44:39 +02:00
tree-ssa-sink.c tree-ssa-sink.c (statement_sink_location): Stop sinking expression if the target bb post dominates from bb. 2009-06-30 06:51:29 +00:00
tree-ssa-structalias.c re PR middle-end/40964 (ICE in insert_vi_for_tree) 2009-08-06 11:29:13 +00:00
tree-ssa-ter.c ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
tree-ssa-threadedge.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-threadupdate.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-uncprop.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa.c tree-ssa.c (useless_type_conversion_p_1): Make function and array type comparisons frontend independent. 2009-08-06 11:31:20 +00:00
tree-ssanames.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-stdarg.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-stdarg.h
tree-switch-conversion.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-tailcall.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-data-refs.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-generic.c re PR tree-optimization/40550 (Segmentation fault caused by alignment error in sse code) 2009-06-28 20:33:54 +02:00
tree-vect-loop-manip.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-loop.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-patterns.c tree-parloops.c (loop_parallel_p): Call vect_is_simple_reduction with additional parameter. 2009-06-16 07:21:12 +00:00
tree-vect-slp.c re PR tree-optimization/39129 (The meaning of 'BB' in "too many BBs in loop") 2009-06-01 08:15:01 +00:00
tree-vect-stmts.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vectorizer.c tree-vectorizer.c (increase_alignment): Handle nested arrays. 2009-07-21 12:35:38 +00:00
tree-vectorizer.h tree-vectorizer.h (vectorizable_condition): Add parameters. 2009-07-20 11:59:10 +00:00
tree-vrp.c tree-vrp.c (vrp_evaluate_conditional): Mark strings for translation. 2009-07-14 22:21:17 +00:00
tree.c re PR middle-end/40964 (ICE in insert_vi_for_tree) 2009-08-06 11:29:13 +00:00
tree.def re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
tree.h re PR middle-end/40964 (ICE in insert_vi_for_tree) 2009-08-06 11:29:13 +00:00
treestruct.def tree.c: Include debug.h. 2009-07-06 13:06:26 -04:00
tsystem.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
typeclass.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-c.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-compat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-compat.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-compat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-darwin.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde-glibc.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-generic.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-pe.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-sjlj.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind.inc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
value-prof.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
value-prof.h
var-tracking.c var-tracking.c (unshare_variable): Force initialized to be VAR_INIT_STATUS_INITIALIZED unless flag_var_tracking_uninit. 2009-06-23 16:32:59 +02:00
varasm.c cgraph.h (constant_pool_htab): New function. 2009-07-20 19:35:25 +00:00
varpool.c [multiple changes] 2009-04-02 15:45:25 +00:00
varray.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
varray.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
vec.c df-problems.c (df_byte_lr_alloc): Don't set problem_data to itself. 2009-06-16 19:01:18 +00:00
vec.h vec.h (VEC_stack_alloc): Define different version if GATHER_STATISTICS is defined... 2009-06-17 00:10:23 +00:00
vecprim.h
version.c ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
version.h
vmsdbg.h
vmsdbgout.c dwarf2out.c (output_file_names): Output VMS style file name, size, date, version info if VMS_DEBUGGING_INFO defined. 2009-07-29 17:35:32 +00:00
web.c
xcoff.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
xcoffout.c dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
xcoffout.h dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00

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.


free and realloc
----------------

Some implementations crash upon attempts to free or realloc the null
pointer.  Thus if mem might be null, you need to write

  if (mem)
    free (mem);


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.