gcc/gcc
Jakub Jelinek be36dd859d varasm.c (make_decl_rtl_for_debug): Also clear flag_mudflap for the duration of make_decl_rtl call.
* varasm.c (make_decl_rtl_for_debug): Also clear
	flag_mudflap for the duration of make_decl_rtl call.

From-SVN: r157621
2010-03-22 11:30:27 +01:00
..
ada sol2-bi.h (CC1_SPEC): Default to -mcpu=v9 for -m32. 2010-03-10 23:25:37 +00:00
config re PR middle-end/42718 (FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above) 2010-03-22 01:00:30 +00:00
cp re PR c++/43081 (ICE with invalid in-class initializer) 2010-03-20 18:01:18 +00:00
doc gimple.texi (Logical Operators): Describe is_gimple_ip_invariant and is_gimple_ip_invariant_address. 2010-03-19 17:09:16 +01:00
fortran re PR fortran/43450 (-fwhole-file: ICE in gfc_create_module_variable, at fortran/trans-decl.c:3386) 2010-03-20 16:01:17 +00:00
ginclude
java * jvspec.c (lang_specific_driver): Constify two variables named "p". 2010-01-20 10:35:38 +00:00
lto re PR bootstrap/43276 (lto-elf.c:388:10: error: 'EM_SPARC') 2010-03-09 09:01:56 +00:00
objc re PR objc/43061 (47 new GCC HEAD@156527 regressions) 2010-02-19 19:06:38 +00:00
objcp configure.ac: Add install-html to target_list for Make-hooks. 2010-01-04 01:36:36 +00:00
po * zh_CN.po: Update. 2010-03-09 15:18:43 +00:00
testsuite ppc-sdata-1.c: Require nonpic. 2010-03-21 19:25:00 +00:00
ABOUT-GCC-NLS
acinclude.m4 Always pass --32 to ia32 Linux assembler. 2009-12-21 07:31:49 -08:00
aclocal.m4
addresses.h
alias.c alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. 2010-02-16 10:01:51 +00:00
alias.h
alloc-pool.c
alloc-pool.h
attribs.c re PR c++/43116 (ICE when using attributes in a function alias declaration) 2010-03-19 16:37:27 +00:00
auto-inc-dec.c postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN. 2010-01-03 13:13:03 +00:00
BASE-VER
basic-block.h postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN. 2010-01-03 13:13:03 +00:00
bb-reorder.c re PR rtl-optimization/42621 (Computed gotos on AMD 800% slower) 2010-01-10 23:31:30 +00:00
bitmap.c
bitmap.h
bt-load.c
builtin-attrs.def
builtin-types.def
builtins.c re PR target/43305 (ICE: in emit_unop_insn, at optabs.c:3838 with -Os -ffast-math and ilogbl()) 2010-03-19 12:37:28 +00:00
builtins.def
c-aux-info.c
c-common.c re PR c++/43126 ("at this point in file" warnings are upside down) 2010-02-22 22:30:45 +00:00
c-common.def
c-common.h re PR c/40885 (build_indirect_ref i18n problems) 2009-12-17 03:22:22 +00:00
c-config-lang.in
c-convert.c
c-cppbuiltin.c
c-decl.c re PR c/43211 (ICE with incomplete type in function argument) 2010-03-19 15:52:41 -07:00
c-dump.c
c-errors.c
c-format.c
c-format.h
c-gimplify.c
c-lang.c
c-lang.h
c-lex.c
c-objc-common.c
c-objc-common.h
c-omp.c re PR c/40885 (build_indirect_ref i18n problems) 2009-12-17 03:22:22 +00:00
c-opts.c re PR c/20631 (Support -std=c90 as alias for -std=c89) 2010-02-26 17:09:29 +00:00
c-parser.c re PR c/40885 (build_indirect_ref i18n problems) 2009-12-17 03:22:22 +00:00
c-pch.c * c-pch.c (pch_init): Clear v. 2010-02-11 21:49:05 +01:00
c-ppoutput.c
c-pragma.c
c-pragma.h
c-pretty-print.c * c-pretty-print.c (pp_c_specifier_qualifier_list): Print vector size. 2010-03-03 00:11:13 -05:00
c-pretty-print.h
c-semantics.c
c-tree.h
c-typeck.c re PR c/43128 (c-c++-common/pr41779.c doesn't work) 2010-02-24 13:09:37 +00:00
c.opt re PR c/20631 (Support -std=c90 as alias for -std=c89) 2010-02-26 17:09:29 +00:00
caller-save.c re PR debug/42918 ("-fcompare-debug failure" with "-O2 -ftracer" (2)) 2010-02-17 09:54:59 +01:00
calls.c tree.h (TYPE_TRANSPARENT_UNION): Replace with ... 2010-01-21 00:49:35 -05:00
cfg.c cfg.c (alloc_aux_for_block): Remove inline. 2010-02-24 15:27:46 +00:00
cfganal.c
cfgbuild.c
cfgcleanup.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
cfgexpand.c tree.h: Declare make_decl_rtl_for_debug. 2010-03-18 20:41:40 +00:00
cfghooks.c
cfghooks.h
cfglayout.c
cfglayout.h
cfgloop.c
cfgloop.h
cfgloopanal.c
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/42233 (c++ builtin_expect code generation regression) 2010-02-19 10:53:51 +01:00
cgraph.c re PR middle-end/42344 (ICE in rs6000.md with ipa-sra for 252.eon) 2010-02-20 10:08:20 +10:30
cgraph.h re PR middle-end/42450 (another GCC 4.5 ICE on C++ templated code) 2010-03-18 21:07:13 +01:00
cgraphbuild.c
cgraphunit.c re PR middle-end/42450 (another GCC 4.5 ICE on C++ templated code) 2010-03-18 21:07:13 +01:00
ChangeLog varasm.c (make_decl_rtl_for_debug): Also clear flag_mudflap for the duration of make_decl_rtl call. 2010-03-22 11:30:27 +01: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
ChangeLog-2008
ChangeLog-2009 Remove asterisk in LTO section name. 2010-01-01 08:49:15 -08:00
ChangeLog.dataflow
ChangeLog.graphite Fix PR43354: Correctly handle default definitions. 2010-03-13 17:35:45 +00:00
ChangeLog.lib
ChangeLog.ptr
ChangeLog.tree-ssa
ChangeLog.tuples
cif-code.def
collect2-aix.c
collect2-aix.h
collect2.c intl.c (fake_ngettext): New function. 2010-02-14 19:44:07 +00:00
collect2.h intl.c (fake_ngettext): New function. 2010-02-14 19:44:07 +00:00
combine-stack-adj.c
combine.c re PR rtl-optimization/43438 (possible wrong code bug) 2010-03-20 13:44:18 +00:00
common.opt common.opt (dumpdir): Remove redundant tab. 2010-03-18 03:01:09 +00:00
conditions.h
config.build
config.gcc config.gcc (sparc64-*-solaris2*, [...]): Merge into... 2010-03-03 18:14:50 +00:00
config.host
config.in configure.ac: Test if linker and assembler properly support GOTDATA_OP relocations. 2010-02-20 19:58:51 -08:00
configure configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four. 2010-03-11 18:54:17 -08:00
configure.ac configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four. 2010-03-11 18:54:17 -08:00
convert.c re PR c/43007 (No longer folds (unsigned int) ((long long unsigned int) spi_bias / 1008)) 2010-02-10 11:54:14 +00:00
convert.h
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
coretypes.h
coverage.c
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c
cse.c re PR rtl-optimization/42699 (ZERO_EXTRACT on lhs never optimized out) 2010-01-12 21:25:10 +01:00
cselib.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
cselib.h re PR debug/43051 (VTA causes a stack living parameter unavailable in most of the function) 2010-03-16 11:50:42 +01:00
cstamp-h.in
DATESTAMP Daily bump. 2010-03-22 00:16:51 +00:00
dbgcnt.c
dbgcnt.def
dbgcnt.h
dbxout.c
dbxout.h
dce.c
dce.h
ddg.c re PR debug/42244 (var-tracking ICE for 300.twolf) 2009-12-07 23:37:21 +01:00
ddg.h
debug.c
debug.h
defaults.h tm.texi (ARG_POINTER_CFA_OFFSET): Document new default. 2009-12-22 12:24:32 +00:00
DEV-PHASE
df-byte-scan.c
df-core.c re PR rtl-optimization/42946 (bootstrap with --enable-checking=df (or =all) fails) 2010-02-07 15:22:49 -08:00
df-problems.c
df-scan.c re PR rtl-optimization/42889 ("-fcompare-debug failure (length)" with "-O1 -fgcse") 2010-01-29 13:14:47 +01:00
df.h re PR rtl-optimization/42889 ("-fcompare-debug failure (length)" with "-O1 -fgcse") 2010-01-29 13:14:47 +01:00
dfp.c
dfp.h
diagnostic.c toplev.h (inform_n, error_n): Declare. 2010-03-01 09:56:41 +00:00
diagnostic.def
diagnostic.h diagnostic.c (diagnostic_initialize): Update. 2010-02-26 22:06:56 +00:00
dojump.c re PR middle-end/42233 (c++ builtin_expect code generation regression) 2010-02-19 19:19:06 +01:00
dominance.c re PR bootstrap/41771 (Bootstrap with Sun Studio 12.1 fails) 2010-01-05 17:14:30 +00:00
domwalk.c
domwalk.h
double-int.c
double-int.h
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
dwarf2asm.h
dwarf2out.c tree.h: Declare make_decl_rtl_for_debug. 2010-03-18 20:41:40 +00: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
emit-rtl.c
emit-rtl.h
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
et-forest.h
except.c set LABEL_PRESERVE_P for landing pad labels 2010-03-01 15:34:44 +01:00
except.h cgraph.h (cgraph_set_nothrow_flag, [...]): New prototypes. 2009-12-14 17:53:57 +01:00
exec-tool.in
explow.c tm.texi (STACK_CHECK_PROBE_LOAD): Delete. 2009-12-13 23:00:53 +00:00
expmed.c re PR middle-end/32693 ([H8] : ICE: in gen_rtx_SUBREG, at emit-rtl.c:693) 2010-03-03 15:10:17 -07:00
expr.c re PR tree-optimization/43213 (Worse code generated with -O2) 2010-03-01 12:56:44 +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): If -fcompare-debug is given dump final insns without UIDs. 2009-12-01 10:02:24 +00:00
fixed-value.c
fixed-value.h
flags.h re PR bootstrap/41771 (Bootstrap with Sun Studio 12.1 fails) 2010-01-05 17:14:30 +00:00
fold-const.c re PR c++/40138 (ICE with invalid va_arg) 2010-02-03 16:53:41 -05:00
fp-test.c
FSFChangeLog
FSFChangeLog.10
FSFChangeLog.11
function.c re PR debug/43190 (Used pointer typedefs eliminated from debug info) 2010-02-26 16:58:57 +01:00
function.h
fwprop.c re PR debug/42728 ("-fcompare-debug failure (length)" at -O1) 2010-01-19 13:38:25 +01:00
gbl-ctors.h
gcc-plugin.h * gcc-plugin.h (plugin_init): Use "C" likage for c++. 2010-01-22 21:01:49 +00:00
gcc.c re PR driver/43021 (Driver no longer handles fancy names) 2010-02-11 12:23:08 +00:00
gcc.h Pass -dumpbase and -dumpdir to gcc for LTO 2010-01-03 09:03:38 -08:00
gccbug.in
gccspec.c
gcov-dump.c gcc.c (process_command): Update copyright notice dates. 2010-01-09 01:00:42 +01:00
gcov-io.c
gcov-io.h
gcov-iov.c
gcov.c gcc.c (process_command): Update copyright notice dates. 2010-01-09 01:00:42 +01:00
gcse.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
gdbinit.in
genattr.c
genattrtab.c
genautomata.c
gencheck.c
genchecksum.c
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c
genextract.c
genflags.c
gengenrtl.c
gengtype-lex.l
gengtype-parse.c
gengtype.c
gengtype.h
genmddeps.c
genmodes.c
genmultilib
genopinit.c
genoutput.c
genpeep.c
genpreds.c
genrecog.c
gensupport.c gensupport.c (process_one_cond_exec): Derive name for COND_EXEC patterns from predicated pattern. 2010-02-17 15:05:40 +00:00
gensupport.h
ggc-common.c
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.h
gimple-iterator.c re PR debug/42897 (yet another ice in verify_ssa) 2010-03-06 20:30:10 +00:00
gimple-low.c
gimple-pretty-print.c
gimple.c re PR tree-optimization/43186 (A loop in tree_unroll_loops_completely never ends) 2010-02-26 16:01:52 +00:00
gimple.def
gimple.h re PR tree-optimization/43186 (A loop in tree_unroll_loops_completely never ends) 2010-02-26 16:01:52 +00:00
gimplify.c re PR middle-end/41250 (hppa has DECL_VALUE_EXPR decls appearing in the function) 2010-03-01 15:43:32 +00:00
glimits.h
graph.c
graph.h
graphds.c
graphds.h
graphite-blocking.c Update loop-block testcases. 2010-01-07 18:33:01 +00:00
graphite-clast-to-gimple.c Use ssizetype when long_long_integer_type_node is NULL. 2010-03-13 17:35:29 +00:00
graphite-clast-to-gimple.h re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)) 2010-02-11 19:42:38 +00:00
graphite-dependences.c Cleanup data dep polyhedron construction. 2010-03-08 17:49:09 +00:00
graphite-dependences.h Correct the lexicographical function, add debug_pddr. 2010-02-06 17:41:34 +00:00
graphite-interchange.c Memoize memory strides per loop. 2010-01-08 04:35:43 +00:00
graphite-poly.c re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)) 2010-02-11 19:42:38 +00:00
graphite-poly.h New function combine_context_id_scat. 2010-03-08 17:49:02 +00:00
graphite-ppl.c graphite-ppl.c (ppl_min_for_le_polyhedron): Renamed ppl_min_for_le_pointset. 2010-03-08 17:49:16 +00:00
graphite-ppl.h graphite-ppl.c (ppl_min_for_le_polyhedron): Renamed ppl_min_for_le_pointset. 2010-03-08 17:49:16 +00:00
graphite-scop-detection.c Fix PR43083: Do not handle regions ending with multiple edges on the exit BB. 2010-02-23 12:59:48 +00:00
graphite-scop-detection.h
graphite-sese-to-poly.c graphite-sese-to-poly.c (split_reduction_stmt): Skip debug statements before splitting block. 2010-03-16 20:04:04 +00:00
graphite-sese-to-poly.h Make build_poly_scop not return a bool. 2010-03-13 17:34:44 +00:00
graphite.c Add PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION. 2010-03-13 17:34:51 +00:00
graphite.h
gsstruct.def
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
gthr-posix95.h
gthr-posix.c
gthr-posix.h
gthr-rtems.h
gthr-single.h
gthr-solaris.h
gthr-tpf.h
gthr-vxworks.h
gthr-win32.h
gthr.h
haifa-sched.c sel-sched.c (create_speculation_check): Remove set but not used variable twin. 2010-01-20 12:30:05 +01:00
hard-reg-set.h
highlev-plugin-common.h cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
hooks.c
hooks.h
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h
ifcvt.c re PR rtl-optimization/42511 (bootstrap error in stage3 on alpha-linux-gnu) 2010-01-07 14:02:34 +01:00
incpath.c
incpath.h
init-regs.c
input.h
insn-addr.h
insn-notes.def
integrate.c
integrate.h
intl.c intl.c (fake_ngettext): New function. 2010-02-14 19:44:07 +00:00
intl.h intl.c (fake_ngettext): New function. 2010-02-14 19:44:07 +00:00
ipa-cp.c re PR tree-optimization/42366 (ICE in ipa_write_node_info, at ipa-prop.c:2023) 2010-01-04 19:18:54 +01:00
ipa-inline.c re PR middle-end/37448 (cannot compile big function) 2010-01-29 11:26:27 +00:00
ipa-prop.c ipa-prop.h (struct ipa_param_descriptor): Removed the called field. 2010-03-08 12:00:07 +01:00
ipa-prop.h ipa-prop.h (struct ipa_param_descriptor): Removed the called field. 2010-03-08 12:00:07 +01:00
ipa-pure-const.c re PR objc/43061 (47 new GCC HEAD@156527 regressions) 2010-02-19 19:06:38 +00:00
ipa-reference.c re PR objc/43061 (47 new GCC HEAD@156527 regressions) 2010-02-19 19:06:38 +00:00
ipa-reference.h
ipa-struct-reorg.c re PR tree-optimization/43317 (ICE: Segmentation fault with -fipa-struct-reorg -g) 2010-03-15 13:05:05 +00:00
ipa-struct-reorg.h
ipa-type-escape.c re PR objc/43061 (47 new GCC HEAD@156527 regressions) 2010-02-19 19:06:38 +00:00
ipa-type-escape.h
ipa-utils.c
ipa-utils.h
ipa.c re PR middle-end/42450 (another GCC 4.5 ICE on C++ templated code) 2010-03-18 21:07:13 +01:00
ira-build.c
ira-color.c
ira-conflicts.c ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note instead of loop. 2010-02-10 20:52:31 +00:00
ira-costs.c
ira-emit.c
ira-int.h
ira-lives.c re PR rtl-optimization/42258 (redundant register move around mul instruction) 2010-03-19 18:18:54 +00:00
ira.c
ira.h
jump.c
lambda-code.c re PR tree-optimization/42917 ("-fcompare-debug failure" with -ftree-loop-linear) 2010-03-16 11:33:45 +00:00
lambda-mat.c
lambda-trans.c
lambda.h
langhooks-def.h
langhooks.c re PR lto/42392 ([LTO] ICE with top level asm) 2009-12-16 23:07:10 +00:00
langhooks.h
LANGUAGES
lcm.c
libfuncs.h
libgcc2.c
libgcc2.h
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
libgcov.c
limitx.h
limity.h
lists.c
longlong.h Oops - omitted this part of xstormy16 patch to use __clzhi2() instead of __stormy16_count_leading_zeros. 2009-12-02 11:15:50 +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
loop-invariant.c Remove the REG_EQUAL note if we don't know its invariant status. 2010-03-18 06:10:49 -07:00
loop-iv.c
loop-unroll.c re PR debug/42630 ("-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops") 2010-01-09 14:41:35 +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
lto-cgraph.c lto-cgraph.c (lto_output_node): Also stream the alias for regular aliases. 2009-12-15 11:28:10 +00:00
lto-compress.c
lto-compress.h
lto-opts.c
lto-section-in.c
lto-section-out.c
lto-streamer-in.c re PR lto/43200 ([LTO] tree check: expected array_type, have pointer_type in array_ref_low_bound) 2010-03-11 13:13:53 +00:00
lto-streamer-out.c re PR c++/12909 (ambiguity in mangling vector types) 2010-03-03 14:02:08 -05:00
lto-streamer.c Remove asterisk in LTO section name. 2010-01-01 08:49:15 -08:00
lto-streamer.h re PR c++/12909 (ambiguity in mangling vector types) 2010-03-03 14:02:08 -05:00
lto-symtab.c re PR middle-end/42320 (link error with -flto (undefined reference to 'non-virtual thunk ...)) 2009-12-11 10:56:17 +00:00
lto-wpa-fixup.c
lto-wrapper.c Pass -dumpbase and -dumpdir to gcc for LTO 2010-01-03 09:03:38 -08:00
machmode.def
machmode.h
main.c
Makefile.in re PR debug/43051 (VTA causes a stack living parameter unavailable in most of the function) 2010-03-16 11:50:42 +01:00
matrix-reorg.c
mcf.c
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
modulo-sched.c
omega.c
omega.h
omp-builtins.def
omp-low.c re PR fortran/42866 (ICE for REDUCTION with ALLOCATABLE array as variable on SECTIONS) 2010-01-26 10:47:45 +01:00
ONEWS
opt-functions.awk
opt-gather.awk
optabs.c optabs.c (avoid_expensive_constant): Fix formatting. 2010-03-19 19:45:01 +00:00
optabs.h
optc-gen.awk c.opt (-ftemplate-depth=): New. 2010-02-24 20:41:01 +00:00
opth-gen.awk c.opt (-ftemplate-depth=): New. 2010-02-24 20:41:01 +00:00
opts-common.c
opts.c common.opt (fsched2-use-traces): Preserved for backward compatibility. 2010-02-09 19:51:30 +03:00
opts.h
output.h
params.c cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
params.def Fix documentation of the new parameters. 2010-03-13 17:35:22 +00:00
params.h cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
passes.c If a pass occurs in several pass lists... 2010-02-22 14:18:10 +00:00
plugin.c decl.c (finish_function): Rename pre-genericize event. 2009-12-21 20:37:49 +00:00
plugin.def decl.c (finish_function): Rename pre-genericize event. 2009-12-21 20:37:49 +00:00
plugin.h cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN. 2010-01-03 13:13:03 +00:00
postreload.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
predict.c
predict.def
predict.h
prefix.c
prefix.h
pretty-print.c
pretty-print.h
print-rtl.c re PR debug/42896 (Random debug generation differences, bootstrap fails) 2010-02-03 15:00:33 +00:00
print-tree.c tree.h (TYPE_TRANSPARENT_UNION): Replace with ... 2010-01-21 00:49:35 -05:00
profile.c re PR other/42537 ([PATCH] misc spelling fixes) 2009-12-30 10:53:31 +00:00
profile.h
read-rtl.c
README.Portability
real.c
real.h re PR bootstrap/41771 (Bootstrap with Sun Studio 12.1 fails) 2010-01-05 17:14:30 +00:00
recog.c
recog.h
reg-notes.def re PR debug/43290 (ICE in dwarf2out_frame_debug_expr) 2010-03-10 19:17:10 +01:00
reg-stack.c
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
regmove.c
regrename.c re PR rtl-optimization/42216 (changes in scheduling regress 464.h264ref 20%) 2010-03-17 09:25:35 +00:00
regs.h
regstat.c
reload1.c reload1.c (rtx_p, [...]): Declare. 2010-03-02 11:56:50 -07:00
reload.c re PR rtl-optimization/42429 (Miscompilation of 2fish on s390) 2009-12-21 17:32:44 +01:00
reload.h
reorg.c reorg.c (delete_computation): Comment fixes. 2010-02-14 12:58:16 +00:00
resource.c
resource.h
rtl-error.c
rtl.c
rtl.def reorg.c (delete_computation): Comment fixes. 2010-02-14 12:58:16 +00:00
rtl.h re PR debug/43051 (VTA causes a stack living parameter unavailable in most of the function) 2010-03-16 11:50:42 +01:00
rtlanal.c
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
sched-deps.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
sched-ebb.c
sched-int.h postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN. 2010-01-03 13:13:03 +00:00
sched-rgn.c common.opt (fsched2-use-traces): Preserved for backward compatibility. 2010-02-09 19:51:30 +03:00
sched-vis.c
sdbout.c
sdbout.h
sel-sched-dump.c reorg.c (delete_computation): Comment fixes. 2010-02-14 12:58:16 +00:00
sel-sched-dump.h
sel-sched-ir.c sel-sched.c: Add 2010 to copyright years. 2010-01-14 16:50:09 +03:00
sel-sched-ir.h sel-sched.c: Add 2010 to copyright years. 2010-01-14 16:50:09 +03: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
sese.c Fold convert SSA_NAMEs in the scalar expander. 2010-03-08 17:49:22 +00:00
sese.h re PR tree-optimization/42771 ([graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)) 2010-02-11 19:42:38 +00:00
simplify-rtx.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
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h
stab.def
stack-ptr-mod.c
statistics.c
statistics.h
stmt.c re PR middle-end/42233 (c++ builtin_expect code generation regression) 2010-02-19 10:53:51 +01:00
stor-layout.c re PR c++/42837 (FAIL: g++.dg/abi/packed1.C execution test) 2010-02-23 13:31:58 -05:00
store-motion.c gcse.c (execute_rtl_cprop, [...]): Do not add the DF_NOTE problem. 2010-01-07 11:49:25 +00:00
stringpool.c
stub-objc.c
sync-builtins.def
system.h tm.texi (STACK_CHECK_PROBE_LOAD): Delete. 2009-12-13 23:00:53 +00:00
target-def.h
target.h target.h (struct gcc_target): Change type of last argument to secondary_reload_info *. 2010-01-19 08:22:22 +00:00
targhooks.c
targhooks.h
timevar.c
timevar.def
timevar.h
tlink.c
toplev.c diagnostic.c (diagnostic_initialize): Update. 2010-02-26 22:06:56 +00:00
toplev.h toplev.h (inform_n, error_n): Declare. 2010-03-01 09:56:41 +00:00
tracer.c
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c
tree-cfg.c re PR tree-optimization/43379 (ICE: error: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set with -O2 -ftracer) 2010-03-16 12:31:38 +00:00
tree-cfgcleanup.c re PR tree-optimization/43402 (dom1 miscompiles binary search) 2010-03-18 12:20:50 +00:00
tree-chrec.c Fix PR43306: correct evolution_function_right_is_integer_cst. 2010-03-13 17:34:59 +00:00
tree-chrec.h
tree-complex.c re PR middle-end/42678 (ICE with lto1 in expand_mult, at expmed.c:3253) 2010-01-13 10:07:47 +00:00
tree-data-ref.c re PR tree-optimization/41783 (r151561 (PRE fix) regresses zeusmp) 2010-01-19 16:05:57 +00:00
tree-data-ref.h tree-data-ref.h (dot_rdg): Remove prototype. 2009-12-16 23:32:14 +11:00
tree-dfa.c
tree-dump.c * tree-dump.c (dump_options): Don't set TDF_NOUID for all. 2009-12-31 11:52:56 +01:00
tree-dump.h
tree-eh.c re PR middle-end/43365 (Destructor not called when returning in exception handler) 2010-03-16 16:02:35 -07:00
tree-flow-inline.h gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING. 2010-01-07 16:14:02 +00:00
tree-flow.h gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING. 2010-01-07 16:14:02 +00:00
tree-if-conv.c
tree-inline.c re PR middle-end/42450 (another GCC 4.5 ICE on C++ templated code) 2010-03-18 21:07:13 +01:00
tree-inline.h
tree-into-ssa.c tree-into-ssa.c (maybe_register_def): If stmt ends the bb, insert the debug stmt on the single non-EH edge from the stmt. 2010-01-22 20:20:51 +01:00
tree-iterator.c
tree-iterator.h
tree-loop-distribution.c re PR tree-optimization/43236 (-ftree-loop-distribution produces wrong code in reload1.c:delete_output_reload(), bootstrap fails) 2010-03-10 15:53:51 +03:00
tree-loop-linear.c re PR tree-optimization/42931 (-ftree-loop-linear - valgrind warns about using uninitialized variable) 2010-02-08 16:47:01 +01:00
tree-mudflap.c
tree-mudflap.h
tree-nested.c
tree-nomudflap.c
tree-nrv.c
tree-object-size.c
tree-optimize.c cgraphunit.c (plugin.h): Include. 2009-12-01 19:12:29 +00:00
tree-outof-ssa.c re PR middle-end/43300 (ICE: in emit_move_insn, at expr.c:3432) 2010-03-15 16:13:28 +00:00
tree-parloops.c 28-01-2010 Razya Ladelsky <razya@il.ibm.com> 2010-01-28 14:24:25 +00:00
tree-pass.h re PR middle-end/42678 (ICE with lto1 in expand_mult, at expmed.c:3253) 2010-01-13 10:07:47 +00:00
tree-phinodes.c re PR debug/42897 (yet another ice in verify_ssa) 2010-03-06 20:30:10 +00:00
tree-predcom.c tree-predcom.c (combine_chains): Return NULL, not false. 2010-01-23 14:33:26 +00:00
tree-pretty-print.c
tree-profile.c
tree-scalar-evolution.c re PR tree-optimization/42732 ([graphite] ICE: verify_ssa failed) 2010-01-14 07:38:15 +00: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 re PR tree-optimization/43347 (Warning about symbols generated by SRA being used uninitialized) 2010-03-17 13:02:35 +01:00
tree-ssa-address.c
tree-ssa-alias.c re PR ada/43096 (miscompilation of ACATS c37105a at -O2) 2010-02-26 23:10:24 +00:00
tree-ssa-alias.h
tree-ssa-ccp.c re PR tree-optimization/43220 (Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault) 2010-03-01 16:57:02 +00:00
tree-ssa-coalesce.c tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate a new entry only if needed. 2010-01-04 21:02:42 +00:00
tree-ssa-copy.c
tree-ssa-copyrename.c
tree-ssa-dce.c re PR tree-optimization/42717 (ice: verify_ssa failed) 2010-01-20 12:30:15 +00:00
tree-ssa-dom.c tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate a new entry only if needed. 2010-01-04 21:02:42 +00:00
tree-ssa-dse.c re PR tree-optimization/43269 (removing non dead store) 2010-03-08 13:30:27 +00:00
tree-ssa-forwprop.c
tree-ssa-ifcombine.c
tree-ssa-live.c final.c (rest_of_clean_state): If -fcompare-debug is given dump final insns without UIDs. 2009-12-01 10:02:24 +00:00
tree-ssa-live.h
tree-ssa-loop-ch.c
tree-ssa-loop-im.c tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru. 2010-01-15 10:34:24 +00:00
tree-ssa-loop-ivcanon.c re PR tree-optimization/43186 (A loop in tree_unroll_loops_completely never ends) 2010-02-27 23:28:46 +00:00
tree-ssa-loop-ivopts.c Fix PR43209: Do not decrease the cost of an IV candidate when the cost is infinite. 2010-03-04 12:12:50 +00:00
tree-ssa-loop-manip.c
tree-ssa-loop-niter.c
tree-ssa-loop-prefetch.c
tree-ssa-loop-unswitch.c
tree-ssa-loop.c
tree-ssa-math-opts.c re PR tree-optimization/43280 (gcc4.5 -m32 -O2: misoptimizes sha256!) 2010-03-11 13:51:00 +00:00
tree-ssa-operands.c
tree-ssa-operands.h
tree-ssa-phiopt.c
tree-ssa-phiprop.c
tree-ssa-pre.c re PR tree-optimization/43415 (Consumes large amounts of memory and time in PRE at -O3) 2010-03-19 10:18:25 +00:00
tree-ssa-propagate.c
tree-ssa-propagate.h
tree-ssa-reassoc.c re PR tree-optimization/42705 (verify_flow_info failed with -O) 2010-01-13 15:04:38 +00:00
tree-ssa-sccvn.c tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate a new entry only if needed. 2010-01-04 21:02:42 +00:00
tree-ssa-sccvn.h
tree-ssa-sink.c
tree-ssa-structalias.c re PR tree-optimization/43008 (Attribute malloc not handled correctly) 2010-02-09 16:11:34 +00:00
tree-ssa-ter.c
tree-ssa-threadedge.c
tree-ssa-threadupdate.c
tree-ssa-uncprop.c tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI node existence check. 2010-01-17 16:22:17 +00:00
tree-ssa.c re PR debug/42299 (another verify_ssa failure with -g -O2) 2009-12-07 14:42:10 -08:00
tree-ssanames.c
tree-stdarg.c
tree-stdarg.h
tree-switch-conversion.c
tree-tailcall.c re PR middle-end/42749 (-O2 and verify_stmts failed again) 2010-02-22 14:09:26 +00:00
tree-vect-data-refs.c re PR tree-optimization/41783 (r151561 (PRE fix) regresses zeusmp) 2010-01-19 16:05:57 +00:00
tree-vect-generic.c
tree-vect-loop-manip.c re PR tree-optimization/41783 (r151561 (PRE fix) regresses zeusmp) 2010-01-19 16:05:57 +00:00
tree-vect-loop.c re PR debug/42897 (yet another ice in verify_ssa) 2010-03-06 20:28:04 +00:00
tree-vect-patterns.c
tree-vect-slp.c tree-vect-slp.c (vect_slp_analyze_bb): Fix typo. 2010-02-22 09:47:59 +00:00
tree-vect-stmts.c re PR tree-optimization/43188 ("error: alignment of array elements is greater than element size") 2010-02-26 13:34:38 +00:00
tree-vectorizer.c tree-vectorizer.c (vectorize_loops): Properly guard vectorizer verboseness. 2009-12-10 14:16:28 +00:00
tree-vectorizer.h re PR tree-optimization/43074 (ICE in vectorizable_reduction, at tree-vect-loop.c:3491) 2010-02-16 11:35:03 +00:00
tree-vrp.c re PR middle-end/43255 (ICE in extract_range_from_assert, at tree-vrp.c:1423) 2010-03-11 15:08:24 +00:00
tree.c re PR tree-optimization/43257 (IPA-SRA changes DECL_ASSEMBLER_NAME) 2010-03-11 23:27:26 +01:00
tree.def * tree.def (PLACEHOLDER_EXPR): Fix comment. 2010-01-20 09:47:41 +00:00
tree.h tree.h: Declare make_decl_rtl_for_debug. 2010-03-18 20:41:40 +00:00
treestruct.def
tsystem.h
typeclass.h
unwind-c.c
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-darwin.c re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9) 2010-02-02 09:18:08 +01:00
unwind-dw2-fde-glibc.c
unwind-dw2-fde.c
unwind-dw2-fde.h
unwind-dw2.c dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead of MOD... 2010-01-20 09:13:50 +01:00
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-sjlj.c
unwind.inc
value-prof.c
value-prof.h
var-tracking.c re PR debug/43443 (We should yank ASM_OPERANDS locs from var-tracking preserved cselib VALUEs) 2010-03-22 11:26:33 +01:00
varasm.c varasm.c (make_decl_rtl_for_debug): Also clear flag_mudflap for the duration of make_decl_rtl call. 2010-03-22 11:30:27 +01:00
varpool.c re PR c++/12909 (ambiguity in mangling vector types) 2010-03-03 14:01:58 -05:00
varray.c
varray.h
vec.c
vec.h Update copyright notices of my recent commits. 2010-01-09 14:46:25 +00:00
vecprim.h
version.c
version.h
vmsdbg.h
vmsdbgout.c
web.c re PR tree-optimization/42685 ("-fcompare-debug failure" with "-O1 -funroll-loops" (2)) 2010-01-26 16:27:34 +00:00
xcoff.h
xcoffout.c
xcoffout.h

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

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

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

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

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


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

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

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

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

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


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

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

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

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

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

needs to be coded in some other way.


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.