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]

[Bug rtl-optimization/18577] [3.3 regression] variable use moved before initialization


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-21 07:14 -------
> The bug seems to be caused by the loop unroller making a pseudo local
> to be able to duplicate it while it is still needed outside of the loop.
> Reverting Eric Botcazou's patch for rtl-optimization/11841, which is
> also about this, fixes the problem.

Thanks for investigating.

> I don't really understand what's going on, but is it possible we still have to 
> look at the pseudo luids and not only the note luids? Like this?

IIRC note luids are supposed to be a superset of regular luids, so your check
should be redundant (see regclass.c:reg_scan_mark_refs).  Now something could
have invalidated this relationship.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu dot|
                   |org                         |
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18577


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