aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/cp/expr.c
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-07-11 03:40:53 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-07-11 03:40:53 +0000
commitbd0df3aa27aac083bd60b649fa5347076a5126eb (patch)
treef6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/cp/expr.c
parentfabd8bcd49e1046bc9abdcb4efaea04638630b6f (diff)
Gcc 3.3.1-pre as of 2003-07-11.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=117395
Diffstat (limited to 'contrib/gcc/cp/expr.c')
-rw-r--r--contrib/gcc/cp/expr.c27
1 files changed, 5 insertions, 22 deletions
diff --git a/contrib/gcc/cp/expr.c b/contrib/gcc/cp/expr.c
index 34f779ebb97f..cc9dae93adfe 100644
--- a/contrib/gcc/cp/expr.c
+++ b/contrib/gcc/cp/expr.c
@@ -32,9 +32,6 @@ Boston, MA 02111-1307, USA. */
#include "except.h"
#include "tm_p.h"
-static rtx cplus_expand_expr PARAMS ((tree, rtx, enum machine_mode,
- enum expand_modifier));
-
/* Hook used by output_constant to expand language-specific
constants. */
@@ -79,12 +76,12 @@ cplus_expand_constant (cst)
/* Hook used by expand_expr to expand language-specific tree codes. */
-static rtx
-cplus_expand_expr (exp, target, tmode, modifier)
+rtx
+cxx_expand_expr (exp, target, tmode, modifier)
tree exp;
rtx target;
enum machine_mode tmode;
- enum expand_modifier modifier;
+ int modifier; /* Actually an enum expand_modifier. */
{
tree type = TREE_TYPE (exp);
register enum machine_mode mode = TYPE_MODE (type);
@@ -105,13 +102,13 @@ cplus_expand_expr (exp, target, tmode, modifier)
target, tmode, modifier);
case OFFSET_REF:
- /* Offset refs should not make it through to here. */
+ /* Offset refs should not make it through to here. */
abort ();
return const0_rtx;
case THROW_EXPR:
expand_expr (TREE_OPERAND (exp, 0), const0_rtx, VOIDmode, 0);
- return NULL;
+ return const0_rtx;
case MUST_NOT_THROW_EXPR:
expand_eh_region_start ();
@@ -130,17 +127,3 @@ cplus_expand_expr (exp, target, tmode, modifier)
/* NOTREACHED */
return NULL;
}
-
-void
-init_cplus_expand ()
-{
- lang_expand_expr = cplus_expand_expr;
-}
-
-int
-extract_init (decl, init)
- tree decl ATTRIBUTE_UNUSED, init ATTRIBUTE_UNUSED;
-{
- return 0;
-}
-