gcc/gcc
Sebastian Pop e7cb8957bf Don't generate COND_EXPRs for degenerate_phi_result.
2010-05-28  Sebastian Pop  <sebastian.pop@amd.com>

	* tree-if-conv.c (replace_phi_with_cond_gimple_assign_stmt): Don't
	generate COND_EXPRs for degenerate_phi_result.

From-SVN: r159991
2010-05-28 18:42:06 +00:00
..
ada Makefile.in (ALL_CFLAGS): Add file-specific CFLAGS. 2010-05-27 16:02:50 +00:00
config re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) 2010-05-28 18:28:57 +01:00
cp re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) 2010-05-28 18:28:57 +01:00
doc c-common.c (c_common_nodes_and_builtins): Replace use of TARGET_ENUM_VA_LIST by target hook enum_va_list. 2010-05-28 13:58:35 +02:00
fortran re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) 2010-05-28 18:28:57 +01:00
ginclude c-common.c (flag_isoc1x): New. 2010-04-25 22:54:22 +01:00
java re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) 2010-05-28 18:28:57 +01:00
lto final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno). 2010-05-28 14:03:31 +01:00
objc diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
objcp Makefile.in (EXCEPT_H): Fix typo. 2010-05-25 18:14:23 +00:00
po * sv.po: Update. 2010-05-01 16:23:59 +01:00
testsuite re PR objc/44125 (const-str-9 fails.) 2010-05-28 18:33:45 +00:00
ABOUT-GCC-NLS
BASE-VER * BASE-VER: Change to 4.6.0. 2010-04-06 13:14:22 +02:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog Don't generate COND_EXPRs for degenerate_phi_result. 2010-05-28 18:42:06 +00:00
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002 re PR other/42537 ([PATCH] misc spelling fixes) 2009-12-30 10:53:31 +00:00
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005 re PR other/42537 ([PATCH] misc spelling fixes) 2009-12-30 10:53:31 +00:00
ChangeLog-2006 re PR other/42537 ([PATCH] misc spelling fixes) 2009-12-30 10:53:31 +00:00
ChangeLog-2007 Fix nit 2010-03-26 09:51:32 +00:00
ChangeLog-2008
ChangeLog-2009 Remove asterisk in LTO section name. 2010-01-01 08:49:15 -08:00
ChangeLog.dataflow
ChangeLog.graphite Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
DATESTAMP Daily bump. 2010-05-28 00:17:21 +00:00
DEV-PHASE
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
LANGUAGES
Makefile.in diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
ONEWS
README.Portability
acinclude.m4 Always pass --32 to ia32 Linux assembler. 2009-12-21 07:31:49 -08:00
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
addresses.h
alias.c alias.c (nonoverlapping_memrefs_p): Remove use of IPA type-escape information. 2010-05-16 17:15:30 +00:00
alias.h
alloc-pool.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
alloc-pool.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
attribs.c attribs.c: Do not include rtl.h. 2010-05-25 22:31:19 +00:00
auto-inc-dec.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
basic-block.h regs.h: Do not include obstack.h, basic-block.h. 2010-05-23 15:40:15 +00:00
bb-reorder.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
bitmap.c
bitmap.h
bt-load.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
builtin-attrs.def
builtin-types.def demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
builtins.c re PR target/43636 (ICE in extract_insn, at recog.c:2103) 2010-05-28 15:35:56 +02:00
builtins.def builtins.c (build_complex_cproj, [...]): New. 2010-04-20 20:09:17 +00:00
c-aux-info.c
c-common.c c-common.c (c_common_nodes_and_builtins): Replace use of TARGET_ENUM_VA_LIST by target hook enum_va_list. 2010-05-28 13:58:35 +02:00
c-common.def
c-common.h Revert "Fix PR c++/44188" 2010-05-28 02:03:19 +02:00
c-config-lang.in
c-convert.c
c-cppbuiltin.c demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
c-decl.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
c-dump.c
c-errors.c
c-format.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
c-format.h
c-gimplify.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
c-lang.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
c-lang.h
c-lex.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
c-objc-common.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
c-objc-common.h
c-omp.c vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
c-opts.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
c-parser.c demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
c-pch.c Makefile.in (c-pch.o, [...]): Depend on timevar.h. 2010-04-13 09:30:31 -04:00
c-ppoutput.c vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
c-pragma.c rtl.h (decl_default_tls_model): Move prototype from here... 2010-05-26 08:36:49 +00:00
c-pragma.h re PR c++/41774 (ice: vector VEC(visibility,base) pop domain error, in pop_visibility at c-pragma.c:757) 2009-11-02 14:39:46 +01:00
c-pretty-print.c demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
c-pretty-print.h
c-semantics.c vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
c-tree.h demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
c-typeck.c * c-typeck.c: Do not include expr.h. 2010-05-26 09:53:37 +00:00
c.opt c.opt: Add -fnothrow-opt. 2010-05-15 22:27:02 -04:00
caller-save.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
calls.c tm.texi (defmac SMALL_REGISTER_CLASSES): Remove. 2010-05-03 17:47:47 +00:00
cfg.c cfg.c (alloc_aux_for_block): Remove inline. 2010-02-24 15:27:46 +00:00
cfganal.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
cfgbuild.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
cfgcleanup.c re PR middle-end/44102 (ICE with asm goto + __builtin_unreachable () in C++) 2010-05-17 19:18:24 +02:00
cfgexpand.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
cfghooks.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfghooks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfglayout.c re PR bootstrap/42347 (sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796) 2010-05-17 19:19:46 +02:00
cfglayout.h
cfgloop.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
cfgloop.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
cfgloopanal.c re PR target/41279 (252.eon performance regression) 2009-09-30 11:57:56 +02:00
cfgloopmanip.c re PR middle-end/42229 (cancel_loop_tree: bad read causes ice) 2009-12-02 15:22:01 +00:00
cfgrtl.c re PR middle-end/44071 (ICE with asm goto and __builtin_unreachable()) 2010-05-11 20:17:43 +02:00
cgraph.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
cgraph.h cgraph.h (struct cgraph_node): Mark former_clone_of by GTY ((skip)). 2010-05-27 15:43:25 +00:00
cgraphbuild.c cgraphbuild.c (build_cgraph_edges, [...]): Build indrect edges too. 2010-05-12 21:32:59 +00:00
cgraphunit.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
cif-code.def cgraph.h (struct cgraph_node): New field indirect_calls. 2010-04-28 16:05:54 +02:00
collect2-aix.c
collect2-aix.h
collect2.c invoke.texi (-fwhopr): Document new optional jobs argument. 2010-05-19 15:43:22 +00:00
collect2.h collect2.c (vflag): Change type from int to bool. 2010-04-29 17:42:54 +00:00
combine-stack-adj.c
combine.c re PR bootstrap/44255 (gcc-4.6-20100522 bootstrap comparison failure on sparc64 and arm) 2010-05-28 00:08:41 +02:00
common.opt invoke.texi: Document -Ofast. 2010-05-25 09:43:59 +00:00
conditions.h
config.build config.build (alpha*-dec-osf4*): Remove. 2010-04-12 18:36:30 +00:00
config.gcc config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin. 2010-05-28 15:11:08 +00:00
config.host re PR bootstrap/37739 (bootstrap broken with core gcc > gcc-4.2.x) 2009-10-08 07:09:54 +02:00
config.in re PR target/43733 (bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2) 2010-05-20 20:52:03 +02:00
configure configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. 2010-05-25 18:50:01 +00:00
configure.ac configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. 2010-05-25 18:50:01 +00:00
convert.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
convert.h
coretypes.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
coverage.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) 2010-05-28 18:28:57 +01:00
crtstuff.c crtstuff.c (__JCR_LIST__, [...]): Mark as used. 2010-05-11 15:44:26 +00:00
cse.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
cselib.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
cselib.h re PR debug/42977 ("-fcompare-debug failure" with "-O2 -finline-functions -fomit-frame-pointer -ftracer -fsched2-use-superblocks -fPIC") 2010-03-30 23:00:47 +02:00
cstamp-h.in
dbgcnt.c dbgcnt.c: Include toplev.h instead of errors.h. 2010-05-22 14:46:01 +01:00
dbgcnt.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dbgcnt.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dbxout.c re PR bootstrap/44048 (building without C++ enabled fails) 2010-05-13 01:04:46 -04:00
dbxout.h
dce.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dce.h
ddg.c sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
ddg.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
debug.c re PR debug/41700 (g++.dg/debug/dwarf2/icf.C) 2009-10-29 11:13:27 -07:00
debug.h re PR debug/41700 (g++.dg/debug/dwarf2/icf.C) 2009-10-29 11:13:27 -07:00
defaults.h re PR target/38118 (gcc emits non-TLS data as TLS on Solaris 11/SPARC) 2010-03-24 18:49:49 +00:00
df-byte-scan.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
df-core.c df-core.c (df_ref_debug): Change format string placeholder from 0x%x to %#x. 2010-04-14 17:08:54 +02:00
df-problems.c re PR debug/44023 (-fcompare-debug failure (length) for alphaev67 target (bootstrap failure)) 2010-05-11 08:48:15 +02:00
df-scan.c re PR bootstrap/43870 (ICE in gcc/config/soft-fp/divtf3.c) 2010-05-20 12:05:54 +00:00
df.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
dfp.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
dfp.h
diagnostic-core.h diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
diagnostic.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
diagnostic.def
diagnostic.h diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
dojump.c double-int.h (double_int_ior): New function. 2010-05-20 00:09:57 +04:00
dominance.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
domwalk.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
domwalk.h
double-int.c double-int.h (tree_to_double_int): Remove macro. 2010-05-03 20:21:15 +04:00
double-int.h double-int.h (double_int_and): New. 2010-05-25 23:48:40 +04:00
dse.c re PR debug/43051 (VTA causes a stack living parameter unavailable in most of the function) 2010-03-16 11:50:42 +01:00
dse.h
dummy-checksum.c
dwarf2asm.c re PR c++/44059 (Static initializers executed more than once when using unique global symbols) 2010-05-11 20:14:19 +02:00
dwarf2asm.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
dwarf2out.c re PR debug/41048 (bad DW_AT_data_member_location from g++) 2010-05-28 15:46:46 +02:00
dwarf2out.h
ebitmap.c ebitmap.c: Change calls to verify_popcount with calls to sbitmap_verify_popcount. 2010-02-25 20:51:27 -05:00
ebitmap.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
emit-rtl.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
emit-rtl.h extend.texi (Named Address Spaces): New section. 2009-10-26 21:55:59 +00:00
emutls.c
errors.c re PR other/42537 ([PATCH] misc spelling fixes) 2009-12-30 10:53:31 +00:00
errors.h
et-forest.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
et-forest.h
except.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
except.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
exec-tool.in collect2.c (main): Search PLUGIN_LD for plugin linker. 2009-11-08 14:36:51 -08:00
explow.c explow.c (set_stack_check_libfunc): Adjust to accept name as a string instead of SYMBOL_REF rtx. 2010-05-26 21:46:22 +00:00
expmed.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
expr.c gengtype-lex.l: Add HARD_REG_SET. 2010-05-24 12:24:00 +00:00
expr.h re PR middle-end/42233 (c++ builtin_expect code generation regression) 2010-02-19 10:53:51 +01:00
final.c final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno). 2010-05-28 14:03:31 +01:00
fixed-value.c real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
fixed-value.h
flags.h re PR debug/43516 ("-fcompare-debug failure" at -O2) 2010-03-26 17:18:51 +01:00
fold-const.c real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
fp-test.c
function.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
function.h function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
fwprop.c df-problems.c (df_simulate_initialize_forwards): Set, don't clear, bits for artificial defs at the top of the block. 2010-04-26 21:17:17 +00:00
gbl-ctors.h
gcc-plugin.h gcc.c (cc1_options): Handle -iplugindir before processing the cc1 spec. 2010-04-12 23:58:18 +00:00
gcc.c * gcc.c (error, warning, inform): Remove duplicate ": " in output. 2010-05-28 18:34:11 +01:00
gcc.h re PR driver/15303 (When gcc sees an unrecognized option, the exit status indicates success) 2010-05-28 18:28:57 +01:00
gccbug.in
gccspec.c
gcov-dump.c vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string placeholder from 0x%x to %#x. 2010-05-02 21:39:31 +02:00
gcov-io.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcov-io.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gcov-iov.c vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string placeholder from 0x%x to %#x. 2010-05-02 21:39:31 +02:00
gcov.c gcc.c (process_command): Update copyright notice dates. 2010-01-09 01:00:42 +01:00
gcse.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
gdbinit.in print-tree.c (debug_vec_tree): New fn. 2010-05-27 14:39:56 -04:00
genattr.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genattrtab.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
genautomata.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
gencheck.c
genchecksum.c vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string placeholder from 0x%x to %#x. 2010-05-02 21:39:31 +02:00
gencodes.c
genconditions.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
genconfig.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genconstants.c
genemit.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
genextract.c
genflags.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gengenrtl.c rtl.h (union rtunion_def): Remove rt_bit member. 2010-05-22 14:15:50 +00:00
gengtype-lex.l gengtype-lex.l: Add HARD_REG_SET. 2010-05-24 12:24:00 +00:00
gengtype-parse.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gengtype.c final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno). 2010-05-28 14:03:31 +01:00
gengtype.h Makefile.in (build/gengtype.o): Add $(HASHTAB_H) to dependencies. 2010-05-05 10:06:37 +00:00
genmddeps.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genmodes.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genmultilib
genopinit.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
genoutput.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
genpeep.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
genpreds.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
genrecog.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
gensupport.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
gensupport.h
ggc-common.c ggc-zone.c: Update copyright year. 2010-05-26 11:24:42 +00:00
ggc-none.c
ggc-page.c ggc-page.c (struct free_object): Pull definition out ... 2009-12-03 02:04:16 +00:00
ggc-zone.c ggc-zone.c: Update copyright year. 2010-05-26 11:24:42 +00:00
ggc.h ggc.h (ggc_min_expand_heuristic, [...]): Remove. 2010-05-26 15:08:28 +00:00
gimple-fold.c re PR middle-end/44069 (optimization bug initializing from cast array) 2010-05-25 15:49:34 +00:00
gimple-iterator.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
gimple-low.c toplev.c: Include varray.h for statistics dumping. 2010-04-30 11:58:49 +00:00
gimple-pretty-print.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
gimple-pretty-print.h diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
gimple.c gimple.c (gimple_types_compatible_p): Return 0 for aggregate and pointer types if they have different alignment or mode. 2010-05-26 17:57:30 +00:00
gimple.def gsstruct.def (GSS_CALL): New. 2010-04-12 15:20:48 +00:00
gimple.h vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
gimplify.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
glimits.h
graph.c
graph.h
graphds.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
graphds.h
graphite-blocking.c Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-clast-to-gimple.c Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-clast-to-gimple.h Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
graphite-dependences.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
graphite-dependences.h Correct the lexicographical function, add debug_pddr. 2010-02-06 17:41:34 +00:00
graphite-interchange.c Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-poly.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
graphite-poly.h Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-ppl.c Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-ppl.h Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-scop-detection.c Avoid calling verify_ssa twice in verify_loop_closed_ssa. 2010-04-06 19:20:47 +00:00
graphite-scop-detection.h graphite-dependences.c (reduction_ddr): New. 2009-11-25 04:54:30 +00:00
graphite-sese-to-poly.c Replace Value with mpz_t 2010-05-06 21:53:35 +00:00
graphite-sese-to-poly.h Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
graphite.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
graphite.h
gsstruct.def gsstruct.def (GSS_CALL): New. 2010-04-12 15:20:48 +00:00
gstab.h
gsyms.h
gsyslimits.h
gthr-aix.h
gthr-dce.h
gthr-gnat.c
gthr-gnat.h
gthr-lynx.h
gthr-mipssde.h
gthr-nks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-posix.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-posix.h gthr-posix.h (pthread_cancel): Don't declare if compiling against Bionic C library. 2010-05-27 12:08:51 +00:00
gthr-posix95.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-rtems.h
gthr-single.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-solaris.h re PR target/41810 (Cannot build gcc: gthr-default.h:466: error: '__mutex' was not declared in this scope) 2009-11-27 15:17:04 +00:00
gthr-tpf.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-vxworks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
gthr-win32.h
gthr.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
haifa-sched.c re PR debug/44223 (segmentation fault with -g -fsched-pressure) 2010-05-21 20:45:29 +02:00
hard-reg-set.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
highlev-plugin-common.h cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
hooks.c hooks.h (hook_tree_tree_tree_bool_null): Rename to... 2010-05-19 16:23:27 +00:00
hooks.h hooks.h (hook_tree_tree_tree_bool_null): Rename to... 2010-05-19 16:23:27 +00:00
host-default.c
hosthooks-def.h
hosthooks.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
hwint.h revert: hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Change format string placeholder from 0x%x to %#x. 2010-05-02 15:10:40 +02:00
ifcvt.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
implicit-zee.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
incpath.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
incpath.h
init-regs.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
input.c input.c: New file. 2010-05-27 12:33:27 +01:00
input.h input.c: New file. 2010-05-27 12:33:27 +01:00
insn-addr.h
insn-notes.def
integrate.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
integrate.h toplev.c: Include varray.h for statistics dumping. 2010-04-30 11:58:49 +00:00
intl.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
intl.h Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
ipa-cp.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
ipa-inline.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
ipa-prop.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
ipa-prop.h ipa-prop.c (ipa_print_node_jump_functions): Print jump functions also for indirect edges. 2010-05-19 13:49:36 +02:00
ipa-pure-const.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
ipa-ref-inline.h cgraphbuild.c (record_reference_ctx): Add varpool_node. 2010-05-06 08:39:32 +00:00
ipa-ref.c cgraphbuild.c (record_reference_ctx): Add varpool_node. 2010-05-06 08:39:32 +00:00
ipa-ref.h cgraphbuild.c (record_reference_ctx): Add varpool_node. 2010-05-06 08:39:32 +00:00
ipa-reference.c ipa-reference.c (add_static_var): Remove redundant all_module_statics check. 2010-05-28 15:56:16 +00:00
ipa-reference.h tree.h (memory_identifier_string): Remove. 2010-05-15 09:46:55 +00:00
ipa-struct-reorg.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
ipa-struct-reorg.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-type-escape.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
ipa-type-escape.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-utils.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa-utils.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
ipa.c decl2.c (maybe_emit_vtables): Produce same comdat group when outputting comdat vtables. 2010-05-22 14:48:40 +00:00
ira-build.c ira-build.c (update_conflict_hard_reg_costs): New. 2010-05-25 10:29:38 -06:00
ira-color.c re PR bootstrap/43964 (4.6-20100501 (r158965) bootstrap failure on ARM, ira-color.c triggers -Werror) 2010-05-04 10:49:41 +00:00
ira-conflicts.c ira-conflicts.c (print_allocno_conflicts): New function broken out from... 2010-05-13 08:46:29 -06:00
ira-costs.c ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Fix typo. 2010-05-21 15:00:56 -06:00
ira-emit.c dbgcnt.c: Include toplev.h instead of errors.h. 2010-05-22 14:46:01 +01:00
ira-int.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
ira-lives.c re PR rtl-optimization/43520 (gcc.dg/pr43058.c uses way too memory on ia64) 2010-04-20 22:29:11 -07:00
ira.c gengtype-lex.l: Add HARD_REG_SET. 2010-05-24 12:24:00 +00:00
ira.h
jump.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lambda-code.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lambda-mat.c tree-parloops.c (loop_parallel_p): New argument parloop_obstack. 2010-04-22 12:42:15 +00:00
lambda-trans.c tree-parloops.c (loop_parallel_p): New argument parloop_obstack. 2010-04-22 12:42:15 +00:00
lambda.h tree-parloops.c (loop_parallel_p): New argument parloop_obstack. 2010-04-22 12:42:15 +00:00
langhooks-def.h langhooks.h (struct lang_hooks): Add new field deep_unsharing. 2010-05-19 17:53:58 +00:00
langhooks.c diagnostic.c: Don't include flags.h. 2010-05-24 19:55:44 +01:00
langhooks.h langhooks.h (struct lang_hooks): Add new field deep_unsharing. 2010-05-19 17:53:58 +00:00
lcm.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
libfuncs.h explow.c (set_stack_check_libfunc): Adjust to accept name as a string instead of SYMBOL_REF rtx. 2010-05-26 21:46:22 +00:00
libgcc-libsystem.ver re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9) 2010-02-02 09:18:08 +01:00
libgcc-std.ver re PR other/25232 (libgcc-std.ver should include __unordxf2 and __unordtf2) 2010-03-30 13:35:08 +01:00
libgcc2.c
libgcc2.h
libgcov.c matrix-reorg.c (analyze_matrix_allocation_site): Remove unused malloc_fname variable. 2009-11-28 17:21:00 +01:00
limitx.h
limity.h
lists.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
longlong.h s390.md: Replace TARGET_64BIT with TARGET_ZARCH. 2010-04-13 09:04:31 +00:00
loop-doloop.c re PR middle-end/42233 (c++ builtin_expect code generation regression) 2010-02-19 13:47:18 +01:00
loop-init.c timevar.def (TV_LOOP_MOVE_INVARIANTS, [...]): New timevars. 2009-11-27 12:43:08 +00:00
loop-invariant.c loop-invariant.c (replace_uses): New static function. 2010-04-09 20:13:59 +00:00
loop-iv.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
loop-unroll.c Implement target hook for loop unrolling 2010-04-08 15:07:57 +00:00
loop-unswitch.c re PR middle-end/42233 (c++ builtin_expect code generation regression) 2010-02-19 10:53:51 +01:00
lower-subreg.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
lto-cgraph.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lto-compress.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lto-compress.h Merge lto branch into trunk. 2009-10-03 17:10:11 -04:00
lto-opts.c re PR c/40989 (-Werror= and #pragma diagnostics do not work with group flags) 2010-05-06 10:12:36 +00:00
lto-section-in.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lto-section-out.c passes.c (ipa_write_summaries_1, [...]): Allocate encoders. 2010-05-10 16:13:52 +00:00
lto-streamer-in.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
lto-streamer-out.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lto-streamer.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
lto-streamer.h cgraph.h (struct ipa_replace_map): Add parm_num parameter. 2010-05-17 23:02:47 +00:00
lto-symtab.c gimple.c (gimple_types_compatible_p): Check type qualifications before merging pointer to complete and pointer to... 2010-05-22 12:56:53 +00:00
lto-wrapper.c lto-wrapper.c (run_gcc): With -save-temps generate a user-visible ltrans filename. 2010-05-28 12:48:54 +00:00
machmode.def
machmode.h
main.c
matrix-reorg.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
mcf.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
mips-tdump.c gcc.c (process_command): Update copyright notice dates. 2010-01-09 01:00:42 +01:00
mips-tfile.c gcc.c (process_command): Update copyright notice dates. 2010-01-09 01:00:42 +01:00
mkconfig.sh
mkmap-flat.awk
mkmap-symver.awk
mode-classes.def
mode-switching.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
modulo-sched.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
omega.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
omega.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
omp-builtins.def
omp-low.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
opt-functions.awk opt-functions.awk (opt_sanitized_name): New. 2010-04-13 14:27:22 +00:00
opt-gather.awk
optabs.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
optabs.h optabs.h (expand_widening_mult): Declare. 2010-04-22 11:47:52 +00:00
optc-gen.awk vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string placeholder from 0x%x to %#x. 2010-05-02 14:31:18 +02:00
opth-gen.awk opt-functions.awk (opt_sanitized_name): New. 2010-04-13 14:27:22 +00:00
opts-common.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
opts-diagnostic.h diagnostic.c: Don't include opts.h. 2010-05-26 14:40:53 +01:00
opts.c opts.c (common_handle_option): Handle OPT_Ofast. 2010-05-26 14:41:45 +00:00
opts.h re PR c/40989 (-Werror= and #pragma diagnostics do not work with group flags) 2010-05-06 10:12:36 +00:00
output.h rtl.h (decl_default_tls_model): Move prototype from here... 2010-05-26 08:36:49 +00:00
params.c cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
params.def Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
params.h cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
passes.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
plugin.c diagnostic.c: Don't include plugin.h. 2010-05-25 14:01:45 +01:00
plugin.def decl.c (finish_function): Rename pre-genericize event. 2009-12-21 20:37:49 +00:00
plugin.h diagnostic.c: Don't include plugin.h. 2010-05-25 14:01:45 +01:00
pointer-set.c
pointer-set.h
postreload-gcse.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
postreload.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
predict.c cgraph.c (cgraph_create_node): Set node frequency to normal. 2010-04-26 13:33:24 +00:00
predict.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
predict.h predict.c (compute_function_frequency): Export. 2009-11-18 13:09:15 +00:00
prefix.c
prefix.h
pretty-print.c pretty-print.c: Don't include ggc.h. 2010-05-26 19:55:51 +01:00
pretty-print.h pretty-print.c: Don't include ggc.h. 2010-05-26 19:55:51 +01:00
print-rtl.c rtl.h (union rtunion_def): Remove rt_bit member. 2010-05-22 14:15:50 +00:00
print-tree.c print-tree.c (debug_vec_tree): New fn. 2010-05-27 14:39:56 -04:00
profile.c regs.h: Do not include obstack.h, basic-block.h. 2010-05-23 15:40:15 +00:00
profile.h
read-rtl.c read-rtl.c (read_rtx_1): Give an error for EOF while looking for ']'. 2010-04-02 16:51:01 +01:00
real.c real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
real.h real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
realmpfr.c real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
realmpfr.h real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
recog.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
recog.h target.h (struct gcc_target): Add mode_dependent_address_p field. 2010-05-12 23:08:31 +04:00
reg-notes.def re PR debug/43290 (ICE in dwarf2out_frame_debug_expr) 2010-03-10 19:17:10 +01:00
reg-stack.c toplev.c: Include varray.h for statistics dumping. 2010-04-30 11:58:49 +00:00
regcprop.c re PR debug/43161 (Wrong debug info in guality/vla-1.c (f2)) 2010-02-26 12:01:28 +01:00
reginfo.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
regmove.c diagnostic.c (FLOAT, FFS): Don't undefine. 2010-05-19 22:32:19 +01:00
regrename.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
regs.h regs.h: Do not include obstack.h, basic-block.h. 2010-05-23 15:40:15 +00:00
regset.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
regstat.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
reload.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
reload.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
reload1.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
reorg.c reorg.c (delete_computation): Comment fixes. 2010-02-14 12:58:16 +00:00
resource.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
resource.h
rtl-error.c diagnostic.c (FLOAT, FFS): Don't undefine. 2010-05-19 22:32:19 +01:00
rtl.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
rtl.def Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
rtl.h explow.c (set_stack_check_libfunc): Adjust to accept name as a string instead of SYMBOL_REF rtx. 2010-05-26 21:46:22 +00:00
rtlanal.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
rtlhooks-def.h
rtlhooks.c extend.texi (Named Address Spaces): New section. 2009-10-26 21:55:59 +00:00
sbitmap.c sbitmap.h (sbitmap_ptr, [...]): Move from here... 2010-05-23 00:11:55 +00:00
sbitmap.h sbitmap.h (sbitmap_ptr, [...]): Move from here... 2010-05-23 00:11:55 +00:00
sched-deps.c sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
sched-ebb.c sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
sched-int.h sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
sched-rgn.c sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
sched-vis.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
sdbout.c re PR bootstrap/44048 (building without C++ enabled fails) 2010-05-13 01:04:46 -04:00
sdbout.h
sel-sched-dump.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
sel-sched-dump.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sel-sched-ir.c sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
sel-sched-ir.h sched-ebb.c: Rename struct deps to struct deps_desc. 2010-05-27 15:08:00 +00:00
sel-sched.c sel-sched.c (create_speculation_check): Remove set but not used variable twin. 2010-01-20 12:30:05 +01:00
sel-sched.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sese.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
sese.h sese.h (create_if_region_on_edge): Remove. 2010-04-23 06:02:06 +00:00
simplify-rtx.c real: Do not include gmp.h, mpfr.h, and mpc.h. 2010-05-21 18:13:54 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
statistics.c
statistics.h
stmt.c coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
stor-layout.c double-int.h (double_int_ior): New function. 2010-05-20 00:09:57 +04:00
store-motion.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
stringpool.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
stub-objc.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
sync-builtins.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
system.h Makefile.in (ALL_CFLAGS): Add file-specific CFLAGS. 2010-05-27 16:02:50 +00:00
target-def.h c-common.c (c_common_nodes_and_builtins): Replace use of TARGET_ENUM_VA_LIST by target hook enum_va_list. 2010-05-28 13:58:35 +02:00
target.h c-common.c (c_common_nodes_and_builtins): Replace use of TARGET_ENUM_VA_LIST by target hook enum_va_list. 2010-05-28 13:58:35 +02:00
targhooks.c targhooks.c (GO_IF_MODE_DEPENDENT_ADDRESS): Use CONST_CAST_RTX. 2010-05-15 21:58:30 +02:00
targhooks.h target.h (struct gcc_target): Add mode_dependent_address_p field. 2010-05-12 23:08:31 +04:00
timevar.c Makefile.in: Fix c-pch.o and ggc-common.o dependencies on timevars. 2010-05-21 23:00:23 +00:00
timevar.def implicit-zee.c: New file. 2010-05-12 21:15:19 +00:00
timevar.h Makefile.in: Fix c-pch.o and ggc-common.o dependencies on timevars. 2010-05-21 23:00:23 +00:00
tlink.c collect2.c (TARGET_64BIT): Redefine to target's default. 2010-04-27 19:48:58 +02:00
toplev.c final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno). 2010-05-28 14:03:31 +01:00
toplev.h diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
tracer.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-affine.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-affine.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-browser.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-browser.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-call-cdce.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-cfg.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
tree-cfgcleanup.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-chrec.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-chrec.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-complex.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-data-ref.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-data-ref.h tree-parloops.c (loop_parallel_p): New argument parloop_obstack. 2010-04-22 12:42:15 +00:00
tree-dfa.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-diagnostic.c diagnostic.c: Don't include flags.h. 2010-05-24 19:55:44 +01:00
tree-diagnostic.h diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-dump.c final.c (rest_of_clean_state): Use %m in errors instead of strerror (errno). 2010-05-28 14:03:31 +01:00
tree-dump.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-eh.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
tree-flow-inline.h re PR tree-optimization/43572 (FAIL: gfortran.dg/PR19872.f execution test; formatted read - wrong numbers) 2010-04-16 13:21:38 +00:00
tree-flow.h coretypes.h (struct simple_bitmap_def, [...]): New core types. 2010-05-22 22:24:53 +00:00
tree-if-conv.c Don't generate COND_EXPRs for degenerate_phi_result. 2010-05-28 18:42:06 +00:00
tree-inline.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
tree-inline.h vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
tree-into-ssa.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-iterator.c vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
tree-iterator.h vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
tree-loop-distribution.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-loop-linear.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-mudflap.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
tree-mudflap.h
tree-nested.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-nomudflap.c toplev.c: Include varray.h for statistics dumping. 2010-04-30 11:58:49 +00:00
tree-nrv.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-object-size.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-optimize.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
tree-outof-ssa.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-parloops.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-pass.h implicit-zee.c: New file. 2010-05-12 21:15:19 +00:00
tree-phinodes.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-predcom.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-pretty-print.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-pretty-print.h diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-profile.c regs.h: Do not include obstack.h, basic-block.h. 2010-05-23 15:40:15 +00:00
tree-scalar-evolution.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-scalar-evolution.h re PR tree-optimization/42732 ([graphite] ICE: verify_ssa failed) 2010-01-14 07:38:15 +00:00
tree-sra.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-address.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-alias.c re PR rtl-optimization/44164 (Aliasing bug triggered by Boost.Bind/Boost.Function) 2010-05-26 10:30:31 +00:00
tree-ssa-alias.h re PR tree-optimization/43572 (FAIL: gfortran.dg/PR19872.f execution test; formatted read - wrong numbers) 2010-04-16 13:21:38 +00:00
tree-ssa-ccp.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-coalesce.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-copy.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-copyrename.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-dce.c function.h (struct function): Add can_throw_non_call_exceptions bit. 2010-05-25 22:34:36 +00:00
tree-ssa-dom.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-dse.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-forwprop.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-ifcombine.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-live.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-live.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tree-ssa-loop-ch.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-loop-im.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-loop-ivcanon.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-loop-ivopts.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-loop-manip.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-loop-niter.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-loop-prefetch.c re PR middle-end/44203 (New prefetch test failures) 2010-05-25 11:18:07 +00:00
tree-ssa-loop-unswitch.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-loop.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-math-opts.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-operands.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-operands.h tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not used count variable. 2010-04-07 22:27:37 +02:00
tree-ssa-phiopt.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-phiprop.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-pre.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-propagate.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-propagate.h
tree-ssa-reassoc.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-sccvn.c tree-ssa-sccvn.c (copy_nary): Adjust. 2010-05-26 15:35:03 +00:00
tree-ssa-sccvn.h re PR tree-optimization/43270 (array-bounds false negative) 2010-04-07 12:31:32 +00:00
tree-ssa-sink.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-structalias.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
tree-ssa-ter.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa-threadedge.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-threadupdate.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-uncprop.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-ssa-uninit.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssa.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-ssanames.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-stdarg.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-stdarg.h
tree-switch-conversion.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-tailcall.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vect-data-refs.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vect-generic.c tree.h: Include real.h and fixed-value.h as basic datatypes. 2010-05-21 13:53:22 +00:00
tree-vect-loop-manip.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vect-loop.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vect-patterns.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vect-slp.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vect-stmts.c re PR tree-optimization/44284 (vectorization does not work for short variable) 2010-05-27 13:23:45 +00:00
tree-vectorizer.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree-vectorizer.h tree-ssa-reassoc.c (undistribute_ops_list): Use create_tmp_reg. 2010-05-10 14:31:37 +00:00
tree-vrp.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
tree.c Revert "Fix PR c++/44188" 2010-05-28 02:03:19 +02:00
tree.def cp-lang.c (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Remove both its undef and define. 2010-05-14 15:08:45 +02:00
tree.h Revert "Fix PR c++/44188" 2010-05-28 02:03:19 +02:00
treestruct.def Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
tsystem.h
typeclass.h
unwind-c.c i386.c (ix86_emit_restore_sse_regs_using_mov): Remove unused insn variable. 2009-11-27 12:37:06 +01:00
unwind-compat.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-darwin.c Make-lang.in, [...]: Update copyright years. 2010-04-02 19:54:46 +00:00
unwind-dw2-fde-glibc.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
unwind-dw2-fde.c dwarf2out.c (output_call_frame_info): For dw_cie_version >= 4 add also address size and segment size fields into CIE... 2010-04-21 08:57:37 +02:00
unwind-dw2-fde.h
unwind-dw2.c * unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes. 2010-04-27 11:40:46 +02:00
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-sjlj.c
unwind.inc
value-prof.c diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or langhooks-def.h. 2010-05-21 23:34:26 +01:00
value-prof.h Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
var-tracking.c re PR debug/41371 (var-tracking is slow and memory hungry) 2010-05-25 18:27:03 +02:00
varasm.c re PR target/44132 (emutls is broken under a range of circumstances.) 2010-05-24 14:36:32 +00:00
varpool.c diagnostic-core.h: New. 2010-05-27 21:16:07 +01:00
vec.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
vec.h Update copyright notices of my recent commits. 2010-01-09 14:46:25 +00:00
vecir.h vecir.h: New file with VEC primitives for tree, gimple, and rtl. 2010-05-15 20:02:11 +00:00
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string placeholder from 0x%x to %#x. 2010-05-02 14:31:18 +02:00
web.c Makefile.in (web.o): Depend on insn-config.h and $(RECOG_H). 2010-04-10 12:30:29 +00:00
xcoff.h
xcoffout.c Remove trailing white spaces. 2009-11-25 02:55:54 -08:00
xcoffout.h

README.Portability

Copyright (C) 2000, 2003 Free Software Foundation, Inc.

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

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

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

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


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

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

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

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

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


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

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

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

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

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

needs to be coded in some other way.


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.