Project Stage 3
Introduction My experiences working on the final assignment for my Software Portability and Optimization course are detailed in this post. Adding diagnostic output functionality to the Gnu Compiler Collection (GCC) was the project's main objective. Implementing a diagnostic output capability that could be enabled with particular command-line parameters was my given task. This post describes the difficulties I encountered, how I worked with the current codebase to merge my improvements, and my thoughts on the project. Relevant Links Class repo My branch in the class repo Pull My fork of the class repo Integration I explained how I implemented the diagnostic output feature in the previous post. In order to integrate this feature, it was essential to create a new test dump pass for diagnostic output and update the relevant GCC files. To achieve this, I made the following changes: Created test-dump-pass.cc : #include "config.h" #include "system.h" #include "...