public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100132] New: Optimization breaks pointer association
@ 2021-04-17 23:38 jrfsousa at gmail dot com
  2021-04-18  0:20 ` [Bug fortran/100132] " jrfsousa at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jrfsousa at gmail dot com @ 2021-04-17 23:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100132
           Summary: Optimization breaks pointer association
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jrfsousa at gmail dot com
  Target Milestone: ---

Created attachment 50622
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50622&action=edit
Fortran code showing problem

Hi All!

Pointer association is lost when compiling with -O1 or -O2, curiously not with
-O3 unless -fcheck=recursion is used

Seen on:

GNU Fortran (GCC) 11.0.1 20210417 (experimental)
GNU Fortran (GCC) 10.3.1 20210417
GNU Fortran (GCC) 9.3.1 20210417

Thank you very much.

Best regards,
José Rui

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

end of thread, other threads:[~2022-10-17 20:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-17 23:38 [Bug fortran/100132] New: Optimization breaks pointer association jrfsousa at gmail dot com
2021-04-18  0:20 ` [Bug fortran/100132] " jrfsousa at gmail dot com
2021-04-18  9:43 ` dominiq at lps dot ens.fr
2022-09-18 19:11 ` anlauf at gcc dot gnu.org
2022-09-19 20:21 ` anlauf at gcc dot gnu.org
2022-09-20 18:31 ` cvs-commit at gcc dot gnu.org
2022-10-01 18:17 ` cvs-commit at gcc dot gnu.org
2022-10-01 18:40 ` cvs-commit at gcc dot gnu.org
2022-10-01 18:55 ` cvs-commit at gcc dot gnu.org
2022-10-01 18:56 ` anlauf at gcc dot gnu.org
2022-10-17 20:36 ` anlauf 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).