gcc/gcc
Dodji Seketeli 7842a9dbf8 re PR debug/41170 (namespace DIE not generated when it contains only a typedef)
Fix for PR debug/41170

gcc/ChangeLog:
	PR debug/41770
	* dwarf2out.c (get_context_die): Declare this static function.
	(gen_type_die_with_usage): Make sure a DIE is a generated for
	the context of a typedef.

gcc/testsuite/ChangeLog:
	PR debug/41770
	* debug/dwarf2/namespace-1.C: New test.

From-SVN: r151138
2009-08-27 09:05:24 +02:00
..
ada gimplify.c (prepare_gimple_addressable): New static function. 2009-08-25 15:02:19 +00:00
config mips-protos.h (mips_output_sync): Declare. 2009-08-26 20:39:27 +00:00
cp call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING if we're contextually converting to bool. 2009-08-26 00:35:26 -04:00
doc invoke.texi (AVR Options): Remove documentation of -minit-stack switch. 2009-08-27 01:21:34 +04:00
fortran re PR fortran/28039 (Warn when ignoring extra characters in the format specification) 2009-08-26 02:18:14 +00:00
ginclude
java Install gcj.pdf in $(pdfdir)/gcc alongside other manuals. 2009-08-17 20:22:41 +00:00
objc c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
objcp sourcebuild.texi: Document install-plugin target. 2009-07-14 18:25:23 -04:00
po * es.po: Update. 2009-08-06 12:00:59 +01:00
testsuite re PR debug/41170 (namespace DIE not generated when it contains only a typedef) 2009-08-27 09:05:24 +02:00
ABOUT-GCC-NLS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
BASE-VER
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog re PR debug/41170 (namespace DIE not generated when it contains only a typedef) 2009-08-27 09:05:24 +02:00
ChangeLog-1997 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1998 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-1999 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2000 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2001 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2002 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2003 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2004 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2005 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2006 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2007 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog-2008 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.dataflow ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.graphite Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize. 2009-08-15 07:10:20 +00:00
ChangeLog.lib ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.ptr ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tree-ssa ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
ChangeLog.tuples ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
DATESTAMP Daily bump. 2009-08-27 00:16:37 +00:00
DEV-PHASE
FSFChangeLog ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
FSFChangeLog.10 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
FSFChangeLog.11 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
LANGUAGES ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
Makefile.in Makefile.in (PLUGIN_HEADERS): Include incpath.h and tree-ssa-sccvn.h. 2009-08-20 12:22:43 -04:00
ONEWS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
README.Portability
acinclude.m4 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
aclocal.m4 Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 13:22:20 +00:00
addresses.h
alias.c alias.c (get_alias_set): Honor TYPE_STRUCTURAL_EQUALITY_P. 2009-08-12 15:10:47 +00:00
alias.h
alloc-pool.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
alloc-pool.h
attribs.c attribs.c (register_attribute): Use CONST_CAST. 2009-06-01 16:35:01 +00:00
auto-inc-dec.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
basic-block.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
bb-reorder.c bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps. 2009-08-18 13:16:46 +02:00
bitmap.c hwint.h (HOST_LONG_FORMAT): New macro 2009-08-25 23:19:16 +00:00
bitmap.h bitmap.h (bitmap_ior_and_into): New. 2009-06-27 14:46:56 +00:00
bt-load.c
builtin-attrs.def
builtin-types.def
builtins.c re PR middle-end/41094 (Erroneous optimization of pow() with -ffast-math) 2009-08-18 13:40:18 +00:00
builtins.def re PR c/39252 (Request new feature __builtin_unreachable ()) 2009-06-11 23:55:45 +00:00
c-aux-info.c
c-common.c * c-common.c (c_common_reswords) add the alignof keyword, 2009-08-25 17:21:25 -04:00
c-common.def
c-common.h re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-config-lang.in c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
c-convert.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-cppbuiltin.c extend.texi (Symbol-Renaming Pragmas): redefine_extname is supported on all platforms. 2009-08-14 17:25:48 -04:00
c-decl.c hwint.h (HOST_LONG_FORMAT): New macro 2009-08-25 23:19:16 +00:00
c-dump.c
c-errors.c
c-format.c Changelog gcc/ 2009-08-24 08:17:33 +02:00
c-format.h Changelog gcc/ 2009-08-24 08:17:33 +02:00
c-gimplify.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-lang.c
c-lang.h c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
c-lex.c c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber. 2009-08-14 14:38:24 +00:00
c-objc-common.c c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-objc-common.h c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
c-omp.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-opts.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
c-parser.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
c-pch.c c-pch.c (get_ident): Don't set size of templ array. 2009-06-17 13:21:23 +00:00
c-ppoutput.c
c-pragma.c extend.texi (Symbol-Renaming Pragmas): redefine_extname is supported on all platforms. 2009-08-14 17:25:48 -04:00
c-pragma.h
c-pretty-print.c pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
c-pretty-print.h c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-semantics.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
c-tree.h c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
c-typeck.c c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
c.opt re PR c/25509 (can't disable __attribute__((warn_unused_result))) 2009-07-10 07:27:32 +00:00
caller-save.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
calls.c tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation for for_return == 2. 2009-08-12 16:23:12 +00:00
cfg.c
cfganal.c
cfgbuild.c cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. 2009-04-22 04:48:34 +00:00
cfgcleanup.c re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
cfgexpand.c expr.c (store_constructor): Use promote_decl_mode. 2009-08-01 22:03:34 +00:00
cfghooks.c cfghooks.c (split_block): Copy discriminator to new block. 2009-07-24 15:37:05 -07:00
cfghooks.h
cfglayout.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cfglayout.h
cfgloop.c New implementation of Graphite. 2009-07-31 02:44:28 +00:00
cfgloop.h New implementation of Graphite. 2009-07-31 02:44:28 +00:00
cfgloopanal.c cfgloopanal.c (check_irred): Move into ... 2009-06-30 14:56:37 +00:00
cfgloopmanip.c Leave the loop_latch basic block empty. 2009-07-31 02:33:46 +00:00
cfgrtl.c re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
cgraph.c cgraph.c (cgraph_set_call_stmt_including_clones): Tidy. 2009-07-29 17:34:47 -07:00
cgraph.h cgraph.h (constant_pool_htab): New function. 2009-07-20 19:35:25 +00:00
cgraphbuild.c cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node. 2009-05-10 15:11:01 +00:00
cgraphunit.c cgraph.h (combined_args_to_skip): New field. 2009-07-20 14:15:02 +02:00
cif-code.def
collect2-aix.c Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. 2009-06-02 19:06:56 +00:00
collect2-aix.h Makefile.in (COLLECT2_OBJS): Add collect2-aix.o. 2009-06-02 19:06:56 +00:00
collect2.c collect2.c (scan_libraries): Use CONST_CAST2 to perform char ** to const char ** conversion. 2009-07-26 00:03:39 +00:00
collect2.h
combine-stack-adj.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
combine.c combine.c (try_widen_shift_mode): Factor out code to check if an integer constant is a low-order bitmask from here ... 2009-08-11 17:31:09 +00:00
common.opt Measure time spent in DD analysis and in code gen. 2009-08-12 14:18:17 +00:00
conditions.h
config.build config.build (ia64-hp-*vms*): New target. 2009-08-09 07:05:11 +00:00
config.gcc config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file. 2009-08-14 20:38:36 +00:00
config.host config.build (ia64-hp-*vms*): New target. 2009-08-09 07:05:11 +00:00
config.in Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 13:22:20 +00:00
configure Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 13:41:50 +00:00
configure.ac Update AC_PREREQ entries to 2.64 2009-08-24 19:08:51 +00:00
convert.c convert.c (convert_to_integer): Don't assume an input pointer is POINTER_SIZE wide. 2009-08-24 21:23:22 +00:00
convert.h
coretypes.h tree.c (list_equal_p): New function. 2009-04-25 18:27:19 +00:00
coverage.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
coverage.h
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c
cse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cselib.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
cselib.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
cstamp-h.in
dbgcnt.c dbgcnt name matching bug fix 2009-07-20 19:08:15 +00:00
dbgcnt.def dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +00:00
dbgcnt.h
dbxout.c re PR debug/40666 (Ada tools build failure) 2009-07-07 20:46:06 +00:00
dbxout.h
dce.c tree-ssa-operands.c (get_expr_operands): Do not handle INDIRECT_REFs in the handled-component case. 2009-05-29 09:49:42 +00:00
dce.h
ddg.c
ddg.h
debug.c dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
debug.h dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
defaults.h hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
df-byte-scan.c
df-core.c * df-core.c (df_ref_debug): Honor -fdump-noaddr. 2009-06-02 08:08:57 +00:00
df-problems.c df-problems.c (df_set_seen, [...]): Delete. 2009-06-27 14:50:00 +00:00
df-scan.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
df.h re PR tree-optimization/26854 (Inordinate compile times on large routines) 2009-06-27 14:48:34 +00:00
dfp.c re PR middle-end/39986 (decimal float constant is incorrect when cc1 is a 64-bit binary) 2009-05-06 16:59:53 +00:00
dfp.h
diagnostic.c diagnostic.c (diagnostic_build_prefix): Always print columns. 2009-06-01 16:09:33 +00:00
diagnostic.def ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
diagnostic.h re PR testsuite/40488 (Revision 148642 caused extra failures) 2009-06-18 16:27:40 -07:00
dojump.c expr.h (jumpifnot_1, [...]): Declare. 2009-08-25 13:35:39 +00:00
dominance.c basic-block.h (get_all_dominated_blocks): Declare. 2009-04-20 14:01:52 +00:00
domwalk.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
domwalk.h domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
double-int.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
double-int.h
dse.c re PR rtl-optimization/40924 (miscompiles with -O3 (seemingly related to attribute may_alias)) 2009-08-05 14:36:34 +02:00
dse.h
dummy-checksum.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
dwarf2asm.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
dwarf2asm.h
dwarf2out.c re PR debug/41170 (namespace DIE not generated when it contains only a typedef) 2009-08-27 09:05:24 +02:00
dwarf2out.h cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
ebitmap.c
ebitmap.h basic-block.h (dump_regset, [...]): Remove duplicate prototypes. 2009-07-08 11:35:18 +00:00
emit-rtl.c re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
emit-rtl.h
emutls.c re PR other/40024 (trunk/gcc-4.3/gcc: * emutls.c (emutls_destroy): Don' t fall out of the array bound.) 2009-06-01 20:03:26 +02:00
errors.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
errors.h Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
et-forest.c
et-forest.h
except.c dwarf2out.c (output_fde): When doing hot/cold partitioning... 2009-08-07 11:10:13 +02:00
except.h cgraph.c (dump_cgraph_node): Dump size/time/benefit. 2009-05-25 21:59:24 +00:00
exec-tool.in
explow.c tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation for for_return == 2. 2009-08-12 16:23:12 +00:00
expmed.c expmed.c (emit_store_flag): Use a recursive call to optimize the xor case. 2009-07-24 13:40:04 +00:00
expr.c expr.h (jumpifnot_1, [...]): Declare. 2009-08-25 13:35:39 +00:00
expr.h expr.h (jumpifnot_1, [...]): Declare. 2009-08-25 13:35:39 +00:00
final.c final.c (add_debug_prefix_map): Don't use GC memory for old_prefix and new_prefix. 2009-08-14 15:39:15 +00:00
fixed-value.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
fixed-value.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
flags.h re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
fold-const.c re PR middle-end/30789 (complex folding inexact) 2009-08-14 16:44:36 +00:00
fp-test.c
function.c tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation for for_return == 2. 2009-08-12 16:23:12 +00:00
function.h dwarf2out.c (output_fde): When doing hot/cold partitioning... 2009-08-07 08:23:42 +02:00
fwprop.c re PR target/41081 (redundant ZERO_EXTENDs) 2009-08-23 12:27:26 +09:30
gbl-ctors.h gbl-ctors.h: Add header guard. 2009-06-07 21:53:14 +02:00
gcc-plugin.h plugins.texi: Document PLUGIN_START_UNIT. 2009-06-29 21:17:40 +00:00
gcc.c gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove. 2009-08-24 14:02:21 +00:00
gcc.h
gccbug.in
gccspec.c
gcov-dump.c
gcov-io.c
gcov-io.h
gcov-iov.c
gcov.c df-problems.c (df_simulate_one_insn_forwards): Fix braces in switch. 2009-06-16 05:12:15 +00:00
gcse.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
gdbinit.in ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
genattr.c
genattrtab.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
genautomata.c Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
gencheck.c
genchecksum.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c
genextract.c
genflags.c
gengenrtl.c
gengtype-lex.l hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
gengtype-parse.c gengtype-parse.c (parse_error): Add newline after message. 2009-04-24 09:46:47 -04:00
gengtype.c c-objc-common.h (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Do not define. 2009-08-20 16:11:37 +00:00
gengtype.h
genmddeps.c
genmodes.c
genmultilib
genopinit.c re PR testsuite/40491 (Revision 148663 caused extra failures) 2009-06-19 16:22:16 +02:00
genoutput.c
genpeep.c
genpreds.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
genrecog.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
gensupport.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
gensupport.h
ggc-common.c plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
ggc-none.c
ggc-page.c ggc-page.c (ggc_pch_write_object): Initialize emptyBytes. 2009-06-19 15:32:43 +00:00
ggc-zone.c plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
ggc.h plugins.texi (Loading plugins): typo. 2009-05-26 17:33:33 +00:00
gimple-iterator.c errors.c (internal_error): Commentary typo fix. 2009-06-07 21:29:43 +02:00
gimple-low.c Fix to PR41012 2009-08-12 16:51:41 +00:00
gimple-pretty-print.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
gimple.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
gimple.def re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
gimple.h re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
gimplify.c re PR c/41163 (verify_gimple fails) 2009-08-26 13:23:04 +00:00
glimits.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
graph.c
graph.h
graphds.c
graphds.h
graphite-blocking.c Restore original scattering when the transform is not legal. 2009-08-12 14:23:01 +00:00
graphite-clast-to-gimple.c Measure time spent in DD analysis and in code gen. 2009-08-12 14:18:17 +00:00
graphite-clast-to-gimple.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-dependences.c Add PDR->nb_subscripts. 2009-08-12 14:27:33 +00:00
graphite-dependences.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-interchange.c Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize. 2009-08-15 07:10:20 +00:00
graphite-poly.c Print PBB index. 2009-08-15 07:12:08 +00:00
graphite-poly.h Add PDR->nb_subscripts. 2009-08-12 14:27:33 +00:00
graphite-ppl.c Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize. 2009-08-15 07:10:20 +00:00
graphite-ppl.h Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize. 2009-08-15 07:10:20 +00:00
graphite-scop-detection.c New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-scop-detection.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite-sese-to-poly.c Dont add unknown subscript upper bounds. 2009-08-12 14:31:21 +00:00
graphite-sese-to-poly.h New Graphite files. 2009-07-31 02:43:11 +00:00
graphite.c Remove pragma GCC diagnostic warning "-Wc++-compat". 2009-08-12 15:13:52 +00:00
graphite.h New implementation of Graphite. 2009-07-31 02:44:28 +00:00
gsstruct.def
gstab.h gstab.h (stab_code_type): Define, to be used instead of the __stab_debug_code enum, made anonymous. 2009-05-20 12:44:44 +00:00
gsyms.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
gsyslimits.h
gthr-aix.h
gthr-dce.h gthr-dce.h (CONST_CAST2): Define if not defined. 2009-08-02 01:38:27 +00:00
gthr-gnat.c
gthr-gnat.h
gthr-lynx.h
gthr-mipssde.h
gthr-nks.h
gthr-posix.c
gthr-posix.h
gthr-posix95.h
gthr-rtems.h
gthr-single.h
gthr-solaris.h
gthr-tpf.h
gthr-vxworks.h gthr-vxworks.h (struct __gthread_once_t): Add alignment and padding for PPC. 2009-04-22 10:53:53 +00:00
gthr-win32.h gthr-win32.h (__UNUSED_PARAM): Define, if not already present. 2009-08-25 12:32:38 +02:00
gthr.h
haifa-sched.c 2009-07-13 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-07-13 22:42:41 +00:00
hard-reg-set.h
hooks.c hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
hooks.h hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h hwint.h (HOST_LONG_FORMAT): New macro 2009-08-25 23:19:16 +00:00
ifcvt.c re PR middle-end/40525 (if conversion (in dead_or_predicable) fails for targets with limited conditional execution support) 2009-06-26 06:06:04 +00:00
incpath.c
incpath.h
init-regs.c
input.h
insn-addr.h
insn-notes.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
integrate.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
integrate.h
intl.c intl.c (locale_encoding, [...]): New. 2009-05-04 13:23:50 +01:00
intl.h intl.c (locale_encoding, [...]): New. 2009-05-04 13:23:50 +01:00
ipa-cp.c re PR tree-optimization/41011 (ICE in ipcp_lattice_from_jfunc, at ipa-cp.c:328) 2009-08-12 17:55:40 +00:00
ipa-inline.c Fix to PR41012 2009-08-12 16:51:41 +00:00
ipa-prop.c ipa-prop.c (compute_complex_pass_through): If we cannot compute a non-varying offset for IPA_JF_ANCESTOR punt. 2009-08-14 15:07:43 +00:00
ipa-prop.h ipa-prop.h (enum jump_func_type): New value IPA_JF_ANCESTOR, changed comments. 2009-08-07 09:15:41 +02:00
ipa-pure-const.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
ipa-reference.c alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
ipa-reference.h
ipa-struct-reorg.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
ipa-struct-reorg.h
ipa-type-escape.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-type-escape.h
ipa-utils.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-utils.h re PR middle-end/40147 (Memory leak in revision 147436) 2009-05-14 08:45:32 -07:00
ipa.c cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node. 2009-05-10 15:11:01 +00:00
ira-build.c ira-build.c (copy_info_to_removed_store_destinations): Initialize parent_a. 2009-06-16 20:25:30 +00:00
ira-color.c
ira-conflicts.c ira-conflicts.c (add_insn_allocno_copies): Fix wrong conditional. 2009-05-15 20:05:36 +00:00
ira-costs.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
ira-emit.c
ira-int.h
ira-lives.c re PR target/37488 (register allocation spills floats needlessly) 2009-07-22 22:00:17 +00:00
ira.c hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
ira.h
jump.c re PR debug/40462 (ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb) 2009-07-01 21:25:52 +02:00
lambda-code.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
lambda-mat.c
lambda-trans.c
lambda.h
langhooks-def.h cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
langhooks.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
langhooks.h cgraphunit.c (cgraph_function_versioning,save_inline_function_body): Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. 2009-06-15 14:25:50 +00:00
lcm.c
libfuncs.h
libgcc-std.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
libgcc2.c
libgcc2.h
libgcov.c
limitx.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
limity.h
lists.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
longlong.h re PR target/41015 (SH: miscompilation for sh4-linux) 2009-08-10 20:57:35 +00:00
loop-doloop.c
loop-init.c
loop-invariant.c re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 07:51:46 +00:00
loop-iv.c re PR rtl-optimization/40209 (ICE in iv_analyze_def caused by stale REG_UNUSED note) 2009-07-24 04:01:13 +00:00
loop-unroll.c loop-unroll.c (struct iv_to_split): Add pointer to next. 2009-06-02 17:47:33 +00:00
loop-unswitch.c
lower-subreg.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
machmode.def
machmode.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
main.c re PR other/31567 (cc1, cc1plus, etc. don't support @file mechanism) 2009-04-17 17:11:46 -04:00
matrix-reorg.c tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 21:44:39 +02:00
mcf.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
mips-tdump.c alpha.c (alpha_initialize_trampoline): Change 0 to LCT_NORMAL in function call. 2009-05-14 10:10:23 +00:00
mips-tfile.c hwint.h (HOST_LONG_FORMAT): New macro 2009-08-25 23:19:16 +00:00
mkconfig.sh
mkmap-flat.awk
mkmap-symver.awk
mode-classes.def
mode-switching.c
modulo-sched.c modulo-sched.c (sms_schedule): stage_count <= 1 as correct comparison to skip unprofitable schedule 2009-07-16 16:20:28 +00:00
omega.c alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
omega.h alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. 2009-05-16 06:54:11 +00:00
omp-builtins.def
omp-low.c omp-low.c (optimize_omp_library_calls): Use types_compatible_p instead of comparing TYPE_MAIN_VARIANT for equality. 2009-08-19 14:29:52 +00:00
opt-functions.awk opt-functions.awk (opt_args): Allow argument to be enclosed in curly braces. 2009-07-30 07:22:28 +00:00
opt-gather.awk
optabs.c expr.h (struct separate_ops, sepops): New type for passing around an exploded simple expression. 2009-08-25 13:33:54 +00:00
optabs.h expr.h (struct separate_ops, sepops): New type for passing around an exploded simple expression. 2009-08-25 13:33:54 +00:00
optc-gen.awk
opth-gen.awk common.opt (gdwarf-): Accept a version number. 2009-06-11 20:08:11 -07:00
opts-common.c
opts.c dwarf2out.c (output_fde): When doing hot/cold partitioning... 2009-08-07 08:23:42 +02:00
opts.h
output.h tree.h (CONSTRUCTOR_BITFIELD_P): True if NODE... 2009-06-01 14:42:56 +00:00
params.c
params.def * params.def: Revert my accidental commit at 2009-06-30. 2009-07-06 09:37:01 +00:00
params.h 2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-06-08 16:00:13 +00:00
passes.c New implementation of Graphite. 2009-07-31 02:44:28 +00:00
plugin.c plugin.c (try_init_one_plugin): passes RTLD_GLOBAL to dlopen. 2009-07-09 17:57:14 +00:00
plugin.h 2009-05-13 Taras Glek <tglek@mozilla.com> 2009-05-14 01:38:33 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c
postreload.c re PR rtl-optimization/30807 (postreload bug (might be generic in trunk)) 2009-07-06 13:28:22 +00:00
predict.c Recompute profile after Graphite. 2009-08-12 14:19:33 +00:00
predict.def
predict.h Recompute profile after Graphite. 2009-08-12 14:19:33 +00:00
prefix.c
prefix.h
pretty-print.c pretty-print.c (pp_base_format): Remove %J. 2009-07-07 15:29:12 +00:00
pretty-print.h pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
print-rtl.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
print-tree.c hwint.h (HOST_LONG_FORMAT): New macro 2009-08-25 23:19:16 +00:00
profile.c profile.c (total_num_never_executed): Don't define. 2009-06-17 20:23:57 +00:00
profile.h
read-rtl.c
real.c real.c (encode_ieee_half): Define. 2009-05-15 10:22:58 -04:00
real.h re PR middle-end/30789 (complex folding inexact) 2009-08-14 16:44:36 +00:00
recog.c MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
recog.h MAINTAINERS: Add myself as mep maintainer. 2009-06-24 00:16:25 -04:00
reg-notes.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
reg-stack.c re PR target/39856 (ICE in subst_stack_regs_pat, at reg-stack.c:1386) 2009-05-22 19:00:45 +00:00
regcprop.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
reginfo.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
regmove.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
regrename.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
regs.h
regstat.c regstat.c (regstat_n_sets_and_refs): Remove duplicate definition. 2009-05-31 23:11:51 +00:00
reload.c reload.c (find_reloads_subreg_address): Check the original req_equiv_mem address to detect the case where an address is... 2009-08-11 13:56:52 +00:00
reload.h
reload1.c hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
reorg.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
resource.c re PR rtl-optimization/40710 (Linux kernel miscompiled for sh4-linux) 2009-07-15 21:32:46 +00:00
resource.h resource.c (mark_referenced_resources): Change include_delayed_effects parameter to bool. 2009-06-16 18:55:20 +00:00
rtl-error.c
rtl.c var-tracking.c (unshare_variable): Force initialized to be VAR_INIT_STATUS_INITIALIZED unless flag_var_tracking_uninit. 2009-06-23 16:32:59 +02:00
rtl.def cfgcleanup.c (try_crossjump_to_edge): Only skip past NOTE_INSN_BASIC_BLOCK. 2009-05-29 17:33:46 -07:00
rtl.h combine.c (try_widen_shift_mode): Factor out code to check if an integer constant is a low-order bitmask from here ... 2009-08-11 17:31:09 +00:00
rtlanal.c combine.c (try_widen_shift_mode): Factor out code to check if an integer constant is a low-order bitmask from here ... 2009-08-11 17:31:09 +00:00
rtlhooks-def.h
rtlhooks.c
sbitmap.c
sbitmap.h
sched-deps.c
sched-ebb.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-int.h haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-rgn.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sched-vis.c alias.c: Use REG_P... 2009-06-22 10:29:13 +00:00
sdbout.c * sdbout.c (sdbout_one_type): Fix braces in switch. 2009-06-23 10:19:18 +00:00
sdbout.h
sel-sched-dump.c
sel-sched-dump.h
sel-sched-ir.c haifa-sched.c (insn_finishes_cycle_p): New static function. 2009-07-09 18:15:22 +00:00
sel-sched-ir.h 20071210-2.c: New testcase. 2009-04-28 14:01:52 +04:00
sel-sched.c sel-sched.c: Make forward declarations of move_op_hooks and fur_hooks explicitly extern. 2009-06-16 19:09:35 +00:00
sel-sched.h
sese.c Prepare expressions to be good phi arguments. 2009-08-12 14:32:31 +00:00
sese.h New Graphite files. 2009-07-31 02:43:11 +00:00
simplify-rtx.c re PR c/39902 (x * 1.0DF gets wrong value) 2009-08-03 21:38:53 +00:00
sparseset.c
sparseset.h
sreal.c
sreal.h
ssaexpand.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
stab.def
stack-ptr-mod.c
statistics.c statistics.c (statistics_counter_event): Do not record event in pass dump if its number == -1. 2009-06-03 18:36:47 +04:00
statistics.h
stmt.c tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation for for_return == 2. 2009-08-12 16:23:12 +00:00
stor-layout.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
store-motion.c * store-motion.c Do not include params.h 2009-05-14 20:14:18 +00:00
stringpool.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
stub-objc.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
sync-builtins.def
system.h hwint.h (HOST_LONG_FORMAT): New macro 2009-08-25 23:19:16 +00:00
target-def.h hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
target.h hooks.h (hook_bool_const_int_const_int_true): Declare. 2009-08-26 01:09:00 +04:00
targhooks.c tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation for for_return == 2. 2009-08-12 16:23:12 +00:00
targhooks.h Merge ARM/hard_vfp_branch to trunk 2009-08-06 14:27:45 +00:00
timevar.c
timevar.def Measure time spent in DD analysis and in code gen. 2009-08-12 14:18:17 +00:00
timevar.h
tlink.c
toplev.c tree-cfg.c (pass_warn_unused_result): Mark name that no dump file will be created. 2009-08-03 10:29:08 +00:00
toplev.h toplev.h (floor_log2): If GCC_VERSION >= 3004, declare as static inline, not extern inline. 2009-06-16 16:55:41 +00:00
tracer.c
tree-affine.c
tree-affine.h
tree-browser.c
tree-browser.def
tree-call-cdce.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-cfg.c re PR c/41163 (verify_gimple fails) 2009-08-26 13:23:04 +00:00
tree-cfgcleanup.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-chrec.c Implement evolution_function_right_is_integer_cst. 2009-07-31 02:39:06 +00:00
tree-chrec.h Implement evolution_function_right_is_integer_cst. 2009-07-31 02:39:06 +00:00
tree-complex.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-data-ref.c Add a new driver to data reference analysis. 2009-07-31 02:37:11 +00:00
tree-data-ref.h Add a new driver to data reference analysis. 2009-07-31 02:37:11 +00:00
tree-dfa.c tree-dfa.c (renumber_gimple_stmt_uids_in_blocks): New function. 2009-08-09 07:59:12 +00:00
tree-dump.c tree-pass.h (TDF_EH): Define. 2009-07-22 15:44:46 -04:00
tree-dump.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
tree-eh.c except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl. 2009-06-15 14:27:18 +00:00
tree-flow-inline.h Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-flow.h Fix to PR41012 2009-08-12 16:51:41 +00:00
tree-if-conv.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-inline.c Fix to PR41012 2009-08-12 16:51:41 +00:00
tree-inline.h Fix to PR41012 2009-08-12 16:51:41 +00:00
tree-into-ssa.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-iterator.c tree-iterator.c (expr_only): Remove. 2009-04-18 11:47:22 +00:00
tree-iterator.h
tree-loop-distribution.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-loop-linear.c
tree-mudflap.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-mudflap.h
tree-nested.c re PR c/40401 (ICE: verify_gimple failed) 2009-07-17 15:49:34 +00:00
tree-nomudflap.c ansidecl.h (EXPORTED_CONST): Define. 2009-06-03 20:19:55 +00:00
tree-nrv.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-object-size.c tree-object-size.c (addr_object_size): Handle unions with array in it as last field of structs in __bos (... 2009-07-20 19:39:22 +02:00
tree-optimize.c tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-outof-ssa.c re PR bootstrap/41031 (ICE in insert_value_copy_on_edge preventing bootstrap on sparc64 and s390x, testcase on cris-elf) 2009-08-12 16:28:36 +00:00
tree-parloops.c Measure time spent in DD analysis and in code gen. 2009-08-12 14:18:17 +00:00
tree-pass.h tree-pass.h (TDF_EH): Define. 2009-07-22 15:44:46 -04:00
tree-phinodes.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-predcom.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-pretty-print.c re PR middle-end/41149 (-fdump-tree-original and procedure pointer components) 2009-08-25 11:35:41 +02:00
tree-profile.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-scalar-evolution.c Return unknow from scev instantiation if the result is not above instantiate_below. 2009-07-31 02:30:03 +00:00
tree-scalar-evolution.h tree-scalar-evolution.c (compute_overall_effect_of_inner_loop): Not static anymore. 2009-07-31 02:28:50 +00:00
tree-sra.c ipa-prop.c (count_formal_params_1): New function. 2009-08-07 02:51:34 +02:00
tree-ssa-address.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
tree-ssa-alias.c tree-ssa-alias.c: Fix intervals to use [) syntax. 2009-08-05 10:20:33 -07:00
tree-ssa-alias.h tree-ssa-alias.h (refs_may_alias_p_1): Declare. 2009-07-14 09:59:18 +00:00
tree-ssa-ccp.c re PR middle-end/41047 (gcc.target/mips/memcpy-1.c failing) 2009-08-13 08:19:10 +00:00
tree-ssa-coalesce.c tree-ssa-coalesce.c (coalesce_cost): Do not take ciritical parameter; update callers. 2009-05-02 11:00:59 +00:00
tree-ssa-copy.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-copyrename.c re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
tree-ssa-dce.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-dom.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-dse.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-forwprop.c re PR c/40435 (Revision 148442 caused many regressions on trunk) 2009-07-16 22:29:52 +00:00
tree-ssa-ifcombine.c re PR tree-optimization/41016 (ICE in build_int_cst_wide with -O1) 2009-08-09 20:10:41 +00:00
tree-ssa-live.c tree-ssa-live.c (remove_unused_locals): Do not remove heap variables. 2009-07-02 10:18:24 +00:00
tree-ssa-live.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
tree-ssa-loop-ch.c
tree-ssa-loop-im.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-loop-ivcanon.c loop-24.c: Update dump file matching; enable -O2. 2009-07-03 13:18:28 +00:00
tree-ssa-loop-ivopts.c tree-dfa.c (renumber_gimple_stmt_uids_in_blocks): New function. 2009-08-09 07:59:12 +00:00
tree-ssa-loop-manip.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-loop-niter.c c-lex.c: Replace %H by an explicit location. 2009-07-07 02:10:19 +00:00
tree-ssa-loop-prefetch.c 2009-08-13 Ghassan Shobaki <ghassan.shobaki@amd.com> 2009-08-13 21:37:24 +00:00
tree-ssa-loop-unswitch.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-loop.c Rename -fgraphite-force-parallel to -floop-parallelize-all. 2009-08-01 18:22:58 +00:00
tree-ssa-math-opts.c re PR middle-end/40501 (error: invalid conversion in gimple call) 2009-06-24 07:01:24 +00:00
tree-ssa-operands.c java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. 2009-06-12 22:06:47 +00:00
tree-ssa-operands.h tree-ssa-operands.h (push_stmt_changes, [...]): Delete. 2009-05-24 11:20:29 +00:00
tree-ssa-phiopt.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-phiprop.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-pre.c re PR tree-optimization/40991 (ICE: at optimization -02) 2009-08-08 15:32:36 +00:00
tree-ssa-propagate.c tree-ssa-operands.h (push_stmt_changes, [...]): Delete. 2009-05-24 11:20:29 +00:00
tree-ssa-propagate.h
tree-ssa-reassoc.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-ssa-sccvn.c tree-ssa.c (useless_type_conversion_p_1): Make function and array type comparisons frontend independent. 2009-08-06 11:31:20 +00:00
tree-ssa-sccvn.h tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions. 2009-06-07 21:44:39 +02:00
tree-ssa-sink.c tree-ssa-sink.c (statement_sink_location): Stop sinking expression if the target bb post dominates from bb. 2009-06-30 06:51:29 +00:00
tree-ssa-structalias.c tree-ssa-structalias.c (create_variable_info_for): Remove strange whole-program condition, prepare to be called for non-globals. 2009-08-26 09:02:01 +00:00
tree-ssa-ter.c ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
tree-ssa-threadedge.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa-threadupdate.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-ssa-uncprop.c domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and... 2009-06-27 14:45:51 +00:00
tree-ssa.c re PR c/41163 (verify_gimple fails) 2009-08-26 13:23:04 +00:00
tree-ssanames.c
tree-stdarg.c passes.c (init_optimization_passes): Strip now incorrect comment. 2009-05-11 12:19:00 +00:00
tree-stdarg.h
tree-switch-conversion.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-tailcall.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-data-refs.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-generic.c re PR tree-optimization/40550 (Segmentation fault caused by alignment error in sse code) 2009-06-28 20:33:54 +02:00
tree-vect-loop-manip.c Add source_location support to PHI arguments. 2009-07-30 18:36:30 +00:00
tree-vect-loop.c omp-low.c (optimize_omp_library_calls): Use types_compatible_p instead of comparing TYPE_MAIN_VARIANT for equality. 2009-08-19 14:29:52 +00:00
tree-vect-patterns.c omp-low.c (optimize_omp_library_calls): Use types_compatible_p instead of comparing TYPE_MAIN_VARIANT for equality. 2009-08-19 14:29:52 +00:00
tree-vect-slp.c re PR tree-optimization/39129 (The meaning of 'BB' in "too many BBs in loop") 2009-06-01 08:15:01 +00:00
tree-vect-stmts.c expr.h (struct separate_ops, sepops): New type for passing around an exploded simple expression. 2009-08-25 13:33:54 +00:00
tree-vectorizer.c tree-vectorizer.c (increase_alignment): Handle nested arrays. 2009-07-21 12:35:38 +00:00
tree-vectorizer.h tree-vectorizer.h (vectorizable_condition): Add parameters. 2009-07-20 11:59:10 +00:00
tree-vrp.c tree-vrp.c (vrp_evaluate_conditional): Mark strings for translation. 2009-07-14 22:21:17 +00:00
tree.c re PR middle-end/40964 (ICE in insert_vi_for_tree) 2009-08-06 11:29:13 +00:00
tree.def re PR tree-optimization/38964 (TBAA side-effects of C++ new still missing) 2009-05-22 20:41:31 +00:00
tree.h re PR middle-end/40964 (ICE in insert_vi_for_tree) 2009-08-06 11:29:13 +00:00
treestruct.def tree.c: Include debug.h. 2009-07-06 13:06:26 -04:00
tsystem.h
typeclass.h
unwind-c.c
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-darwin.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde-glibc.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2-fde.h
unwind-dw2.c unwind-dw2-fde-darwin.c: Include dwarf2.h. 2009-07-09 19:41:25 +00:00
unwind-dw2.h
unwind-generic.h
unwind-pe.h
unwind-sjlj.c
unwind.inc
value-prof.c * value-prof.c (init_pid_map): Replace xmalloc with XCNEWVEC. 2009-08-06 20:45:26 +00:00
value-prof.h
var-tracking.c var-tracking.c (unshare_variable): Force initialized to be VAR_INIT_STATUS_INITIALIZED unless flag_var_tracking_uninit. 2009-06-23 16:32:59 +02:00
varasm.c cgraph.h (constant_pool_htab): New function. 2009-07-20 19:35:25 +00:00
varpool.c
varray.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
varray.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
vec.c df-problems.c (df_byte_lr_alloc): Don't set problem_data to itself. 2009-06-16 19:01:18 +00:00
vec.h vec.h (VEC_stack_alloc): Define different version if GATHER_STATISTICS is defined... 2009-06-17 00:10:23 +00:00
vecprim.h
version.c ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
version.h
vmsdbg.h
vmsdbgout.c dwarf2out.c (output_file_names): Output VMS style file name, size, date, version info if VMS_DEBUGGING_INFO defined. 2009-07-29 17:35:32 +00:00
web.c
xcoff.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
xcoffout.c dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00
xcoffout.h dbxout.c (dbxout_source_line): Add is_stmt parameter. 2009-06-17 16:54:40 -07:00

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.