Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular typedef causes infinite loop #1388

Closed
veripoolbot opened this issue Jan 8, 2019 · 2 comments
Closed

Circular typedef causes infinite loop #1388

veripoolbot opened this issue Jan 8, 2019 · 2 comments
Assignees

Comments

@veripoolbot
Copy link
Contributor

@veripoolbot veripoolbot commented Jan 8, 2019


Author Name: Al Grant
Original Redmine Issue: 1388 from https://www.veripool.org

Original Assignee: Wilson Snyder (@wsnyder)


Circular typedefs cause Verilator to hang in an infinite loop:

typedef A;
typedef A A;

or

typedef A;
typedef B A;
typedef A B;

With "--debugi 9" it prints endlessly.

Probably this would only ever occur with erroneous input.

@veripoolbot
Copy link
Contributor Author

@veripoolbot veripoolbot commented Jan 12, 2019


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-01-12T14:34:35Z


Thanks for the report.

Fixed in git towards 4.010.

@veripoolbot
Copy link
Contributor Author

@veripoolbot veripoolbot commented Jan 28, 2019


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-01-28T12:32:37Z


In 4.010.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.