SPRUI04G June 2015 – August 2025
advice #27003: Detecting compilation with debug option "-g",
which hinders optimization. To optimize, remove -g or
compile with --optimize_with_debug_option.
This advice was provided in earlier versions in which the inclusion of debug information impacted the ability to optimize code. Debug information no longer impacts optimization, and the --optimize_with_debug option has been deprecated. Also see Advice #27002 in Section 4.15.3.