* Fix $fgets being mis-optimized away (#7976).

Fixes #7976.
This commit is contained in:
Wilson Snyder
2026-07-24 09:26:01 -04:00
parent 370a40348b
commit d2de6b42cf
5 changed files with 88 additions and 0 deletions
+1
View File
@@ -3259,6 +3259,7 @@ public:
bool sizeMattersRhs() const override { return false; }
bool isSystemFunc() const override { return true; }
int instrCount() const override { return widthInstrs() * 64; }
bool isPure() override { return false; } // SPECIAL: $display has 'visual' ordering
};
class AstFUngetC final : public AstNodeBiop {
public: