aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-04-20 09:56:52 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-04-20 09:56:52 +0200
commite00e62761dbd91200af4e448ff13b598d918049f (patch)
treeb6a5a85592d6403d62b68e65139c16a6ef74fdf5 /gcc/objc
parent774c08306d605bff4ffa217121fc2da45ee240bd (diff)
downloadgcc-e00e62761dbd91200af4e448ff13b598d918049f.zip
gcc-e00e62761dbd91200af4e448ff13b598d918049f.tar.gz
gcc-e00e62761dbd91200af4e448ff13b598d918049f.tar.bz2
re PR c++/85462 (internal compiler error: in inc_refcount_use, at cp/pt.c:8955)
PR c++/85462 * cp-tree.h (tinst_level): Remove in_system_header_p member, change refcount member from unsigned char to unsigned short, add refcount_infinity static data member, adjust comments. * pt.c (tinst_level::refcount_infinity): Define. (inc_refcount_use): Remove assert, don't increment if refcount is already refcount_infinity, adjust comment. (dec_refcount_use): Remove assert, don't decrement if refcount is refcount_infinity, adjust comment. (push_tinst_level_loc): Formatting fix. * g++.dg/cpp0x/pr85462.C: New test. From-SVN: r259516
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions