this post was submitted on 16 Apr 2020
1 points (100.0% liked)

Compilers

167 readers
1 users here now

founded 5 years ago
MODERATORS
 

The GCC compiler is written with copious use of macros. Another check of the GCC code using PVS-Studio once again confirms the opinion of our team that macros are evil in the flesh. Not only does the static analyzer struggle with reviewing such code, but also a developer. GCC developers are certainly used to the project and are well versed in it. Nonetheless, it is very difficult to understand something on the third hand. Actually, due to macros, it was not possible to fully perform code checking. However, the PVS-Studio analyzer, as always, showed that it can find errors even in compilers.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here