public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18012] New: (invalid) convertion of inlined returned floatings
@ 2004-10-15 12:46 laurent dot deniau at cern dot ch
2004-10-15 12:49 ` [Bug c/18012] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: laurent dot deniau at cern dot ch @ 2004-10-15 12:46 UTC (permalink / raw)
To: gcc-bugs
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.c
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;
}
gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-13)
--
Summary: (invalid) convertion of inlined returned floatings
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=18012
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-15 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15 12:46 [Bug c/18012] New: (invalid) convertion of inlined returned floatings laurent dot deniau at cern dot ch
2004-10-15 12:49 ` [Bug c/18012] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).