This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

optimization/3232: 'extract_bit_field' error on (const float&) cast of a double



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]