public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67202] New: Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function
@ 2015-08-13  9:54 marxin at gcc dot gnu.org
  2015-08-13 10:12 ` [Bug fortran/67202] " rguenth at gcc dot gnu.org
  2021-04-16 16:22 ` tkoenig at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-08-13  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67202
           Summary: Fortran FE should load scalar pass-by-reference
                    intent-in arguments at the beginning of a function
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 36178
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36178&action=edit
Test case

Hello.

PR is follow-up of PR67170, where PRE can't hoist out an argument which is
passed by reference and is intent-in. In the situation it would be beneficial
to load the argument at the very beginning and transfer all references of the
argument to the load.

Please take a look at attached test case.

Thanks,
Martin


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

* [Bug fortran/67202] Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function
  2015-08-13  9:54 [Bug fortran/67202] New: Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function marxin at gcc dot gnu.org
@ 2015-08-13 10:12 ` rguenth at gcc dot gnu.org
  2021-04-16 16:22 ` tkoenig at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-13 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
           Severity|normal                      |enhancement


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

* [Bug fortran/67202] Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function
  2015-08-13  9:54 [Bug fortran/67202] New: Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function marxin at gcc dot gnu.org
  2015-08-13 10:12 ` [Bug fortran/67202] " rguenth at gcc dot gnu.org
@ 2021-04-16 16:22 ` tkoenig at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2021-04-16 16:22 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|tkoenig at gcc dot gnu.org         |unassigned at gcc dot gnu.org

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

end of thread, other threads:[~2021-04-16 16:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13  9:54 [Bug fortran/67202] New: Fortran FE should load scalar pass-by-reference intent-in arguments at the beginning of a function marxin at gcc dot gnu.org
2015-08-13 10:12 ` [Bug fortran/67202] " rguenth at gcc dot gnu.org
2021-04-16 16:22 ` tkoenig 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).