This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/39010] [LTO] Memory corruption on gcc.c-torture/compile/limits-fndefn.c
- From: "espindola at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2009 14:26:21 -0000
- Subject: [Bug lto/39010] [LTO] Memory corruption on gcc.c-torture/compile/limits-fndefn.c
- References: <bug-39010-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from espindola at gcc dot gnu dot org 2009-02-17 14:26 -------
Subject: Bug 39010
Author: espindola
Date: Tue Feb 17 14:25:46 2009
New Revision: 144231
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144231
Log:
2009-02-16 Rafael Avila de Espindola <espindola@google.com>
PR 39010
* lto-function-in.c (input_string): Rename to input_string_cst.
Read loc.
(input_identifier): New.
(input_string): New.
(input_line_info): Use input_string.
(input_expr_operand): Use input_string_cst, input_identifier.
(input_labels): Use input_identifier.
(input_local_var_decl): Use input_identifier.
(input_gimple_stmt): Use input_string_cst.
(input_tree_operand): Use input_string_cst, input_identifier.
* lto-function-out.c (output_string): Rename to
output_string_with_length. Add trailing '\0'.
(output_string): New.
(output_string_cst): New.
(output_identifier): New.
(output_real): Update call to output_string.
(output_tree_flags): Update call to output_string.
(output_expr_operand): Use output_string_cst, output_identifier.
(output_local_var_decl): Use output_identifier.
(output_named_labels): Use output_identifier.
(output_gimple_stmt): Update call to output_string.
(output_tree_with_context): Use output_string_cst, output_identifier.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/lto-function-in.c
branches/lto/gcc/lto-function-out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39010