http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #15 from Jason Merrill 2013-02-11
15:44:51 UTC ---
(In reply to comment #13)
> I don't understand why fully declared templates like Boost's shared_ptr have a
> visibility at all.
I'm not sure why they would. Are you compili
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #14 from André Wöbbeking 2013-02-10
15:50:14 UTC ---
Could anyone reply to my last question? Thanks in advance.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
André Wöbbeking changed:
What|Removed |Added
CC||Woebbeking at web dot de
--- Comment #
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #12 from vincenzo Innocente
2011-11-08 08:49:22 UTC ---
much better!
for the test in comment 7 now I get
c++ -O0 -shared -fPIC -fvisibility=hidden -o bha.so testICF.cpp
nm bha.so | c++filt | grep " T "
0e5c T go()
000
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #10 from Jason Merrill 2011-11-07
21:17:28 UTC ---
Created attachment 25744
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25744
patch for 4.6
I think I'm not going to apply this to release branches, as it's a pretty
significant
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #9 from Jason Merrill 2011-11-07
17:51:43 UTC ---
Author: jason
Date: Mon Nov 7 17:51:40 2011
New Revision: 181102
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181102
Log:
PR c++/35688
* decl2.c (constrain_visibilit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #8 from vincenzo Innocente
2011-11-07 09:38:08 UTC ---
Reduced test
actually it is enough to add
s::foo(v);
in the main after s::foo(a);
to get
0e34 t void s::foo(A)
0e3a T void s::foo >(s::vector)
0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #7 from vincenzo Innocente
2011-11-07 09:23:30 UTC ---
The situation now is even more confused.
Most of the std algos have iterators as arguments. Visibility seems not to
propagate there..
below is my extensive test
compile as
c++ -
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #6 from Jason Merrill 2011-11-07
04:40:25 UTC ---
Author: jason
Date: Mon Nov 7 04:40:14 2011
New Revision: 181069
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181069
Log:
PR c++/35688
gcc/c-common/
* c-common.c (de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
Paolo Carlini changed:
What|Removed |Added
CC|jason at gcc dot gnu.org|vincenzo.innocente at cern
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
AssignedTo|unassigned at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #4 from Jason Merrill 2011-11-06
13:21:35 UTC ---
No, I was misreading the code, it should already deal with function templates.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #3 from Jason Merrill 2011-11-06
13:20:22 UTC ---
Ah, need to use constrain_visibility_for_template for function templates as
well as class templates.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
Paolo Carlini changed:
What|Removed |Added
CC|gcc-bugs at gcc dot gnu.org |jason at gcc dot gnu.org
--- Comment #2 f
15 matches
Mail list logo