[Bug target/71889] [MIPS] python: "insn does not satisfy its constraints"

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 15 08:14:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71889

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[5.4 Regression] [MIPS]     |[MIPS] python: "insn does
                   |python: "insn does not      |not satisfy its
                   |satisfy its constraints"    |constraints"

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
mipsel-softfloat-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2
-fomit-frame-pointer -pipe -mmt -march=1004kc -fwrapv -c
_codecs_cn.preprocessed.c

/var/tmp/portage/dev-lang/python-2.7.11-r2/work/Python-2.7.11/Modules/cjkcodecs/_codecs_cn.c:
In function ‘gb18030_encode’:
/var/tmp/portage/dev-lang/python-2.7.11-r2/work/Python-2.7.11/Modules/cjkcodecs/_codecs_cn.c:243:1:
error: insn does not satisfy its constraints:
(insn 588 291 583 32 (parallel [
            (set (reg:SI 25 $25 [494])
                (truncate:SI (lshiftrt:DI (mult:DI (zero_extend:DI (reg:SI 16
$16 [orig:488 tc ] [488]))
                            (zero_extend:DI (reg:SI 8 $8 [544])))
                        (const_int 32 [0x20]))))
            (clobber (scratch:SI))
        ])
/var/tmp/portage/dev-lang/python-2.7.11-r2/work/Python-2.7.11/Modules/cjkcodecs/_codecs_cn.c:220
68 {umulsi3_highpart_internal}
     (nil))
/var/tmp/portage/dev-lang/python-2.7.11-r2/work/Python-2.7.11/Modules/cjkcodecs/_codecs_cn.c:243:1:
internal compiler error: in extract_constrain_insn, at recog.c:2246

quoting for easier searches.

Enabling optimizations without any -O is a no-op so you effectively tested -O0.

What GCC version was able to compile the file?


More information about the Gcc-bugs mailing list