re PR target/35921 (Con/de-structor definition fails to override dllimport declaration)
PR target/35921 * optimize.c (maybe_clone_body): Copy DECL_DLLIMPORT_P flag to clone. From-SVN: r134298
This commit is contained in:
parent
8edb93c423
commit
39e6670f28
@ -1,3 +1,9 @@
|
||||
2008-04-16 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
PR target/35921
|
||||
* optimize.c (maybe_clone_body): Copy DECL_DLLIMPORT_P flag
|
||||
to clone.
|
||||
|
||||
2008-04-09 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/35708
|
||||
|
@ -146,6 +146,7 @@ maybe_clone_body (tree fn)
|
||||
TREE_PUBLIC (clone) = TREE_PUBLIC (fn);
|
||||
DECL_VISIBILITY (clone) = DECL_VISIBILITY (fn);
|
||||
DECL_VISIBILITY_SPECIFIED (clone) = DECL_VISIBILITY_SPECIFIED (fn);
|
||||
DECL_DLLIMPORT_P (clone) = DECL_DLLIMPORT_P (fn);
|
||||
|
||||
/* Adjust the parameter names and locations. */
|
||||
parm = DECL_ARGUMENTS (fn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user