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