[Issue 1507] ICE on a variadic function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 16 20:57:41 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1507
------- Comment #2 from braddr at puremagic.com 2007-09-16 22:57 -------
Jari-Matti, I just tried the one line'er you included in the original report:
void c (int f, ...) { c (_arguments, _argptr, f); }
as bug.d with gdc built as debian package 4.1.2-16, which contains up through
this set of bug fixes (it doesn't mention the specific svn revision):
gdc-4.1 (0.24-4.1.2-16) unstable; urgency=low
* Merge debian SVN from 4.1.2-16 upload
[Arthur Loiret]
* svn-gdc-updates.dpatch: Update to SVN 20070829. Closes: #439836
- d-decls.cc (uniqueName): Allow multiple static declaration with the same
name if in a function. (SF 1783085)
- d-codegen.cc (call): Use CommaExp correctly. (Bugzilla 1443)
- dmd/todt.c (createTsarrayDt): Don't take quadratic time to build the
initializer. (Bugzilla 1440)
[Matthias Klose]
* gdc-4.1: Loosen dependency on g++-4.1.
-- Arthur Loiret <arthur.loiret at gmail.com> Sat, 01 Sep 2007 00:49:23 +0200
----------------
It fails to build, but due to errors in the provided one line bit of code:
bug.d:1: function bug.c (int,...) does not match parameter types
(TypeInfo[],char*,int)
bug.d:1: Error: cannot implicitly convert expression (_arguments) of type
TypeInfo[] to int
----
Is that the exact code that caused your failure?
--
More information about the D.gnu
mailing list