557 – ICE returning a tuple from a function (Assertion failure: '0' on line 694 in file 'glue.c')

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 557 - ICE returning a tuple from a function (Assertion failure: '0' on line 694 in file 'glue.c')
Summary: ICE returning a tuple from a function (Assertion failure: '0' on line 694 in ...
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
Reported: 2006年11月18日 09:15 UTC by Bruno Medeiros
Modified: 2014年02月15日 13:22 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Bruno Medeiros 2006年11月18日 09:15:31 UTC
template Tuple(T...) { alias T Tuple; }
 alias Tuple!(int,int) TType;
 TType foo()
 {
 	return TType;
 }
Comment 1 Thomas Kühne 2006年11月25日 12:05:38 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail@puremagic.com schrieb am 2006年11月18日:
> http://d.puremagic.com/issues/show_bug.cgi?id=557 
> template Tuple(T...) { alias T Tuple; }
> alias Tuple!(int,int) TType;
>
> TType foo()
> {
> return TType;
> }
Added to DStress as
http://dstress.kuehne.cn/nocompile/t/tuple_03_A.d
http://dstress.kuehne.cn/nocompile/t/tuple_03_B.d
http://dstress.kuehne.cn/nocompile/t/tuple_03_C.d
http://dstress.kuehne.cn/nocompile/t/tuple_03_D.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFaIZfLK5blCcjpWoRAvcwAJ94QTo8c+WxV74YR21U9S7ewOz7+gCcCz8I
myKNzLbmmbn6PiLkNjrWMPM=
=QaLH
-----END PGP SIGNATURE-----
Comment 2 Matti Niemenmaa 2006年12月03日 03:32:08 UTC
Fixed in DMD 0.176.


AltStyle によって変換されたページ (->オリジナル) /