Fix class members getting misoptimized away.

This commit is contained in:
Wilson Snyder
2020-04-10 21:10:21 -04:00
parent 15b40a97d9
commit 1a6c2fc55d
7 changed files with 10 additions and 10 deletions
+1
View File
@@ -129,6 +129,7 @@ private:
if ((nodep->isMovableToBlock() // Blocktemp
|| !flags.m_notStd) // Or used only in block
&& !flags.m_notOpt // Optimizable
&& !nodep->isClassMember()
&& nodep->user1p()) { // Single cfunc
// We don't need to test for tracing; it would be in the tracefunc if it was needed
UINFO(4," ModVar->BlkVar "<<nodep<<endl);