mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
re PR middle-end/51411 (ICE: in function_and_variable_visibility, at ipa.c:835 with -O -fgnu-tm and overriding virtual transaction_safe function)
PR middle-end/51411 * trans-mem.c (ipa_tm_create_version): Unset DECL_WEAK. From-SVN: r182492
This commit is contained in:
parent
a062c51e00
commit
e0b22991cc
@ -1,3 +1,8 @@
|
||||
2011-12-19 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
PR middle-end/51411
|
||||
* trans-mem.c (ipa_tm_create_version): Unset DECL_WEAK.
|
||||
|
||||
2011-12-19 Quentin Neill <quentin.neill@amd.com>
|
||||
|
||||
PR target/48743
|
||||
|
@ -4260,6 +4260,7 @@ ipa_tm_create_version (struct cgraph_node *old_node)
|
||||
{
|
||||
DECL_EXTERNAL (new_decl) = 0;
|
||||
TREE_PUBLIC (new_decl) = 0;
|
||||
DECL_WEAK (new_decl) = 0;
|
||||
}
|
||||
|
||||
tree_function_versioning (old_decl, new_decl, NULL, false, NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user