aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-08-06 18:20:27 +0000
committerMark Mitchell <mark@codesourcery.com>1999-08-06 18:20:27 +0000
commitaccc9c4a7c39502bbf32baf577d05f0d339272cb (patch)
tree095df14265db59289275bbcf68dc5206b26f72dd /gcc/cp/lex.c
parent9d19436593b500b947c42026a16393e5477ce9fa (diff)
* error.c (dump_expr): Handle EXACT_DIV_EXPR.
(dump_binary_op): Bulletproof. * lex.c (init_parse): Set opname_tab[EXACT_DIV_EXPR]. * tree.c (search_tree): Don't enumerate all the nodes of classes `1', `2', and `<'; handle them generically. Don't be sorry about "unrecognized tree codes"; just abort. (no_linkage_check): Don't do linkage checks for templates. * tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@28550 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 1bcb667b092..5afda551edf 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -761,6 +761,7 @@ init_parse (filename)
opname_tab[(int) CEIL_MOD_EXPR] = "(ceiling %)";
opname_tab[(int) FLOOR_MOD_EXPR] = "(floor %)";
opname_tab[(int) ROUND_MOD_EXPR] = "(round %)";
+ opname_tab[(int) EXACT_DIV_EXPR] = "/";
opname_tab[(int) NEGATE_EXPR] = "-";
opname_tab[(int) MIN_EXPR] = "<?";
opname_tab[(int) MAX_EXPR] = ">?";