mirror of
https://github.com/verilator/verilator.git
synced 2025-04-25 10:06:54 +00:00
Comment out __VpadToAlign as GCC is doing it well now itself
This commit is contained in:
parent
3236607be4
commit
db2c6820ee
@ -479,7 +479,9 @@ void V3OutFile::putAlign (bool/*AlignClass*/ isStatic, int align, int size, cons
|
||||
int& alignr = isStatic ? m_declSAlign : m_declNSAlign;
|
||||
int padsize = alignSize - (alignr % alignSize);
|
||||
if (padsize && padsize!=alignSize) {
|
||||
puts("char\t");
|
||||
// Modern versions of GCC no longer need this, they'll pad for us, so
|
||||
// we'll save the work and danger of getting it wrong.
|
||||
puts("//char\t");
|
||||
puts(prefix);
|
||||
puts("__VpadToAlign"+cvtToStr(alignr)
|
||||
+"["+cvtToStr(padsize)+"];\n");
|
||||
|
Loading…
Reference in New Issue
Block a user