This is the mail archive of the gcc-patches@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]

PATCH: Partial fix for PR28686 - add missing initialization


This is for PR28686, where the presence of an unrelated function
affecting the generated code of functions apearing later in the source
code.
ELIMINABLE_REGSET is a file static variable in global.c
and it was not cleared before it was calculated in global_alloc (),
making stale bits from the compilation of the previous function hanging around
and affecting the register allocation.

Bootstrapped and reg-tested on i686 linux. OK?

2007-2-01 Seongbae Park <seongbae.park@gmail.com>

       * gcc/global.c (global_alloc): Add mising initialization of
       ELIMINABLE_REGSET.
--
#pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";

Attachment: 28686-O2.diff.txt
Description: Text document


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