This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
optimization/3232: 'extract_bit_field' error on (const float&) cast of a double
- To: gcc-gnats at gcc dot gnu dot org
- Subject: optimization/3232: 'extract_bit_field' error on (const float&) cast of a double
- From: bmacy at macykids dot net
- Date: 18 Jun 2001 17:30:20 -0000
- Reply-To: bmacy at macykids dot net
>Number: 3232
>Category: optimization
>Synopsis: 'extract_bit_field' error on (const float&) cast of a double
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 18 10:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: bmacy@macykids.net
>Release: unknown-1.0
>Organization:
>Environment:
Debian Linux
gcc --version => 2.95.4
>Description:
float f;
void main() {
double d = 1.1;
f = (const float&)d;
}
[bmacy@brain /tmp]gcc -O2 x.cpp
x.cpp: In function `int main(...)':
x.cpp:9: Internal compiler error:
x.cpp:9: Internal compiler error in `extract_bit_field', at expmed.c:1082
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: