This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/18577] [3.3 regression] variable use moved before initialization
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2004 07:14:34 -0000
- Subject: [Bug rtl-optimization/18577] [3.3 regression] variable use moved before initialization
- References: <20041120163030.18577.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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