diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-06-17 21:12:58 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-06-17 21:12:58 +0000 |
commit | 081e30a13c9397b8d8c3dac5fc55196eb985ff67 (patch) | |
tree | a7cb46c17651fab78a328fbb09de0b1e1c073487 /gnu/egcs/gcc/cp/method.c | |
parent | 94facf520a7352fcca192b8a9e4e3edf677768ca (diff) |
Update to 990608 snapshot.
Highlights:
- official fix for an alpha bug,
- cpp changes semantic slightly,
- valarray in libstdc++.
Diffstat (limited to 'gnu/egcs/gcc/cp/method.c')
-rw-r--r-- | gnu/egcs/gcc/cp/method.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/cp/method.c b/gnu/egcs/gcc/cp/method.c index 39f7f041937..323aff58ebf 100644 --- a/gnu/egcs/gcc/cp/method.c +++ b/gnu/egcs/gcc/cp/method.c @@ -372,10 +372,16 @@ is_back_referenceable_type (type) switch (TREE_CODE (type)) { + case BOOLEAN_TYPE: + if (!flag_do_squangling) + /* Even though the mangling of this is just `b', we did + historically generate back-references for it. */ + return 1; + /* Fall through. */ + case INTEGER_TYPE: case REAL_TYPE: case VOID_TYPE: - case BOOLEAN_TYPE: /* These types have single-character manglings, so there's no point in generating back-references. */ return 0; |