Bug 22274 – importC: [ICE]: 4 identifiers does not match 3 declarations using K&R syntax

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-09-04T06:47:54Z
Last change time
2021-09-07T22:52:07Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-09-04T06:47:54Z
This causes a wrong error and segfault. --- void test_compress(compr, comprLen, uncompr, uncomprLen) unsigned *compr, *uncompr; signed comprLen, uncomprLen; { } ---
Comment #1 by dlang-bot — 2021-09-04T09:40:58Z
@ibuclaw created dlang/dmd pull request #13046 "fix Issue 22274 - importC: [ICE]: 4 identifiers does not match 3 declarations using K&R syntax" fixing this issue: - fix Issue 22274 - importC: [ICE]: 4 identifiers does not match 3 declarations using K&R syntax https://github.com/dlang/dmd/pull/13046
Comment #2 by dlang-bot — 2021-09-06T08:49:57Z
dlang/dmd pull request #13046 "fix Issue 22274 - importC: [ICE]: 4 identifiers does not match 3 declarations using K&R syntax" was merged into stable: - 0a0af4dd7e3ab9cf98dce16f27db44ba4224c6b5 by Iain Buclaw: fix Issue 22274 - importC: [ICE]: 4 identifiers does not match 3 declarations using K&R syntax https://github.com/dlang/dmd/pull/13046
Comment #3 by dlang-bot — 2021-09-07T22:52:07Z
dlang/dmd pull request #13053 "merge stable" was merged into master: - 4533410d5bf056e105d3eee7bf0b49800227479d by Iain Buclaw: fix Issue 22274 - importC: [ICE]: 4 identifiers does not match 3 declarations using K&R syntax https://github.com/dlang/dmd/pull/13053