public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jv244 at cam dot ac dot uk" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/45586] ICE non-trivial conversion at assignment Date: Tue, 07 Sep 2010 19:29:00 -0000 [thread overview] Message-ID: <20100907192854.19735.qmail@sourceware.org> (raw) In-Reply-To: <bug-45586-6642@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from jv244 at cam dot ac dot uk 2010-09-07 19:28 ------- Simple testcase (gfortran -flto test.f90): MODULE M1 INTEGER, PARAMETER :: dp=8 TYPE realspace_grid_type REAL(KIND=dp), DIMENSION ( :, :, : ), ALLOCATABLE :: r END TYPE realspace_grid_type END MODULE MODULE M2 USE m1 CONTAINS SUBROUTINE S1(x) TYPE(realspace_grid_type), POINTER :: x REAL(dp), DIMENSION(:, :, :), POINTER :: y y=>x%r y=0 END SUBROUTINE END MODULE USE M2 TYPE(realspace_grid_type), POINTER :: x ALLOCATE(x) ALLOCATE(x%r(10,10,10)) CALL S1(x) write(6,*) x%r END -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45586
next prev parent reply other threads:[~2010-09-07 19:29 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-07 19:23 [Bug lto/45586] New: " jv244 at cam dot ac dot uk 2010-09-07 19:29 ` jv244 at cam dot ac dot uk [this message] 2010-09-07 19:30 ` [Bug lto/45586] [4.6 Regression] " jv244 at cam dot ac dot uk 2010-09-08 9:36 ` rguenth at gcc dot gnu dot org 2010-09-15 18:26 ` Joost dot VandeVondele at pci dot uzh dot ch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100907192854.19735.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).