This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53136] Use after free in ipa_make_edge_direct_to_target, cxx_printable_name_internal problem
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 May 2012 06:23:19 +0000
- Subject: [Bug middle-end/53136] Use after free in ipa_make_edge_direct_to_target, cxx_printable_name_internal problem
- Auto-submitted: auto-generated
- References: <bug-53136-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53136
--- Comment #3 from uros at gcc dot gnu.org 2012-05-01 06:23:19 UTC ---
Author: uros
Date: Tue May 1 06:23:13 2012
New Revision: 187011
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187011
Log:
Backport from mainline
2012-04-30 Uros Bizjak <ubizjak@gmail.com>
PR middle-end/53136
* ipa-prop.c (ipa_print_node_jump_functions): Wrap multiple
calls to cgraph_node_name in xstrdup.
(ipa_make_edge_direct_to_target): Ditto.
* tree-sra.c (convert_callers_for_node): Ditto.
* lto-symtab.c (lto_cgraph_replace_node): Ditto.
* ipa-cp.c (perhaps_add_new_callers): Ditto.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Ditto.
(cgraph_materialize_all_clones): Ditto.
* ipa-inline.c (report_inline_failed_reason): Ditto.
(want_early_inline_function_p): Ditto.
(edge_badness): Ditto.
(update_edge_key): Ditto.
(flatten_function): Ditto.
(ipa_inline): Ditto.
(inline_always_inline_functions): Ditto.
(early_inline_small_functions): Ditto.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/cgraphunit.c
branches/gcc-4_7-branch/gcc/ipa-cp.c
branches/gcc-4_7-branch/gcc/ipa-inline.c
branches/gcc-4_7-branch/gcc/ipa-prop.c
branches/gcc-4_7-branch/gcc/lto-symtab.c
branches/gcc-4_7-branch/gcc/tree-sra.c