GCC internal error (unrecognizable insn ...) building qt4-x11 for Thumb-2 on armel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcc-4.4
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu lucid (development branch)
Release: 10.04
Codename: lucid
$ uname -r
2.6.31-105-imx51
Architecture: armel
gcc-4.4 4.4.2-3ubuntu1 (lucid)
qt4-x11 source 4.6.0~rc1-
See dpkg-status in the attached tarball for complete version info of installed packages.
To reproduce the bug, unpack the attached tarball, and from the unpacked directory run
$ . bug.sh
I get the following output:
++ g++ -c -g -O2 -O2 -fPIC -Wall -W -o qfsfileengine_
In file included from ../../.
../../.
../../corelib/
../../corelib/
(insn 636 635 218 23 ../../corelib/
(and:SI (not:SI (ashiftrt:SI (reg:SI 14 lr [213])
(reg:SI 11 fp [ offset+4 ]))) -1 (nil))
../../corelib/
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
++ g++ -c -g -O2 -pthread -O2 -fvisibility=hidden -fvisibility-
In file included from ../../include/
../../include/
io/qfsfileengin
io/qfsfileengin
(insn 693 692 240 27 io/qfsfileengin
(and:SI (not:SI (ashiftrt:SI (reg:SI 14 lr [218])
(reg:SI 11 fp [ offset+4 ]))) -1 (nil))
io/qfsfileengin
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
I suspect that these are two instances of the same bug, rather than being instances of different bugs.
Both compiler invocations succeed if g++ is run with the -O2 options removed.
This might be a duplicate of https:/ /bugs.launchpad .net/bugs/ 490466