This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33667] New: [4.3 Regression] RTL sharing with divmod
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2007 10:16:38 -0000
- Subject: [Bug middle-end/33667] New: [4.3 Regression] RTL sharing with divmod
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc -DHAVE_CONFIG_H -I. -I.. -DMAGIC=\"/etc/magic:/usr/share/misc/magic\"
-march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_FILE_OFFSET_BITS=64 -DHOWMANY=69632 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fPIC
-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:534: error: invalid rtl sharing found in the insn
(insn 70 69 71 12 softmagic.c:533 (parallel [
(set (reg:HI 69)
(udiv:HI (reg:HI 71 [ <variable>.h ])
(subreg:HI (reg:SI 79 [ D.4664 ]) 0)))
(set (reg:HI 70)
(umod:HI (reg:HI 71 [ <variable>.h ])
(subreg:HI (reg:SI 79 [ D.4664 ]) 0)))
(use (reg:HI 72))
(clobber (reg:CC 17 flags))
]) 231 {*udivmodhi_noext} (nil))
softmagic.c:534: error: shared rtx
(subreg:HI (reg:SI 79 [ D.4664 ]) 0)
softmagic.c:534: internal compiler error: internal consistency failure
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
--
Summary: [4.3 Regression] RTL sharing with divmod
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, ice-checking
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: i?86-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33667