spectrometerHBH edited a comment on pull request #5483:
URL: https://github.com/apache/incubator-tvm/pull/5483#issuecomment-626096064
I found the problem. It is due to the different behavior of gcc5.4 and gcc7.4
```c++
doc << "(" << Print(op->a) << OpString << Print(op->b) << ")";
```
gcc5.4 will execute Print(op->b) first.
gcc7.4 will execute Print(op->a) first.
I have no idea why gcc5.4 will do so since `<<` should be left associative.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]