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 format: [Raw text]

optimization/5854: initialize_uninitialized_subregs() breaks HC11/HC12 port



>Number:         5854
>Category:       optimization
>Synopsis:       initialize_uninitialized_subregs() breaks HC11/HC12 port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 06 12:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stephane Carrez
>Release:        3_1-20020305
>Organization:
>Environment:

>Description:
The patch:

http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01067.html

From: Andrew Macleod <amacleod at cygnus dot com>

        * rtl.h (initialize_uninitialized_subregs): New prototype.
        * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
        when optimization is on.
        * flow.c (find_regno_partial): Find subregs within an expression.
        (initialize_uninitialized_subregs): Initialize live on entry registers
        which are used in subreg expressions.

creates a regression on m6811 target compared to 3.0.3/3.0.4
It is no longer possible to build the libgcc2 library.

Removing or disabling the call to
initialize_uninitialized_subregs() solves the problem.


>How-To-Repeat:

>Fix:

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