diff options
author | Jason Merrill <jason@redhat.com> | 2009-11-11 23:44:24 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-11-11 23:44:24 -0500 |
commit | fae927d3bd1c1d5bcef31763547658d8ee5336d0 (patch) | |
tree | 6142e43c713c7611493800c103668e2bf190ced2 /gcc | |
parent | ae761c4536548e9bfa0619430726b249d732279d (diff) | |
download | gcc-fae927d3bd1c1d5bcef31763547658d8ee5336d0.zip gcc-fae927d3bd1c1d5bcef31763547658d8ee5336d0.tar.gz gcc-fae927d3bd1c1d5bcef31763547658d8ee5336d0.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/rtti.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/dfp/typeid1.C | 8 |
4 files changed, 19 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 80948b1..355cf99 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,10 @@ 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 placement/non-placement confusion to permerror. diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 3fb6d11..e96abcb 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -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; diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 95fa342..94f935d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.dg/dfp/typeid1.C b/gcc/testsuite/g++.dg/dfp/typeid1.C new file mode 100644 index 0000000..cdc33a7 --- /dev/null +++ b/gcc/testsuite/g++.dg/dfp/typeid1.C @@ -0,0 +1,8 @@ +// PR c++/39131 +// { dg-do link } + +#include <typeinfo> + +const std::type_info &r = typeid(0.dd); + +int main() { } |