public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bero at arklinux dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/33685]  New: [4.3 regression] invalid rtl sharing found in the insn
Date: Sun, 07 Oct 2007 21:28:00 -0000	[thread overview]
Message-ID: <bug-33685-5606@http.gcc.gnu.org/bugzilla/> (raw)

gcc -DHAVE_CONFIG_H -I. -I.. -I../.. -DMAGIC=\"/usr/lib/rpm/magic\"
-DHAVE_LIBZ=1 -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers -MT softmagic.lo -MD -MP -MF .deps/softmagic.Tpo -c
softmagic.c  -fPIC -DPIC -o .libs/softmagic.o
softmagic.c: In function 'cvt_16':
softmagic.c:553: error: invalid rtl sharing found in the insn
(insn 70 69 71 12 softmagic.c:552 (parallel [
            (set (reg:HI 69)
                (udiv:HI (reg:HI 71 [ <variable>.h ])
                    (subreg:HI (reg:SI 79 [ D.4365 ]) 0)))
            (set (reg:HI 70)
                (umod:HI (reg:HI 71 [ <variable>.h ])
                    (subreg:HI (reg:SI 79 [ D.4365 ]) 0)))
            (use (reg:HI 72))
            (clobber (reg:CC 17 flags))
        ]) 231 {*udivmodhi_noext} (nil))
softmagic.c:553: error: shared rtx
(subreg:HI (reg:SI 79 [ D.4365 ]) 0)
softmagic.c:553: internal compiler error: internal consistency failure


Happens at -O1 and higher.


-- 
           Summary: [4.3 regression] invalid rtl sharing found in the insn
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu


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


             reply	other threads:[~2007-10-07 21:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-07 21:28 bero at arklinux dot org [this message]
2007-10-07 21:28 ` [Bug rtl-optimization/33685] " bero at arklinux dot org
2007-10-07 23:10 ` [Bug target/33685] " pinskia at gcc dot gnu dot org
2007-10-08  8:57 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-33685-5606@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).