https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69849
Bug ID: 69849 Summary: Some spec functions are undocumented in doc/invoke.texi Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Atm, these spec functions are undocumented in doc/invoke.texi: ... { "sanitize", sanitize_spec_function }, { "version-compare", version_compare_spec_function }, { "include", include_spec_function }, { "find-file", find_file_spec_function }, { "find-plugindir", find_plugindir_spec_function }, { "compare-debug-dump-opt", compare_debug_dump_opt_spec_function }, { "compare-debug-self-opt", compare_debug_self_opt_spec_function }, { "compare-debug-auxbase-opt", compare_debug_auxbase_opt_spec_function }, { "replace-extension", replace_extension_spec_func }, { "gt", greater_than_spec_func }, ... I've just submitted a patch for gt: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01136.html . If there are spec functions that we intentionally not advertise via the documentation, then we could add a 'hidden' comment in the static_spec_functions table in gcc/gcc.c to make that explicit.