Skip to content

Add porting rule for assert 0;#212

Open
mandolaerik wants to merge 1 commit intointel:mainfrom
mandolaerik:pr/add-porting-rule-for-assert-0
Open

Add porting rule for assert 0;#212
mandolaerik wants to merge 1 commit intointel:mainfrom
mandolaerik:pr/add-porting-rule-for-assert-0

Conversation

@mandolaerik
Copy link
Contributor

This tends to be fairly common in DML 1.2 code

This tends to be fairly common in DML 1.2 code
@syssimics
Copy link
Contributor

Verification #12261190: pass

}
}
if (1) {
assert $zero;
Copy link
Contributor

@lwaern-intel lwaern-intel Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since PZEROCOND covers both assert 0; and assert 1;, test assert 1; too. Also, because of that, you may want to consider renaming it to PICONSTCOND -- as in, Integer Constant Condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants