This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21546] New: internal compiler error: in convert_move, at expr.c:339
- From: "menzel at ls6 dot cs dot uni-dortmund dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2005 10:14:24 -0000
- Subject: [Bug c/21546] New: internal compiler error: in convert_move, at expr.c:339
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When I compile the following file with 'gcc -O2 file.c' I get:
file.c: In function 'clip':
file.c:2: internal compiler error: in convert_move, at expr.c:339
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--- file.c ---
void clip(double v, long *vbuf)
{
if (v >= 0.0) {
v = 2147483647.0f;
} else {
v = 0.0;
}
*vbuf = v;
}
--- end of file.c ---
Bye,
Ralf Menzel
--
Summary: internal compiler error: in convert_move, at expr.c:339
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: menzel at ls6 dot cs dot uni-dortmund dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.9
GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21546