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 <Member> #2958

Closed
fruffy opened this issue Nov 20, 2021 · 0 comments · Fixed by #2972
Closed

Compiler Bug: Could not find type for <Member> #2958

fruffy opened this issue Nov 20, 2021 · 0 comments · Fixed by #2972
Assignees
Labels
bug This behavior is unintended and should be fixed. fixed This topic is considered to be fixed.

Comments

@fruffy
Copy link
Collaborator

fruffy commented Nov 20, 2021

Compiling with

fruffy@fruffy /s/P/p4_tv (master) [1]> p4test --version                                                        
p4test
Version 1.2.2 (SHA: d5ea272e0 BUILD: RelWithDebInfo)

for the following program:

triple_nested_header.p4.txt

Leads to a crash bug:

FrontEnd_36_MoveDeclarations
P4::TypeChecking_0_ResolveReferences
P4::TypeChecking_1_TypeInference
SimplifyDefUse_0_TypeChecking
In file: p4c/frontends/p4/typeMap.cpp:126
Compiler Bug: Could not find type for <Member>(18751) .g
@mihaibudiu mihaibudiu self-assigned this Dec 1, 2021
@mihaibudiu mihaibudiu added bug This behavior is unintended and should be fixed. fixed This topic is considered to be fixed. labels Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This behavior is unintended and should be fixed. fixed This topic is considered to be fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants