public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/20413] New: VOIDmode LABEL_REFs are generated
@ 2005-03-10 19:59 amylaar at gcc dot gnu dot org
  2005-03-10 20:00 ` [Bug rtl-optimization/20413] " amylaar at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-03-10 19:59 UTC (permalink / raw)
  To: gcc-bugs

Various parts of the compiler generate LABEL_REFS with VOIDmode instead of Pmode.
This can cause some optimizations to be missed because two pieces of code
might be identical, except for the mode of their LABEL_REFS - then they still
compare as non-equal, e.g. for if-conversion or cross-jumping.

For targets that have varying Pmode settings and therefore use jump patterns
that don't specify the mode so that they can match e.g. either SImode of DImode,
the situation is more dire: when reload has to load the label into a register,
it needs the mode of the label_ref to determine the load of the reload.
VOIDmode in this place leads to an ICE, which is likely to prevent building
the gcc support libraries.

-- 
           Summary: VOIDmode LABEL_REFs are generated
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, missed-optimization, build
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 17652
             nThis:


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-04-25 13:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-10 19:59 [Bug rtl-optimization/20413] New: VOIDmode LABEL_REFs are generated amylaar at gcc dot gnu dot org
2005-03-10 20:00 ` [Bug rtl-optimization/20413] " amylaar at gcc dot gnu dot org
2005-03-12 17:27 ` pinskia at gcc dot gnu dot org
2005-03-30 19:14 ` amylaar at gcc dot gnu dot org
2005-04-08 12:19 ` amylaar at gcc dot gnu dot org
2005-04-08 16:36 ` amylaar at gcc dot gnu dot org
2005-04-08 17:45 ` cvs-commit at gcc dot gnu dot org
2005-04-08 18:28 ` cvs-commit at gcc dot gnu dot org
2005-04-11 12:48 ` giovannibajo at libero dot it
2005-04-11 13:16 ` joern dot rennecke at st dot com
2005-04-11 13:21 ` amylaar at gcc dot gnu dot org
2005-04-25 12:45 ` cvs-commit at gcc dot gnu dot org
2005-04-25 12:46 ` cvs-commit at gcc dot gnu dot org
2005-04-25 13:10 ` amylaar at gcc dot gnu dot org
2005-04-25 13:13 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).