[Issue 1507] New: ICE on a variadic function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 16 15:21:53 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1507
Summary: ICE on a variadic function
Product: DGCC aka GDC
Version: 0.24
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: glue layer
AssignedTo: dvdfrdmn at users.sf.net
ReportedBy: onlystupidspamhere at yahoo.se
This is a simplified piece of code from Tango that segfaults the compiler (I
also tested rev 159) and thus prevents using Tango:
void c (int f, ...) { c (_arguments, _argptr, f); }
Compiler output:
$ gdc -c -v bug.d
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/usr/local/gcc-4.1.2
--enable-languages=c,d --disable-multilib
Thread model: posix
gcc version 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020))
/usr/local/gcc-4.1.2/libexec/gcc/x86_64-unknown-linux-gnu/4.1.2/cc1d bug.d
-quiet -dumpbase bug.d -mtune=k8 -auxbase bug -version -o /tmp/ccTUEx8A.s
GNU D version 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020))
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.1.3 20070831 (prerelease) (Ubuntu
4.1.2-16ubuntu1).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
bug.d:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
More information about the D.gnu
mailing list