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
This commit is contained in:
Zack Weinberg 2001-04-04 16:15:24 +00:00 committed by Zack Weinberg
parent 79ba58ef68
commit c3fa1afd75
5 changed files with 9 additions and 34 deletions

View File

@ -1,3 +1,8 @@
2001-04-04 Zack Weinberg <zackw@stanford.edu>
* expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
* config/romp/xm-romp.h: Delete.
2001-04-04 Bernd Schmidt <bernds@redhat.com>
* sched-deps.c (sched_analyze_insn): Partially revert March 27

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,7 @@
2001-04-04 Zack Weinberg <zackw@stanford.edu>
* POTFILES.in: Remove config/romp/xm-romp.h.
2001-04-03 Zack Weinberg <zackw@stanford.edu>
* POTFILES.in: Remove all the files deleted by the xm-host.h

View File

@ -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