diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2010-01-10 12:06:43 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2010-01-10 12:06:43 +0000 |
commit | 57e2f01933b107b8c662b9afa1141b4899984034 (patch) | |
tree | 364dc2a56076d73de2c7c3e6879146994beed1b2 /gnu/egcs/gcc/cp/pt.c | |
parent | daa19e6179ba3a585b7996362fb461ec5c47814a (diff) |
Fix use of `enumeral_type' in template type unification error as seen
when compiling boost 1.41.
From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17327 via
Markus Hennecke <markus-hennecke at markus-hennecke dot de>.
miod@ tested and ok
Diffstat (limited to 'gnu/egcs/gcc/cp/pt.c')
-rw-r--r-- | gnu/egcs/gcc/cp/pt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/cp/pt.c b/gnu/egcs/gcc/cp/pt.c index 9405905fd67..973d8156f9e 100644 --- a/gnu/egcs/gcc/cp/pt.c +++ b/gnu/egcs/gcc/cp/pt.c @@ -8351,6 +8351,7 @@ unify (tparms, targs, parm, arg, strict) case COMPLEX_TYPE: case INTEGER_TYPE: case BOOLEAN_TYPE: + case ENUMERAL_TYPE: case VOID_TYPE: if (TREE_CODE (arg) != TREE_CODE (parm)) return 1; |