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

            Bug ID: 85207
           Summary: Documentation says that -Qn is the default but looks
                    like -Qy is the default
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rofirrim at gmail dot com
  Target Milestone: ---

Hi all,

  https://gcc.gnu.org/onlinedocs/gcc/System-V-Options.html

reads

"
   -Qy
       Identify the versions of each tool used by the compiler, in a .ident
assembler directive in the output.

   -Qn
       Refrain from adding .ident directives to the output file (this is the
default).

"


but in all the tests I've done gcc always emits .ident which seems to suggest
that the default is actually -Qy, not -Qn as the text seems to suggest.

Perhaps this is target-dependent but even in that case the documentation may
need updating to reflect that.

Kind regards,
Roger

Reply via email to