diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-20 23:05:47 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-20 23:05:47 +0000 |
commit | 1c26100feb54696f75afd28258506d4dc564ae7d (patch) | |
tree | 61e2d388e4c9e1800d174ed4d1ad82befd143f53 /gcc/c-common.h | |
parent | 9accf3d95005cfe1c754c5915d5f2afa7955740a (diff) | |
download | gcc-1c26100feb54696f75afd28258506d4dc564ae7d.tar.gz |
PR c++/4401
* c-common.c (pointer_int_sum): Moved from...
* c-typeck.c (pointer_int_sum): ...here.
* c-common.h (pointer_int_sum): Add prototype.
* typeck.c (cp_pointer_int_sum): Renamed from
pointer_int_sum, call pointer_int_sum.
* g++.dg/opt/ptrintsum1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49916 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index c90cbfb076b..9bb2d1ac233 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -538,6 +538,7 @@ extern char *get_directive_line PARAMS ((void)); and, if so, perhaps change them both back to their original type. */ extern tree shorten_compare PARAMS ((tree *, tree *, tree *, enum tree_code *)); +extern tree pointer_int_sum PARAMS ((enum tree_code, tree, tree)); extern unsigned int min_precision PARAMS ((tree, int)); /* Add qualifiers to a type, in the fashion for C. */ |