371 – ICE on mutual recursive typeof in function declarations

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 371 - ICE on mutual recursive typeof in function declarations
Summary: ICE on mutual recursive typeof in function declarations
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P3 normal
Assignee: Walter Bright
URL:
Keywords: ice-on-valid-code
Depends on: 370
Blocks:
Show dependency tree / graph
Reported: 2006年09月26日 07:43 UTC by Bruno Medeiros
Modified: 2014年02月15日 13:18 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年09月26日 07:43:30 UTC
ICE on mutual recursive typeof in function declarations:
--------
void funcA( typeof(&funcB) p) { }
void funcB( typeof(&funcA) p) { }
----
>
Assertion failure: '0' on line 685 in file 'glue.c'
abnormal program termination
Comment 1 Walter Bright 2006年10月04日 19:56:57 UTC
Fixed DMD 0.168
Comment 2 Thomas Kühne 2006年10月06日 02:10:37 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail@puremagic.com schrieb am 2006年09月26日:
> http://d.puremagic.com/issues/show_bug.cgi?id=371 
> ICE on mutual recursive typeof in function declarations:
> --------
> void funcA( typeof(&funcB) p) { }
>
> void funcB( typeof(&funcA) p) { }
> ----
>>
> Assertion failure: '0' on line 685 in file 'glue.c'
> abnormal program termination
Added to DStress as
http://dstress.kuehne.cn/nocompile/t/typeof_13_A.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFJgMeLK5blCcjpWoRAq/oAJ9MvynITprhbwaz/HZq3p6F0iKvwwCfcFCp
h/n0ni/ZCLJWnCut2hfkhtc=
=pmhw
-----END PGP SIGNATURE-----


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