public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26345]  New: -fmove-loop-invariants loses POINTER attribute
@ 2006-02-17 18:36 sje at cup dot hp dot com
  2006-02-17 18:38 ` [Bug tree-optimization/26345] " sje at cup dot hp dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: sje at cup dot hp dot com @ 2006-02-17 18:36 UTC (permalink / raw)
  To: gcc-bugs

As of SVN version 110852, I cannot bootstrap IA64 HP-UX compiler.  The compiler
dies while compiling tree-into-ssa.c.  I have a preprocessed cut-down version
of this file that I will attach to this defect.  I proposed a workaround/patch
earlier, it is at http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01288.html.  But
that patch is a workaround for the real bug, loosing the POINTER attribute on
the register.  The attached program compiles with -O2 -fno-move-loop-invariants
but dies with an unrecognized instruction with -O2.  The failure is I get is
below, the instruction is not regognized because reg 385 is not marked as a
ponter.

x.c:122: error: unrecognizable insn:
(insn 76 68 135 3 (set (reg:DI 387)
        (unspec:DI [
                (plus:SI (subreg/s/v:SI (reg:DI 385) 4)
                    (const_int 4 [0x4]))
            ] 24)) -1 (insn_list:REG_DEP_TRUE 142 (nil))
    (expr_list:REG_DEAD (reg:DI 385)
        (expr_list:REG_EQUAL (unspec:DI [
                    (plus:SI (subreg/s/v:SI (reg:DI 385) 4)
                        (const_int 4 [0x4]))
                ] 24)
            (nil))))
x.c:122: internal compiler error: in extract_insn, at recog.c:2075


-- 
           Summary: -fmove-loop-invariants loses POINTER attribute
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
 GCC build triplet: ia64-hp-hpux11.23
  GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23


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


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

end of thread, other threads:[~2006-03-03 17:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-17 18:36 [Bug tree-optimization/26345] New: -fmove-loop-invariants loses POINTER attribute sje at cup dot hp dot com
2006-02-17 18:38 ` [Bug tree-optimization/26345] " sje at cup dot hp dot com
2006-02-17 18:42 ` [Bug rtl-optimization/26345] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-17 18:44 ` ebotcazou at gcc dot gnu dot org
2006-02-17 19:18 ` sje at cup dot hp dot com
2006-02-17 20:40 ` ebotcazou at gcc dot gnu dot org
2006-02-18  4:55 ` pinskia at gcc dot gnu dot org
2006-03-03 16:43 ` sje at gcc dot gnu dot org
2006-03-03 16:45 ` sje at gcc dot gnu dot org
2006-03-03 17:33 ` 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).