other/1558: Different definitions for REGISTER_MOVE_COST in headers and sources
patrick.hildenbrand@sap-ag.com
patrick.hildenbrand@sap-ag.com
Fri Jan 5 03:56:00 GMT 2001
>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:
More information about the Gcc-bugs
mailing list