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

            Bug ID: 99866
           Summary: gcc/config/aarch64/aarch64-protos.h: 2 * passing
                    structs ?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

1.

gcc/config/aarch64/aarch64-protos.h:348:70: performance: Function parameter
'base' should be passed by const reference. [passedByValue]

Source code is

  constexpr aarch64_simd_vec_issue_info (aarch64_base_vec_issue_info base,
                                         unsigned int ld2_st2_general_ops,
                                         unsigned int ld3_st3_general_ops,
                                         unsigned int ld4_st4_general_ops)

2.

gcc/config/aarch64/aarch64-protos.h:377:34: performance: Function parameter
'base' should be passed by const reference. [passedByValue]

Duplicate.

Reply via email to