[Bug target/42904] Attribute dllexport should imply externally_visible

2010-11-30 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904

Dave Korn davek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
URL||http://gcc.gnu.org/ml/gcc-p
   ||atches/2010-11/msg02190.htm
   ||l
 Depends on||46709
 Resolution||FIXED
 AssignedTo|davek at gcc dot gnu.org|ktietz at gcc dot gnu.org

--- Comment #5 from Dave Korn davek at gcc dot gnu.org 2010-11-30 17:31:32 
UTC ---
Yes, Kai's patch (see URL) works for -fwhole-program as well as LTO :)


[Bug target/42904] Attribute dllexport should imply externally_visible

2010-11-30 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904

Dave Korn davek at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug target/42904] Attribute dllexport should imply externally_visible

2010-11-29 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904

--- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 
2010-11-30 07:39:04 UTC ---
Fixed?


[Bug target/42904] Attribute dllexport should imply externally_visible

2010-05-17 Thread davek at gcc dot gnu dot org


--- Comment #2 from davek at gcc dot gnu dot org  2010-05-17 17:02 ---
Yes, it certainly does, in fact it omits to compile any definition for 'foo'
whatsoever!

But isn't this the expected behaviour of using '-fwhole-program' on something
that is not the whole program?  I'm not sure if the option is supposed to be
suitable for use when building a shared library, I'll ask on the mailing list.


-- 

davek at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||davek at gcc dot gnu dot org
  Known to work||4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904



[Bug target/42904] Attribute dllexport should imply externally_visible

2010-05-17 Thread davek at gcc dot gnu dot org


--- Comment #3 from davek at gcc dot gnu dot org  2010-05-17 18:28 ---
Consensus seems to be that this is indeed how it's meant to work, but that
figuring out which are the externally visible functions and marking them
automatically would be a nice enhancement that would make the -fwhole-program
option work on libraries, so I think we should do it.


-- 

davek at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |davek at gcc dot gnu dot org
   |dot org |
   Severity|normal  |enhancement
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-05-17 18:28:38
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904



[Bug target/42904] Attribute dllexport should imply externally_visible

2010-01-29 Thread d dot g dot gorbachev at gmail dot com


--- Comment #1 from d dot g dot gorbachev at gmail dot com  2010-01-30 
02:21 ---
Created an attachment (id=19757)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19757action=view)
Testcase

Produces undefined reference to `_foo' error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904