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 00:20:47 +0000 (09:20 +0900)
commit5e2b7e1b01ce5162232e75933b1a90e3c67dd2e6
treee983d56423142f682d94779775319925e4d7a5e8
parentaf2a7dbdf359ad22f018967bc9984184d1fd6841
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