GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gcc/ada

Completes removal of obsolete project manager sources

This commit removes a final leftover function related to a long-removed project manager from the GCC Ada front end.

The GCC Ada front end has completed the removal of obsolete code related to a legacy project manager. This commit specifically removes the __gnat_prj_add_obj_files function, which had become vestigial after all referring files were deleted years ago. This final cleanup streamlines the codebase and removes dead code that had no functional purpose.

In Details

The adaint.c file contains integration code for the Ada front end. This commit targets __gnat_prj_add_obj_files, a function that was part of a defunct project management system for GNAT. While the project manager itself and most of its related source files were removed in prior commits, this specific function remained without any callers. Its removal is a final step in pruning dead code and maintaining a clean codebase, impacting only internal compiler structure.

For Context

Software projects, especially large ones like compilers, gather code over many years. Sometimes, features or tools become outdated and are replaced, but small pieces of the old code can linger. This change in the GCC Ada compiler is like a final house-cleaning step: it removes a function (__gnat_prj_add_obj_files) that was part of an old 'project manager' system that is no longer used or even exists within the compiler. This doesn't change how Ada programs compile or behave, but it helps keep the compiler's own code tidy and easier for its developers to manage.

Filed Under: cleanuprefactoringdead-code