[Bug other/32508] g++ emits concept checks instantiations (code size blows up).
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 22:23:00 GMT 2007
------- Comment #1 from pluto at agmk dot net 2007-06-25 22:23 -------
4.2-20070609 works, but 4.2-20070625 fails similar to 4.1.
$ readelf -sW concepts-42.so|c++filt|grep Concept
10: 0000000000001010 5 FUNC WEAK DEFAULT 10
__gnu_cxx::_BidirectionalIteratorConcept<X*>::__constraints()
14: 0000000000001070 31 FUNC WEAK DEFAULT 10
__gnu_cxx::_EqualityComparableConcept<X*>::__constraints()
16: 0000000000001090 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_AssignableConcept<X*>::__constraints()
20: 0000000000001060 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_TrivialIteratorConcept<X*>::__constraints()
21: 0000000000001040 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_DefaultConstructibleConcept<X*>::__constraints()
24: 0000000000000fe0 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_ConvertibleConcept<X, X>::__constraints()
25: 0000000000001020 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_ConvertibleConcept<std::random_access_iterator_tag,
std::bidirectional_iterator_tag>::__constraints()
26: 0000000000001050 5 FUNC WEAK DEFAULT 10
__gnu_cxx::_InputIteratorConcept<X*>::__constraints()
27: 0000000000001030 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_ForwardIteratorConcept<X*>::__constraints()
28: 0000000000001000 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_ConvertibleConcept<std::random_access_iterator_tag,
std::forward_iterator_tag>::__constraints()
29: 00000000000010a0 5 FUNC WEAK DEFAULT 10
__gnu_cxx::_Mutable_ForwardIteratorConcept<X*>::__constraints()
30: 0000000000000f90 31 FUNC WEAK DEFAULT 10
__gnu_cxx::_LessThanComparableConcept<unsigned long>::__constraints()
31: 0000000000000fc0 2 FUNC WEAK DEFAULT 10
__gnu_cxx::_ConvertibleConcept<std::random_access_iterator_tag,
std::input_iterator_tag>::__constraints()
33: 0000000000000fd0 5 FUNC WEAK DEFAULT 10
__gnu_cxx::_Mutable_BidirectionalIteratorConcept<X*>::__constraints()
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.1.2 |4.1.2 4.2.1
Known to work|4.2.0 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32508
More information about the Gcc-bugs
mailing list