summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/cp/method.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-06-17 21:12:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-06-17 21:12:58 +0000
commit081e30a13c9397b8d8c3dac5fc55196eb985ff67 (patch)
treea7cb46c17651fab78a328fbb09de0b1e1c073487 /gnu/egcs/gcc/cp/method.c
parent94facf520a7352fcca192b8a9e4e3edf677768ca (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.c8
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;