diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-27 08:13:58 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-27 08:13:58 +0000 |
commit | 890d0caa48695c5fb7ac1981126cf32fa892c244 (patch) | |
tree | 04b352125b3c30f7b7e9831b54f686d56cfba379 /gcc/cp/rtti.c | |
parent | 19ca9558f8e340aca6a390edd389c9ce8e19f07a (diff) | |
download | gcc-890d0caa48695c5fb7ac1981126cf32fa892c244.tar.gz |
gcc/cp/
2010-05-27 Kai Tietz <kai.tietz@onevision.com>
PR bootstrap/44287
* rtti.c (emit_support_tinfos): Check for NULL_TREE.
* class.c (layout_class_type): Likewise.
* decl.c (finish_enum): Likewise.
* mangle.c (write_builitin_type): Likewise.
gcc/
2010-05-27 Kai Tietz <kai.tietz@onevision.com>
PR bootstrp/44287
* c-lex.c (narrowest_unsigned_type): Check for NULL_TREE.
(narrow_signed_type): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159912 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 17664f57ed5..62aa9212929 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -1502,6 +1502,8 @@ emit_support_tinfos (void) tree types[3]; int i; + if (bltn == NULL_TREE) + continue; types[0] = bltn; types[1] = build_pointer_type (bltn); types[2] = build_pointer_type (cp_build_qualified_type (bltn, |