re PR c++/39131 (decimal float point: ICE on typeid( 0.dd ))
PR c++/39131 * rtti.c (emit_support_tinfos): Add DFP types. * config/abi/pre/gnu.ver: Add DFP types. * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.4. From-SVN: r154113
This commit is contained in:
parent
ae761c4536
commit
fae927d3bd
@ -1,3 +1,8 @@
|
||||
2009-11-11 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/39131
|
||||
* rtti.c (emit_support_tinfos): Add DFP types.
|
||||
|
||||
2009-11-11 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* call.c (build_op_delete_call): Downgrade error about
|
||||
|
@ -1448,6 +1448,7 @@ emit_support_tinfos (void)
|
||||
&long_integer_type_node, &long_unsigned_type_node,
|
||||
&long_long_integer_type_node, &long_long_unsigned_type_node,
|
||||
&float_type_node, &double_type_node, &long_double_type_node,
|
||||
&dfloat32_type_node, &dfloat64_type_node, &dfloat128_type_node,
|
||||
0
|
||||
};
|
||||
int ix;
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-11-11 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/39131
|
||||
* g++.dg/dfp/typeid1.C: New.
|
||||
|
||||
2009-11-11 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/41978
|
||||
|
8
gcc/testsuite/g++.dg/dfp/typeid1.C
Normal file
8
gcc/testsuite/g++.dg/dfp/typeid1.C
Normal file
@ -0,0 +1,8 @@
|
||||
// PR c++/39131
|
||||
// { dg-do link }
|
||||
|
||||
#include <typeinfo>
|
||||
|
||||
const std::type_info &r = typeid(0.dd);
|
||||
|
||||
int main() { }
|
@ -1,3 +1,9 @@
|
||||
2009-11-11 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/39131
|
||||
* config/abi/pre/gnu.ver: Add DFP types.
|
||||
* testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.4.
|
||||
|
||||
2009-11-11 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/bits/basic_string.h (to_string(int), to_string(unsigned),
|
||||
|
@ -1198,3 +1198,15 @@ CXXABI_1.3.3 {
|
||||
_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE;
|
||||
|
||||
} CXXABI_1.3.2;
|
||||
|
||||
CXXABI_1.3.4 {
|
||||
|
||||
# typeinfo for decimal floating point types
|
||||
_ZTID[fde];
|
||||
_ZTIPD[fde];
|
||||
_ZTIPKD[fde];
|
||||
_ZTID[fde];
|
||||
_ZTIPD[fde];
|
||||
_ZTIPKD[fde];
|
||||
|
||||
} CXXABI_1.3.3;
|
||||
|
@ -193,6 +193,7 @@ check_version(symbol& test, bool added)
|
||||
known_versions.push_back("CXXABI_1.3.1");
|
||||
known_versions.push_back("CXXABI_1.3.2");
|
||||
known_versions.push_back("CXXABI_1.3.3");
|
||||
known_versions.push_back("CXXABI_1.3.4");
|
||||
known_versions.push_back("CXXABI_LDBL_1.3");
|
||||
}
|
||||
compat_list::iterator begin = known_versions.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user