This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

other/1558: Different definitions for REGISTER_MOVE_COST in headers and sources



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]