https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124883

            Bug ID: 124883
           Summary: doc missing for many effective_target directives
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
                CC: sandra at gcc dot gnu.org
  Target Milestone: ---

After I recently forgot to request a new entry in sourcebuild.texi for a new
effective-target introduced by a patch, I wondered if this happens often.

Looks like it is the case:
$ for ET in `grep 'proc check_effective_target'
gcc/testsuite/lib/target-supports.exp |grep '^proc'|awk '{print $2;}' |sed
's/check_effective_target_//'`; do
  grep -q $ET gcc/doc/sourcebuild.texi || echo "missing $ET" 
done|wc -l
328

So it seems we currently have 328 effective-target directives with no mention
in sourcebuild.texi, not counting those which are generated programmatically:
arm_arch_FUNC_ok
arm_arch_FUNC_link
arm_arch_FUNC_multilib
arm_cpu_FUNC_ok
arm_cpu_FUNC_link
arm_cpu_FUNC_multilib
aarch64_sveN_hw
FUNC_ok_nocache
FUNC_ok
FUNC_link
FUNC_multilib
vect_stridedN
aarch64_asm_FUNC_ok
aarch64_asm_FUNC_ok
vect_complex_rot_N
vect_complex_rot_N


======================================
The list of such directives can obtained by:

$ for ET in `grep 'proc check_effective_target'
gcc/testsuite/lib/target-supports.exp |grep '^proc'|awk '{print $2;}' |sed
's/check_effective_target_//'`; do   grep -q $ET gcc/doc/sourcebuild.texi ||
echo "missing $ET" ; done
missing indirect_jumps
missing nonlocal_goto
missing global_constructor
[...]
missing foldable_pi_based_trigonometry
missing valgrind
missing memtag_exec

Not sure how much we care though?

Reply via email to