[PR39461] ICE compiling qt4-x11 on powerpc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-4.3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
qt4-x11 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcc-4.3
g++ ICEs when building qt4-x11 on powerpc. The complete build log is here:
I've reduced the ICE to a reasonably minimal test case (although there were still two #includes that would have taken rather more effort to pare down), and preprocessed source is attached to this bug.
$ gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu1)
Command line that triggers the ICE with minimal test case:
$ g++ -c -g -pthread -O2 -fvisibility=hidden -fvisibility-
tools/qstring-
tools/qstring-
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Changed in gcc: | |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Invalid |
Changed in gcc: | |
status: | Invalid → Unknown |
Changed in gcc: | |
status: | Unknown → In Progress |
Changed in gcc: | |
status: | In Progress → Fix Released |
Changed in gcc: | |
importance: | Unknown → Medium |
/* { dg-options "-O2 -m32 -fvisibility=hidden -msecure-plt -fpic" } */
__attribute_ _((noinline) ) int
foo (int x)
{
return x;
}
int foo (int x);
int
bar (int x)
{
return foo (x);
}
ICEs on the SECURE_ PLT); value_nonlocal_ sysv.
if (DEFAULT_ABI == ABI_V4 && flag_pic)
{
gcc_assert (!TARGET_
return \"b %z1@plt\";
}
else
return \"b %z1\";
assertion in sibcall_