Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Large structures expose GCC/clang compile time bug #1248
Original Assignee: Wilson Snyder (@wsnyder)
Very large models cause Verilator to generate classes with a large number of member variables. When these are compiled with GCC or clang (LLVM), these appear to expose a O(n^2) slowdown.
I have filed a GCC bug related to this:
This appears to apply to all current versions of GCC and clang.
As it will be a long time before this is resolved a Verilator workaround is desired.