------- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-03 16:42 ------- Reduced testcase, not a regression.
namespace std __attribute__ ((__visibility__ ("default"))) { class type_info { }; }; template<class E> void throw_exception(E const & e); class bad_lexical_cast { public: bad_lexical_cast(const std::type_info &target_type); }; template<typename Source> int lexical_cast(const Source &arg) { throw_exception(bad_lexical_cast(typeid(Source))); } int i; int test = lexical_cast( &i ); -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|c++ |middle-end Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Known to fail| |4.3.0 Last reconfirmed|0000-00-00 00:00:00 |2008-11-03 16:42:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38002