public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99866] New: gcc/config/aarch64/aarch64-protos.h: 2 * passing structs ?
@ 2021-04-01 10:01 dcb314 at hotmail dot com
  2021-04-09 11:46 ` [Bug target/99866] " rsandifo at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2021-04-01 10:01 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/99866] gcc/config/aarch64/aarch64-protos.h: 2 * passing structs ?
  2021-04-01 10:01 [Bug target/99866] New: gcc/config/aarch64/aarch64-protos.h: 2 * passing structs ? dcb314 at hotmail dot com
@ 2021-04-09 11:46 ` rsandifo at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2021-04-09 11:46 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |rsandifo at gcc dot gnu.org

--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Thanks for the report.  These constructors are only used for
static data though, so I think we should keep them as-is.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-09 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 10:01 [Bug target/99866] New: gcc/config/aarch64/aarch64-protos.h: 2 * passing structs ? dcb314 at hotmail dot com
2021-04-09 11:46 ` [Bug target/99866] " rsandifo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).