OSDN Git Service

2010-03-11 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Mar 2010 22:27:26 +0000 (22:27 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:12:02 +0000 (14:12 +0900)
commitee87afc6b03ab62ff831daa1dad1992a6b1a1198
tree9a02e887d8c048308de366e346319d39249630ce
parentc28aa53ed121bf9f0d2fbd9acd3865422f9fc271
2010-03-11  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/43257
* tree.c (assign_assembler_name_if_neeeded): New function.
(free_lang_data_in_cgraph): Assembler name assignment moved to the
above new function.
* tree.h (assign_assembler_name_if_neeeded): Declare.
* cgraphunit.c (cgraph_analyze_function): Create an assembler name for
the function if needed.

* testsuite/g++.dg/torture/pr43257.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157393 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog