g++ crash dump on building SoftFloatWrapper.cpp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Spring |
In Progress
|
Unknown
|
|||
gcc |
Unknown
|
Unknown
|
Bug Description
Looks as though I have discovered a bug in all supported versions of GCC.
$ cat cra.ii
namespace streflop {
template <int> struct A { operator long double() const; };
namespace SoftFloat {
typedef struct {
long long low;
int high;
} floatx80;
floatx80 fn1(int);
}
using namespace SoftFloat;
template <> A<32>::operator long double() const {
long double a;
*reinterpret_
return a;
}
}
$ g++ -c -m32 -O3 cra.ii
cra.ii: In member function ‘streflop:
cra.ii:13:51: internal compiler error: in store_bit_field_1, at expmed.c:765
Upstream bug report: https:/
affects: | raspbian → gcc |
description: | updated |
Changed in gcc: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in spring: | |
status: | Unknown → Incomplete |
Changed in gcc: | |
importance: | Unknown → Undecided |
status: | Unknown → New |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in spring: | |
status: | Incomplete → In Progress |
What versions have you found this to happen with?
Are there any versions of gcc you have found this does not happen with (the upstream bug report implies it but isn't too explicit)