mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 02:23:19 +02:00
Comment out __VpadToAlign as GCC is doing it well now itself
This commit is contained in:
+3
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user