gcc/gcc
Joseph Myers 9a0c618755 c-lex.c (c_lex_with_flags): Expect cpp_hashnode in tok->val.node.node.
gcc:
	* c-lex.c (c_lex_with_flags): Expect cpp_hashnode in
	tok->val.node.node.

libcpp:
	* include/cpplib.h (enum cpp_token_fld_kind): Add
	CPP_TOKEN_FLD_TOKEN_NO.
	(struct cpp_macro_arg, struct cpp_identifier): Define.
	(union cpp_token_u): Use struct cpp_identifier for identifiers.
	Use struct cpp_macro_arg for macro arguments.  Add token_no for
	CPP_PASTE token numbers.
	* directives.c (_cpp_handle_directive, lex_macro_node, do_pragma,
	do_pragma_poison, parse_assertion): Use val.node.node in place of
	val.node.
	* expr.c (parse_defined, eval_token): Use val.node.node in place
	of val.node.
	* lex.c (cpp_ideq, _cpp_lex_direct, cpp_token_len,
	cpp_spell_token, cpp_output_token, _cpp_equiv_tokens,
	cpp_token_val_index): Use val.macro_arg.arg_no or val.token_no in
	place of val.arg_no.  Use val.node.node in place of val.node.
	* macro.c (replace_args, cpp_get_token, parse_params,
	lex_expansion_token, create_iso_definition, cpp_macro_definition):
	Use val.macro_arg.arg_no or val.token_no in place of val.arg_no.
	Use val.node.node in place of val.node.

From-SVN: r147341
2009-05-10 15:27:32 +01:00
..
ada * gcc-interface/Make-lang.in: Update dependencies 2009-05-07 12:00:43 +02:00
config arc.c (arc_handle_interrupt_attribute): Use %qE for identifiers in diagnostics. 2009-05-10 11:29:35 +01:00
cp pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
doc re PR c/36892 (Support __attribute__((deprecated("text string")))) 2009-05-08 11:44:50 -07:00
fortran re PR fortran/40018 (ICE in output_constructor) 2009-05-10 10:21:08 +00:00
ginclude Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
java collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
objc pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
objcp ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
po * gcc.pot: Regenerate. 2009-05-10 11:36:44 +01:00
testsuite re PR fortran/40018 (ICE in output_constructor) 2009-05-10 10:22:37 +00:00
ABOUT-GCC-NLS ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
BASE-VER * BASE-VER: Change to 4.5.0. 2009-03-27 20:56:48 +00:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog c-lex.c (c_lex_with_flags): Expect cpp_hashnode in tok->val.node.node. 2009-05-10 15:27:32 +01: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.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-05-10 00:16:45 +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 cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00: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 re PR target/27880 (undefined reference to `_Unwind_GetIPInfo') 2008-11-12 21:37:34 +00:00
addresses.h
alias.c Expand from SSA. 2009-04-26 19:35:04 +00:00
alias.h re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
alloc-pool.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
alloc-pool.h
attribs.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
auto-inc-dec.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
basic-block.h Expand from SSA. 2009-04-26 19:35:04 +00:00
bb-reorder.c bb-reorder.c (partition_hot_cold_basic_blocks): Do not enter/exit cfglayout mode. 2009-03-30 08:58:52 +00:00
bitmap.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
bitmap.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
bt-load.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
builtin-attrs.def
builtin-types.def
builtins.c re PR middle-end/40023 (type mismatch in address expression) 2009-05-05 16:08:24 +00:00
builtins.def builtins.def (va_start, [...]): Fix my previous commit. 2009-04-15 14:07:55 +00:00
c-aux-info.c
c-common.c re PR c/36892 (Support __attribute__((deprecated("text string")))) 2009-05-08 11:44:50 -07:00
c-common.def re PR middle-end/323 (optimized code gives strange floating point results) 2009-03-30 02:50:44 +01:00
c-common.h re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
c-config-lang.in
c-convert.c re PR middle-end/39614 (Internal error compiling CSiBE) 2009-04-08 15:11:46 +01:00
c-cppbuiltin.c re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
c-decl.c re PR c/36892 (Support __attribute__((deprecated("text string")))) 2009-05-08 11:44:50 -07:00
c-dump.c
c-errors.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
c-format.c gcc_diag-1.c (foo): Don't check that %E produces a warning. 2009-04-23 08:44:55 +00:00
c-format.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
c-gimplify.c re PR c/39983 (ICE: type mismatch in address expression) 2009-05-03 19:57:32 +00:00
c-lang.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
c-lex.c c-lex.c (c_lex_with_flags): Expect cpp_hashnode in tok->val.node.node. 2009-05-10 15:27:32 +01: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-common.c (c_expand_expr, c_staticp): Remove. 2009-03-29 18:26:43 +00:00
c-omp.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
c-opts.c flags.h (extra_warnings): Delete. 2009-05-03 19:14:06 +00:00
c-parser.c re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
c-pch.c
c-ppoutput.c re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
c-pragma.c re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
c-pragma.h
c-pretty-print.c pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
c-pretty-print.h c-objc-common.c (c_tree_printer): Print identifiers with pp_identifier, not pp_string. 2009-05-01 15:09:20 +01:00
c-semantics.c re PR c/19771 (VLA deallocation) 2009-04-19 21:19:54 +01:00
c-tree.h re PR c/39556 (statics in C99 inline functions later declared extern) 2009-04-26 14:40:19 +01:00
c-typeck.c re PR c/36892 (Support __attribute__((deprecated("text string")))) 2009-05-08 11:44:50 -07:00
c.opt re PR c/39037 (FLOAT_CONST_DECIMAL64 pragma not supported) 2009-05-07 22:34:08 +00:00
caller-save.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
calls.c calls.c (initialize_argument_information): Handle SSA names like decls with a non MEM_P DECL_RTL. 2009-05-01 21:53:15 +00:00
cfg.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cfganal.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cfgbuild.c cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. 2009-04-22 04:48:34 +00:00
cfgcleanup.c tree-eh.c (cleanup_eh): When not optimizing, do not try EH merging. 2009-04-08 15:13:01 +00:00
cfgexpand.c re PR middle-end/40021 (Revision 146817 miscompiled DAXPY in BLAS) 2009-05-06 16:49:13 +00:00
cfghooks.c cfghooks.c (tidy_fallthru_edges): Remove find_basic_blocks references from comments. 2009-04-22 04:48:34 +00:00
cfghooks.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cfglayout.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
cfglayout.h
cfgloop.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cfgloop.h ipa-pure-const.c (struct funct_state_d): New fields state_previously_known, looping_previously_known... 2009-04-26 23:35:27 +00:00
cfgloopanal.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cfgloopmanip.c re PR middle-end/39124 (-fno-exceptions leads to a ICE) 2009-02-10 17:23:17 +01:00
cfgrtl.c re PR rtl-optimization/39938 (build broke for cris-elf with dbr_schedule change) 2009-04-29 21:44:26 +00:00
cgraph.c re PR middle-end/40084 (Revision 147294 failed 483.xalancbmk in SPEC CPU 2006 at -O3) 2009-05-10 11:36:11 +00:00
cgraph.h re PR middle-end/40084 (Revision 147294 failed 483.xalancbmk in SPEC CPU 2006 at -O3) 2009-05-10 11:36:11 +00:00
cgraphbuild.c cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
cgraphunit.c re PR middle-end/40080 (error: missing callgraph edge for call stmt) 2009-05-09 20:10:37 +00:00
cif-code.def Bring from lto-branch: 2009-03-28 11:10:06 +00:00
collect2.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
collect2.h
combine-stack-adj.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
combine.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
common.opt flags.h (extra_warnings): Delete. 2009-05-03 19:14:06 +00:00
conditions.h
config.build
config.gcc Makefile.in (enable_plugin, [...]): New. 2009-05-05 19:14:20 +00:00
config.host config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha. 2009-03-24 10:33:57 +00:00
config.in configure.ac (HAVE_LD_BUILDID): New check for ld --build-id support. 2009-05-01 00:19:24 +00:00
configure configure.ac: use ` ` instead of $() 2009-05-04 22:08:44 +00:00
configure.ac configure.ac: use ` ` instead of $() 2009-05-04 22:08:44 +00:00
convert.c re PR middle-end/323 (optimized code gives strange floating point results) 2009-03-30 02:50:44 +01:00
convert.h
coretypes.h tree.c (list_equal_p): New function. 2009-04-25 18:27:19 +00:00
coverage.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
coverage.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cppdefault.c
cppdefault.h
cppspec.c
crtstuff.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cse.c dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +00:00
cselib.c re PR rtl-optimization/39794 (Miscompile with -O2 -funroll-loops) 2009-04-24 08:58:02 +02:00
cselib.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
cstamp-h.in
dbgcnt.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
dbgcnt.def dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +00:00
dbgcnt.h
dbxout.c tree.h: Remove DECL_BY_REFERENCE from private_flag comment. 2009-05-05 23:07:05 +02:00
dbxout.h
dce.c Makefile.in (dce.o): Add $(EXCEPT_H). 2009-04-30 14:35:22 +00:00
dce.h
ddg.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
ddg.h
debug.c debug.h (set_name): Declare. 2009-04-15 17:40:25 -04:00
debug.h debug.h (set_name): Add comment. 2009-04-28 11:06:16 -04:00
defaults.h tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
df-byte-scan.c re PR middle-end/37448 (cannot compile big function) 2008-10-11 23:39:21 +00:00
df-core.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
df-problems.c re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 12:22:30 +00:00
df-scan.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
df.h re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 12:22:30 +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 Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
diagnostic.c diagnostic.c (diagnostic_report_diagnostic): Do not warn about loaded plugins for DK_ERROR and DK_WARNING. 2009-04-14 23:41:28 -04:00
diagnostic.def ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
diagnostic.h re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
dojump.c re PR middle-end/40057 (Incorrect right shift by 31 with long long) 2009-05-07 17:27:40 +02:00
dominance.c basic-block.h (get_all_dominated_blocks): Declare. 2009-04-20 14:01:52 +00:00
domwalk.c
domwalk.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
double-int.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
double-int.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
dse.c re PR rtl-optimization/39794 (Miscompile with -O2 -funroll-loops) 2009-04-24 08:58:02 +02:00
dse.h
dummy-checksum.c
dwarf2.h combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
dwarf2asm.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
dwarf2asm.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
dwarf2out.c dwarf2out.c (new_reg_loc_descr): Don't ever create DW_OP_regX. 2009-05-06 18:51:25 +02:00
dwarf2out.h
ebitmap.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
ebitmap.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
emit-rtl.c Expand from SSA. 2009-04-26 19:35:04 +00:00
emit-rtl.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
emutls.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
errors.c Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
errors.h Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
et-forest.c
et-forest.h
except.c tree-eh.c (struct leh_state): Remove prev_try. 2009-05-09 15:00:25 +00:00
except.h tree-eh.c (struct leh_state): Remove prev_try. 2009-05-09 15:00:25 +00:00
exec-tool.in Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
explow.c tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
expmed.c expmed.c (synth_mult): When trying out a shift, pass the result of a signed shift. 2009-05-03 23:31:18 +00:00
expr.c expr.c (get_def_for_expr): Move it up in the file. 2009-05-06 20:46:25 +00:00
expr.h target.h (struct gcc_target): Add case_values_threshold field. 2009-04-25 08:34:27 +04:00
final.c dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +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 flags.h (extra_warnings): Delete. 2009-05-03 19:14:06 +00:00
fold-const.c fold-const.c (fold_binary): Do not fold multiplication by 1 or -1 for complex floating-point types if... 2009-05-08 21:58:26 +01:00
fp-test.c
function.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
function.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
fwprop.c re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 12:22:30 +00:00
gbl-ctors.h gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__ instead of unsigned long. 2009-04-13 12:11:48 +02:00
gcc-plugin.h Makefile.in (PLUGIN_VERSION_H): New. 2009-04-29 13:20:53 +00:00
gcc.c configure.ac (HAVE_LD_BUILDID): New check for ld --build-id support. 2009-05-01 00:19:24 +00:00
gcc.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
gccbug.in
gccspec.c
gcov-dump.c gcc.c (process_command): Update copyright notice dates. 2009-02-03 21:48:23 +01:00
gcov-io.c
gcov-io.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gcov-iov.c
gcov.c gcc.c (process_command): Update copyright notice dates. 2009-02-03 21:48:23 +01:00
gcse.c gcse.c (ae_gen): Remove. 2009-04-30 10:51:08 +00:00
gdbinit.in ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
genattr.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
genattrtab.c
genautomata.c Makefile.in: Update dependencies. 2009-04-22 16:01:29 +00:00
gencheck.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
genchecksum.c
gencodes.c
genconditions.c
genconfig.c
genconstants.c
genemit.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
genextract.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
genflags.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
gengenrtl.c
gengtype-lex.l hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
gengtype-parse.c gengtype-parse.c (parse_error): Add newline after message. 2009-04-24 09:46:47 -04:00
gengtype.c
gengtype.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
genmddeps.c
genmodes.c
genmultilib
genopinit.c i386.md (cmpcc): New. 2009-04-09 10:57:03 +00:00
genoutput.c genoutput.c (validate_optab_operands): New. 2009-04-08 15:00:34 +00:00
genpeep.c
genpreds.c Fix from Dave Korn in case a backend does not declare any define_register_constraints 2009-04-30 21:52:15 +00:00
genrecog.c genrecog.c (validate_pattern): Do not warn for VOIDmode CALLs as the source of a set operation. 2009-04-25 14:51:34 +10: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 Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
ggc-common.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
ggc-none.c
ggc-page.c
ggc-zone.c
ggc.h re PR c/12245 (Uses lots of memory when compiling large initialized arrays) 2009-02-23 16:46:32 +00:00
gimple-iterator.c
gimple-low.c tree-pass.h (pass_del_ssa, [...]): Remove decls. 2009-04-26 22:09:50 +00:00
gimple-pretty-print.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
gimple.c tree-ssa.c (execute_update_address_taken): Handle TARGET_MEM_REF when processing for not_regs_needed bitmap. 2009-05-06 18:27:10 +04:00
gimple.def gimple.def (GIMPLE_ASSIGN): Fix incorrect information in the comment. 2009-05-06 21:40:10 +00:00
gimple.h collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
gimplify.c re PR middle-end/39666 (spurious warning with ranged-switch statements) 2009-05-05 23:09:16 +02:00
glimits.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
graph.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
graph.h
graphds.c
graphds.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
graphite.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
graphite.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
gsstruct.def Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
gstab.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
gsyms.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
gsyslimits.h
gthr-aix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-dce.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-gnat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-gnat.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-lynx.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-mipssde.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-nks.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-posix95.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-rtems.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-single.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-solaris.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-tpf.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr-vxworks.h gthr-vxworks.h (struct __gthread_once_t): Add alignment and padding for PPC. 2009-04-22 10:53:53 +00:00
gthr-win32.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gthr.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
haifa-sched.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
hard-reg-set.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
hooks.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
hooks.h collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
host-default.c
hosthooks-def.h
hosthooks.h
hwint.h
ifcvt.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
incpath.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
incpath.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
init-regs.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
input.h
insn-addr.h
insn-notes.def
integrate.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
integrate.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
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 cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
ipa-inline.c cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
ipa-prop.c cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
ipa-prop.h cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
ipa-pure-const.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-reference.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
ipa-reference.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
ipa-struct-reorg.c cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
ipa-struct-reorg.h tree-parloops.c: Change license to GPLv3. 2009-02-10 17:59:08 +00:00
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 Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
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 cgraph.c (cgraph_make_edge, [...]): Set nothrow flag. 2009-04-18 18:39:52 +00:00
ipa.c re PR bootstrap/40082 (Power bootstrap is broken in building libstdc++) 2009-05-09 18:31:32 +00:00
ira-build.c revert: reload.c (push_reload, [...]): Use df_get_live_out instead of DF_LR_OUT. 2009-04-03 22:02:33 +00:00
ira-color.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-conflicts.c re PR rtl-optimization/39914 (96% performance regression in floating point code; part of the problem started 2009/03/12-13) 2009-04-28 18:18:17 +02:00
ira-costs.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
ira-emit.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-int.h re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira-lives.c re PR rtl-optimization/39762 (IRA ICE with -msoft-float) 2009-04-16 15:15:48 +00:00
ira.c Fix from Dave Korn in case a backend does not declare any define_register_constraints 2009-04-30 21:52:15 +00:00
ira.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
jump.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
lambda-code.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
lambda-mat.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
lambda-trans.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
lambda.h re PR tree-optimization/37031 (ICE for h264ref in gather_interchange_stats with -ftree-loop-linear) 2009-01-08 17:01:42 +01:00
langhooks-def.h c-common.c (c_expand_expr, c_staticp): Remove. 2009-03-29 18:26:43 +00:00
langhooks.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
langhooks.h attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
lcm.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
libfuncs.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
libgcc-std.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
libgcc2.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcc2.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libgcov.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
limitx.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
limity.h
lists.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
longlong.h longlong.h (sub_ddmmss): New for ia64. 2009-02-12 08:30:53 -08:00
loop-doloop.c re PR rtl-optimization/37782 (Stage2 ada compiler miscompiled) 2008-11-03 12:01:11 -08:00
loop-init.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
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 loop-iv.c (simple_rhs_p): Allow expressions that are function_invariant_p. 2009-04-24 11:05:59 +00:00
loop-unroll.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
loop-unswitch.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
lower-subreg.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01: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 ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00: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 gcc.c (process_command): Update copyright notice dates. 2009-02-03 21:48:23 +01:00
mips-tfile.c gcc.c (process_command): Update copyright notice dates. 2009-02-03 21:48:23 +01:00
mkconfig.sh
mkmap-flat.awk Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
mkmap-symver.awk
mode-classes.def
mode-switching.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
modulo-sched.c SMS - Pass the actual schedulable rows to compute_split_row 2009-03-31 06:19:06 +00:00
omega.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
omega.h
omp-builtins.def
omp-low.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
opt-functions.awk Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
opt-gather.awk
optabs.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
optabs.h i386.md (cmpcc): New. 2009-04-09 10:57:03 +00:00
optc-gen.awk optc-gen.awk: Warn if an option flag has multiple different help strings. 2009-03-30 05:55:57 +00:00
opth-gen.awk hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
opts-common.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
opts.c re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475) 2009-05-08 12:22:30 +00:00
opts.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
output.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
params.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
params.def invoke.texi (max_gcse_passes): Remove documentation. 2009-04-12 19:43:46 +00:00
params.h invoke.texi (max_gcse_passes): Remove documentation. 2009-04-12 19:43:46 +00:00
passes.c cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
plugin.c plugin-support.exp: New file containing support procs for plugin testcases. 2009-05-06 12:22:19 -04:00
plugin.h common.opt (fhelp): Add Var(help_flag). 2009-04-16 14:31:45 +00:00
pointer-set.c
pointer-set.h
postreload-gcse.c postreload-gcse.c (eliminate_partially_redundant_loads): Use optimize_bb_for_size_p. 2008-08-31 12:52:07 +00:00
postreload.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
predict.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
predict.def Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
predict.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
prefix.c
prefix.h
pretty-print.c pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01: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 Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
print-tree.c tree.h: Remove DECL_BY_REFERENCE from private_flag comment. 2009-05-05 23:07:05 +02:00
profile.c re PR c/7543 (no warning for always-false "if (!a & 0x4)" bitwise and on boolean value) 2008-10-24 10:09:06 +00:00
profile.h
read-rtl.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
real.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
real.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
recog.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
recog.h re PR inline-asm/39058 (ICE with double in inline-asm) 2009-02-02 14:23:43 +01:00
reg-notes.def Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
reg-stack.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
regcprop.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
reginfo.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
regmove.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
regrename.c Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
regs.h [multiple changes] 2008-08-26 12:39:58 +00:00
regstat.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
reload.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
reload.h cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts. 2009-03-23 16:29:33 +00:00
reload1.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
reorg.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
resource.c re PR rtl-optimization/39938 (build broke for cris-elf with dbr_schedule change) 2009-04-29 21:44:26 +00:00
resource.h
rtl-error.c
rtl.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
rtl.def genautomata.c: Add a new year to the copyright. 2009-03-27 17:43:26 -07:00
rtl.h gcse.c (ae_gen): Remove. 2009-04-30 10:51:08 +00:00
rtlanal.c rtlanal.c (alloc_reg_note): New function, broken out of add_reg_note. 2009-04-16 16:08:04 +00:00
rtlhooks-def.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
rtlhooks.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
sbitmap.c
sbitmap.h
sched-deps.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
sched-ebb.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
sched-int.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
sched-rgn.c re PR middle-end/37499 (Scheduling pass 2 time increases by order of magnitude) 2008-09-18 12:29:48 +04:00
sched-vis.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
sdbout.c sdbout.c (sdbout_symbol): Pass VOIDmode to eliminate_regs. 2009-04-22 01:50:03 +00:00
sdbout.h
see.c re PR middle-end/37448 (cannot compile big function) 2008-10-11 23:39:21 +00:00
sel-sched-dump.c sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING. 2008-09-01 16:38:44 +04:00
sel-sched-dump.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
sel-sched-ir.c 20071210-2.c: New testcase. 2009-04-28 14:01:52 +04:00
sel-sched-ir.h 20071210-2.c: New testcase. 2009-04-28 14:01:52 +04:00
sel-sched.c 20071210-2.c: New testcase. 2009-04-28 14:01:52 +04:00
sel-sched.h sel-sched.h, [...]: New files. 2008-09-01 12:57:00 +04:00
simplify-rtx.c simplify-rtx.c (simplify_binary_operation_1, case AND): Result is zero if no overlap in nonzero bits between the operands. 2009-04-24 16:19:36 +00:00
sparseset.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
sparseset.h
sreal.c
sreal.h
ssaexpand.h ssaexpand.h (struct ssaexpand): Member 'values' is a bitmap. 2009-04-27 12:16:00 +00:00
stab.def
stack-ptr-mod.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
statistics.c
statistics.h
stmt.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
stor-layout.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
store-motion.c * store-motion.c (compute_store_table): Add ENABLE_CHECKING guard. 2009-05-02 09:11:23 +00:00
stringpool.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
stub-objc.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
sync-builtins.def
system.h tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
target-def.h tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
target.h tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
targhooks.c tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
targhooks.h tm.texi (LEGITIMIZE_ADDRESS): Revise documentation. 2009-05-04 12:52:41 +00:00
timevar.c
timevar.def Makefile.in (OBJS-common): Add regcprop.o. 2009-05-07 15:47:11 +00:00
timevar.h df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tlink.c tlink.c: Include "libiberty.h". 2008-11-20 14:21:51 +01:00
toplev.c re PR c/36892 (Support __attribute__((deprecated("text string")))) 2009-05-08 11:44:50 -07:00
toplev.h re PR c/36892 (Support __attribute__((deprecated("text string")))) 2009-05-08 11:44:50 -07:00
tracer.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-affine.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-affine.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-browser.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-browser.def
tree-call-cdce.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-cfg.c cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
tree-cfgcleanup.c tree-eh.c (tree_remove_unreachable_handlers): Handle shared labels. 2009-04-25 09:02:05 +00:00
tree-chrec.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-chrec.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-complex.c re PR c/24581 (Complex arithmetic on special cases is incorrect.) 2009-05-08 11:22:08 +01:00
tree-data-ref.c collect2.c (is_ctor_dtor): Change type of ret field in struct names to symkind. 2009-04-27 20:25:48 +00:00
tree-data-ref.h re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-dfa.c tree-flow-inline.h (function_ann): Remove. 2009-04-27 08:26:40 +00:00
tree-dump.c Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
tree-dump.h Fix enum conversions which are invalid in C++: 2009-04-20 19:35:00 +00:00
tree-eh.c tree-eh.c (struct leh_state): Remove prev_try. 2009-05-09 15:00:25 +00:00
tree-flow-inline.h tree-flow-inline.h (function_ann): Remove. 2009-04-27 08:26:40 +00:00
tree-flow.h tree.h (SSA_NAME_VALUE): Remove. 2009-04-28 08:50:19 +00:00
tree-if-conv.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
tree-inline.c re PR middle-end/40084 (Revision 147294 failed 483.xalancbmk in SPEC CPU 2006 at -O3) 2009-05-10 11:36:11 +00:00
tree-inline.h cgraphbuild.c (compute_call_stmt_bb_frequency): Accept function argument; handle correctly when profile is absent. 2009-05-08 19:19:51 +00:00
tree-into-ssa.c tree-into-ssa.c (regs_to_rename, [...]): Remove. 2009-04-27 11:15:53 +00:00
tree-iterator.c tree-iterator.c (expr_only): Remove. 2009-04-18 11:47:22 +00:00
tree-iterator.h tree-iterator.c (tsi_split_statement_list_after, [...]): Remove. 2009-04-16 18:50:07 +00:00
tree-loop-distribution.c omp-low.c (lower_rec_input_clauses): Build correct address expressions. 2009-04-15 16:12:01 +00:00
tree-loop-linear.c re PR tree-optimization/37031 (ICE for h264ref in gather_interchange_stats with -ftree-loop-linear) 2009-01-08 17:01:42 +01:00
tree-mudflap.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
tree-mudflap.h
tree-nested.c tree-nested.c (get_nonlocal_vla_type): If not optimizing, call note_nonlocal_vla_type for nonlocal VLAs. 2009-04-26 20:47:54 +02:00
tree-nomudflap.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +00:00
tree-nrv.c Expand from SSA. 2009-04-26 19:35:04 +00:00
tree-object-size.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-optimize.c tree-pass.h (pass_del_ssa, [...]): Remove decls. 2009-04-26 22:09:50 +00:00
tree-outof-ssa.c re PR middle-end/39927 (build breakage for cris-elf building libstdc++-v3) 2009-04-29 17:36:21 +00:00
tree-parloops.c tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Extend comments. 2009-03-04 17:50:20 +00:00
tree-pass.h dbgcnt.def (cprop1, [...]): Remove 2009-04-27 17:21:27 +00:00
tree-phinodes.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-predcom.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-pretty-print.c pretty-print.h (struct pretty_print_info): Add translate_identifiers. 2009-05-10 11:28:34 +01:00
tree-profile.c omp-low.c (lower_rec_input_clauses): Build correct address expressions. 2009-04-15 16:12:01 +00:00
tree-scalar-evolution.c re PR tree-optimization/40062 (high memory usage and compile time in SCEV cprop with -O3) 2009-05-08 12:24:22 +00:00
tree-scalar-evolution.h tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Extend comments. 2009-03-04 17:50:20 +00:00
tree-sra.c re PR tree-optimization/40081 (verify_stmts failed with -O2) 2009-05-10 10:16:01 +00:00
tree-ssa-address.c hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
tree-ssa-alias.c tree-ssa-alias.c (refs_may_alias_p_1): Do not use TBAA for decl-vs-decl disambiguation. 2009-04-17 15:35:13 +00:00
tree-ssa-alias.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
tree-ssa-ccp.c re PR middle-end/39824 (ice in fold-const.c) 2009-04-22 15:41:48 +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 tree-optimization/23329 (hack in may_propagate_copy should be able to removed) 2009-05-03 19:55:55 +00:00
tree-ssa-copyrename.c Expand from SSA. 2009-04-26 19:35:04 +00:00
tree-ssa-dce.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-dom.c tree.h (SSA_NAME_VALUE): Remove. 2009-04-28 08:50:19 +00:00
tree-ssa-dse.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-forwprop.c re PR middle-end/39937 (Revision 146831 failed SPEC CPU 2006) 2009-04-29 15:05:22 +00:00
tree-ssa-ifcombine.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-live.c Expand from SSA. 2009-04-26 19:35:04 +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 Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-ssa-loop-im.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-loop-ivcanon.c ipa-pure-const.c (struct funct_state_d): New fields state_previously_known, looping_previously_known... 2009-04-26 23:35:27 +00:00
tree-ssa-loop-ivopts.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-loop-manip.c gimplify.c (mark_addressable): Export. 2009-03-27 23:00:22 +00:00
tree-ssa-loop-niter.c ipa-pure-const.c (struct funct_state_d): New fields state_previously_known, looping_previously_known... 2009-04-26 23:35:27 +00:00
tree-ssa-loop-prefetch.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-loop-unswitch.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-ssa-loop.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
tree-ssa-math-opts.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-ssa-operands.c gimple.c (gimple_copy): Do not clear addresses_taken bitmap. 2009-04-16 13:23:13 +00:00
tree-ssa-operands.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
tree-ssa-phiopt.c
tree-ssa-phiprop.c re PR middle-end/40022 (Alpine miscompilation) 2009-05-05 16:09:46 +00:00
tree-ssa-pre.c re PR java/39940 (failure in jc1 on i686-apple-darwin9 host) 2009-05-02 17:50:21 +00:00
tree-ssa-propagate.c tree.h (SSA_NAME_VALUE): Remove. 2009-04-28 08:50:19 +00:00
tree-ssa-propagate.h tree-ssa-propagate.c (stmt_makes_single_load): Remove. 2009-04-16 18:48:16 +00:00
tree-ssa-reassoc.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-sccvn.c tree-ssa-pre.c (eliminate): When replacing a PHI node carry out a necessary conversion. 2009-04-15 14:18:22 +00:00
tree-ssa-sccvn.h re PR c++/8781 (Pessimization of C++ (functional) code) 2009-04-04 09:34:32 +00:00
tree-ssa-sink.c re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tree-ssa-structalias.c ipa-reference.c: Do not include c-common.h, include splay-tree.h. 2009-05-01 20:25:26 +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 tree.h (SSA_NAME_VALUE): Remove. 2009-04-28 08:50:19 +00:00
tree-ssa-threadupdate.c loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. 2008-08-29 10:35:57 +00:00
tree-ssa-uncprop.c tree-ssa-uncprop.c (associate_equivalences_with_edges): Use last_basic_block for size of bb->index indexed array. 2009-04-04 18:31:39 +00:00
tree-ssa.c tree-ssa.c (execute_update_address_taken): Handle TARGET_MEM_REF when processing for not_regs_needed bitmap. 2009-05-06 18:27:10 +04:00
tree-ssanames.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-stdarg.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-stdarg.h
tree-switch-conversion.c re PR tree-optimization/39845 (ICE: in make_decl_rtl, at varasm.c:1304) 2009-04-22 11:30:04 +00:00
tree-tailcall.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-vect-data-refs.c tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use REPORT_VECTORIZED_LOCATIONS instead REPORT_VECTORIZED_LOOPS. 2009-04-28 08:08:25 +00:00
tree-vect-generic.c df.h: Include "timevar.h". 2009-04-17 05:40:46 +00:00
tree-vect-loop-manip.c tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use REPORT_VECTORIZED_LOCATIONS instead REPORT_VECTORIZED_LOOPS. 2009-04-28 08:08:25 +00:00
tree-vect-loop.c tree-vect-loop.c (get_initial_def_for_induction): Use correct types for pointer increment. 2009-04-29 08:10:15 +00:00
tree-vect-patterns.c tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use REPORT_VECTORIZED_LOCATIONS instead REPORT_VECTORIZED_LOOPS. 2009-04-28 08:08:25 +00:00
tree-vect-slp.c tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use REPORT_VECTORIZED_LOCATIONS instead REPORT_VECTORIZED_LOOPS. 2009-04-28 08:08:25 +00:00
tree-vect-stmts.c Fix PR 40049 2009-05-08 22:38:49 +00:00
tree-vectorizer.c tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use REPORT_VECTORIZED_LOCATIONS instead REPORT_VECTORIZED_LOOPS. 2009-04-28 08:08:25 +00:00
tree-vectorizer.h tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use REPORT_VECTORIZED_LOCATIONS instead REPORT_VECTORIZED_LOOPS. 2009-04-28 08:08:25 +00:00
tree-vrp.c tree.h (SSA_NAME_VALUE): Remove. 2009-04-28 08:50:19 +00:00
tree.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
tree.def expr.c (handled_component_p): Move ... 2009-04-20 14:11:34 +00:00
tree.h tree.h: Remove DECL_BY_REFERENCE from private_flag comment. 2009-05-05 23:07:05 +02:00
treestruct.def re PR middle-end/13146 (inheritance for nonoverlapping_component_refs_p) 2009-04-03 10:24:28 +00:00
tsystem.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
typeclass.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-c.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-compat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-compat.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-compat.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-darwin.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde-glibc.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2-fde.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-dw2.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-generic.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-pe.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind-sjlj.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unwind.inc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
value-prof.c re PR c/7543 (no warning for always-false "if (!a & 0x4)" bitwise and on boolean value) 2008-10-24 10:09:06 +00:00
value-prof.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
var-tracking.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
varasm.c attribs.c (decl_attributes): Use %qE for identifiers in diagnostics. 2009-05-05 00:44:36 +01:00
varpool.c [multiple changes] 2009-04-02 15:45:25 +00:00
varray.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
varray.h hashtab.h: Update GTY annotations to new syntax 2009-04-22 14:29:36 -04:00
vec.c alloc-pool.c (alloc_pool_descriptor): Use an insert_opion value instead of an int. 2009-04-30 16:24:31 +00:00
vec.h combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
vecprim.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
version.c ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
version.h
vmsdbg.h
vmsdbgout.c debug.h (set_name): Declare. 2009-04-15 17:40:25 -04:00
web.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
xcoff.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
xcoffout.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
xcoffout.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01: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.