[Bug c/18011] New: inlined returned type convertion
laurent dot deniau at cern dot ch
gcc-bugzilla@gcc.gnu.org
Fri Oct 15 12:39:00 GMT 2004
gcc -O2 -finline-functions -c gcc_bug.c
gcc_bug.c: In function `main':
gcc_bug.c:8: internal compiler error: in convert_move, at expr.c:597
Please submit a full bug report,
with preprocessed source if appropriate.
cat gcc_bug
float Flt (float a) { return a; }
int main(void) {
typedef void *(*func_t) (float);
union { void *ptr; float flt; } ret;
ret.ptr = ((func_t) Flt) (3.14);
return 0;
}
--
Summary: inlined returned type convertion
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: laurent dot deniau at cern dot ch
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18011
More information about the Gcc-bugs
mailing list