[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo dot carlini at oracle dot com


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

   Severity|normal  |enhancement


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo dot carlini at oracle dot com


--- Comment #1 from paolo dot carlini at oracle dot com  2008-12-21 15:06 
---
Note, the use of typeid (and type_info) is explicit in the specifications, thus
the only solution I can see for -fno-rtti is not providing at all (ifdef-ing
out) function::target and target_type. If submitter has better ideas please
speak...


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
   |dot org |dot com
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-12-21 15:06:39
   date||


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread bruck dot michael at googlemail dot com


--- Comment #2 from bruck dot michael at googlemail dot com  2008-12-21 
15:36 ---
Basically my thoughts too. But I am not familiar enough with these headers to
say that this is side-effect free, especially with all that SFINAE code.


-- 


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo dot carlini at oracle dot com


--- Comment #3 from paolo dot carlini at oracle dot com  2008-12-21 15:40 
---
Ok, let's do this. Worst case, something will be unnecessarily broken with
-fno-rtti, but certainly nothing which is not broken already ;)


-- 


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo at gcc dot gnu dot org


--- Comment #4 from paolo at gcc dot gnu dot org  2008-12-21 15:57 ---
Subject: Bug 38596

Author: paolo
Date: Sun Dec 21 15:56:22 2008
New Revision: 142862

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142862
Log:
2008-12-21  Paolo Carlini  paolo.carl...@oracle.com

PR libstdc++/38596
* include/tr1_impl/function (function::target,
function::target_type): Provide only when __GXX_RTTI is defined.
(_Function_base::_M_manager, _Ref_manager::_M_manager,
_Function_handlervoid(_ArgTypes...), _Member _Class::*::_M_manager):
Adjust.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1_impl/functional


-- 


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo dot carlini at oracle dot com


--- Comment #5 from paolo dot carlini at oracle dot com  2008-12-21 15:58 
---
Done.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

   Target Milestone|--- |4.4.0


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread paolo dot carlini at oracle dot com


--- Comment #6 from paolo dot carlini at oracle dot com  2008-12-21 15:58 
---
Yes.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug libstdc++/38596] tr1_impl/functional incompatible with -fno-rtti

2008-12-21 Thread bruck dot michael at googlemail dot com


--- Comment #7 from bruck dot michael at googlemail dot com  2008-12-21 
16:36 ---
Thanks Paolo.


-- 


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