This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/1558: Different definitions for REGISTER_MOVE_COST in headers and sources
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/1558: Different definitions for REGISTER_MOVE_COST in headers and sources
- From: patrick dot hildenbrand at sap-ag dot com
- Date: 5 Jan 2001 11:48:09 -0000
- Reply-To: patrick dot hildenbrand at sap-ag dot com
>Number: 1558
>Category: other
>Synopsis: Different definitions for REGISTER_MOVE_COST in headers and sources
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 05 03:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: cpp
>Release: gcc-20010101
>Organization:
>Environment:
hppa1.1-hp-hpux11.00 using hp C compiler and gnu assembler during make bootstrap
>Description:
make bootstrap will fail due to the definitions of REGISTER_MOVE_COST are different in source and headers.
The definitoins are as follows:
In headerfiles under gcc/config/<architecture> (ex. gcc/config/pa.h):
REGISTER_MOVE_COST(MODE, CLASS1, CLASS2)
in source (gcc/regclass.c, gcc/reload.c, gcc/reload1.c):
REGISTER_MOVE_COST(CLASS1, CLASS2)
according to gcc/ChangeLog this was introduced by Alexandre Oliva, maybe a commit to the source files is missing ?
>How-To-Repeat:
make bootstrap
>Fix:
change either source or header to use the same number of parameters for REGISTER_MOVE_COST.
>Release-Note:
>Audit-Trail:
>Unformatted: