public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/89204] -floop-interchange has no effect on Fortran code
       [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
@ 2021-01-09  9:53 ` mehdi.chinoune at hotmail dot com
  2021-01-13 12:12 ` dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: mehdi.chinoune at hotmail dot com @ 2021-01-09  9:53 UTC (permalink / raw)
  To: gcc-bugs

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

Chinoune <mehdi.chinoune at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #3 from Chinoune <mehdi.chinoune at hotmail dot com> ---
Works for me

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

* [Bug fortran/89204] -floop-interchange has no effect on Fortran code
       [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
  2021-01-09  9:53 ` [Bug fortran/89204] -floop-interchange has no effect on Fortran code mehdi.chinoune at hotmail dot com
@ 2021-01-13 12:12 ` dominiq at lps dot ens.fr
  2021-01-13 13:04 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2021-01-13 12:12 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |WAITING

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Works for me

What is working for you?

With the original fortran test I get

% gfc pr89204.f90 -O2 -floop-interchange
% time ./a.out
35.970u 0.081s 0:36.76 98.0%    0+0k 0+0io 0pf+0w

If I move the 'i' do loop inside the nested loops I get

% gfc pr89204_db.f90 -O2
% time ./a.out
8.124u 0.025s 0:08.76 92.9%     0+0k 0+0io 0pf+0w

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

* [Bug fortran/89204] -floop-interchange has no effect on Fortran code
       [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
  2021-01-09  9:53 ` [Bug fortran/89204] -floop-interchange has no effect on Fortran code mehdi.chinoune at hotmail dot com
  2021-01-13 12:12 ` dominiq at lps dot ens.fr
@ 2021-01-13 13:04 ` rguenth at gcc dot gnu.org
  2021-01-13 23:42 ` kargl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-13 13:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
When interchange happens you should see sth like

"loops interchanged in loop nest"

when compiling with -fopt-info-loop.  But it doesn't do that for the fortran
case.

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

* [Bug fortran/89204] -floop-interchange has no effect on Fortran code
       [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-01-13 13:04 ` rguenth at gcc dot gnu.org
@ 2021-01-13 23:42 ` kargl at gcc dot gnu.org
  2023-01-10 16:34 ` [Bug other/89204] " mehdi.chinoune at hotmail dot com
  2023-01-10 18:22 ` tkoenig at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2021-01-13 23:42 UTC (permalink / raw)
  To: gcc-bugs

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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #6 from kargl at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #4)
> > Works for me
> 
> What is working for you?
> 
> With the original fortran test I get
> 
> % gfc pr89204.f90 -O2 -floop-interchange
> % time ./a.out
> 35.970u 0.081s 0:36.76 98.0%	0+0k 0+0io 0pf+0w
> 
> If I move the 'i' do loop inside the nested loops I get
> 
> % gfc pr89204_db.f90 -O2
> % time ./a.out
> 8.124u 0.025s 0:08.76 92.9%	0+0k 0+0io 0pf+0w

You're wasting your time.  Chinoune closed this and 
other PRs that s/he submitted because of a temper
tantrum.  S/He's upset that

https://gcc.gnu.org/pipermail/gcc-bugs/2021-January/724765.html

was closed as INVALID because the behavior documented 
in the manual does not meet his/her expectations.  S/He refuses
to accept that gfortran has selected processor-dependent behavior
that does is different than Intel Fortran.  Note Intel Fortran
documents it choice, but does not conform to its own documentation.

Just open a new PR with a Depends On reference to this PR.

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

* [Bug other/89204] -floop-interchange has no effect on Fortran code
       [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-01-13 23:42 ` kargl at gcc dot gnu.org
@ 2023-01-10 16:34 ` mehdi.chinoune at hotmail dot com
  2023-01-10 18:22 ` tkoenig at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: mehdi.chinoune at hotmail dot com @ 2023-01-10 16:34 UTC (permalink / raw)
  To: gcc-bugs

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

Chinoune <mehdi.chinoune at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
            Version|10.1.0                      |4.0.0
          Component|fortran                     |other

--- Comment #7 from Chinoune <mehdi.chinoune at hotmail dot com> ---
لا أريد أن يكون لي

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

* [Bug other/89204] -floop-interchange has no effect on Fortran code
       [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2023-01-10 16:34 ` [Bug other/89204] " mehdi.chinoune at hotmail dot com
@ 2023-01-10 18:22 ` tkoenig at gcc dot gnu.org
  5 siblings, 0 replies; 6+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2023-01-10 18:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Actually a duplicate.

*** This bug has been marked as a duplicate of bug 31756 ***

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

end of thread, other threads:[~2023-01-10 18:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89204-4@http.gcc.gnu.org/bugzilla/>
2021-01-09  9:53 ` [Bug fortran/89204] -floop-interchange has no effect on Fortran code mehdi.chinoune at hotmail dot com
2021-01-13 12:12 ` dominiq at lps dot ens.fr
2021-01-13 13:04 ` rguenth at gcc dot gnu.org
2021-01-13 23:42 ` kargl at gcc dot gnu.org
2023-01-10 16:34 ` [Bug other/89204] " mehdi.chinoune at hotmail dot com
2023-01-10 18: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).