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

compiler bug: Could not find type for <Concat> #111

Closed
smolkaj opened this issue Oct 20, 2016 · 3 comments
Closed

compiler bug: Could not find type for <Concat> #111

smolkaj opened this issue Oct 20, 2016 · 3 comments

Comments

@smolkaj
Copy link
Member

smolkaj commented Oct 20, 2016

I get the following error message:

$ cd p4src && p4c-bm2-ss --p4-16 switch.p4 -o switch.json -D L2_PROFILE=1
terminate called after throwing an instance of 'Util::CompilerBug'
  what():  COMPILER BUG: ../frontends/p4/typeMap.cpp:82
Could not find type for <Concat>(260488)

I suspect this may be related to #110 and may be caused by bit string concatenation.

@mihaibudiu
Copy link
Contributor

There is now a testcase and a fix for this bug in an outstanding pull request.

@smolkaj
Copy link
Member Author

smolkaj commented Oct 21, 2016

Awesome - thanks! 👍

ChrisDodd pushed a commit that referenced this issue Oct 24, 2016
@smolkaj
Copy link
Member Author

smolkaj commented Oct 25, 2016

Fixed.

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

No branches or pull requests

2 participants