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

Remove undefined behaviour in pass manager initialization #3468

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Remove undefined behaviour in pass manager initialization #3468

merged 1 commit into from
Aug 1, 2022

Conversation

davidbolvansky
Copy link
Contributor

@davidbolvansky davidbolvansky commented Aug 1, 2022

1062: +pass_manager.h:43:5: runtime error: load of value 160, which is not a valid value for type 'bool'
1062: +    #0 0x558499773b3d in PassRepeated::clone() const (/home/dbolvans/speed/p4c/build/backends/p4test/p4test+0x89f8b3d)
1062: +    #1 0x55849977433e in covariant return thunk to PassRepeated::clone() const (/home/dbolvans/speed/p4c/build/backends/p4test/p4test+0x89f933e)
1062: +    #2 0x55849d53ed42 in P4::FrontEnd::run(CompilerOptions const&, IR::P4Program const*, bool, std::ostream*) (/home/dbolvans/speed/p4c/build/backends/p4test/p4test+0xc7c3d42)
1062: +    #3 0x5584998c49b9 in main (/home/dbolvans/speed/p4c/build/backends/p4test/p4test+0x8b499b9)
1062: +    #4 0x7efca3c380b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x240b2)
1062: +    #5 0x55849969a4cd in _start (/home/dbolvans/speed/p4c/build/backends/p4test/p4test+0x891f4cd)

@mihaibudiu mihaibudiu merged commit 4ac005e into p4lang:main Aug 1, 2022
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.

2 participants