From c3fa1afd756b3edc145bb686588fe41ee37e0006 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 4 Apr 2001 16:15:24 +0000 Subject: [PATCH] expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic. * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic. * config/romp/xm-romp.h: Delete. * po/POTFILES.in: Remove config/romp/xm-romp.h. From-SVN: r41086 --- gcc/ChangeLog | 5 +++++ gcc/config/romp/xm-romp.h | 24 ------------------------ gcc/expr.h | 9 --------- gcc/po/ChangeLog | 4 ++++ gcc/po/POTFILES.in | 1 - 5 files changed, 9 insertions(+), 34 deletions(-) delete mode 100644 gcc/config/romp/xm-romp.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9855c59..ec31de7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-04-04 Zack Weinberg + + * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic. + * config/romp/xm-romp.h: Delete. + 2001-04-04 Bernd Schmidt * sched-deps.c (sched_analyze_insn): Partially revert March 27 diff --git a/gcc/config/romp/xm-romp.h b/gcc/config/romp/xm-romp.h deleted file mode 100644 index 1109e98..0000000 --- a/gcc/config/romp/xm-romp.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Configuration for GNU C-compiler for IBM RT PC. - Copyright (C) 1989, 1991, 1993, 2001 Free Software Foundation, Inc. - -This file is part of GNU CC. - -GNU CC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU CC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* hc has a bug converting functions to pointers in arguments. */ -#ifdef __HIGHC__ -#define FUNCTION_CONVERSION_BUG -#endif diff --git a/gcc/expr.h b/gcc/expr.h index 8d88301..1f107d9 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -279,16 +279,7 @@ typedef struct optab /* Given an enum insn_code, access the function to construct the body of that kind of insn. */ -#ifdef FUNCTION_CONVERSION_BUG -/* Some compilers fail to convert a function properly to a - pointer-to-function when used as an argument. - So produce the pointer-to-function directly. - Luckily, these compilers seem to work properly when you - call the pointer-to-function. */ -#define GEN_FCN(CODE) (insn_data[(int) (CODE)].genfun) -#else #define GEN_FCN(CODE) (*insn_data[(int) (CODE)].genfun) -#endif /* Enumeration of valid indexes into optab_table. */ enum optab_index diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 2a4773a..21d52ad 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2001-04-04 Zack Weinberg + + * POTFILES.in: Remove config/romp/xm-romp.h. + 2001-04-03 Zack Weinberg * POTFILES.in: Remove all the files deleted by the xm-host.h diff --git a/gcc/po/POTFILES.in b/gcc/po/POTFILES.in index 6b46590..8bfdcef 100644 --- a/gcc/po/POTFILES.in +++ b/gcc/po/POTFILES.in @@ -389,7 +389,6 @@ config/psos.h config/ptx4.h config/romp/romp.c config/romp/romp.h -config/romp/xm-romp.h config/rs6000/aix.h config/rs6000/aix31.h config/rs6000/aix3newas.h -- 2.7.4