public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mfvalin at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/60126] New: Internal compiler error with code using pointer reshaping (gfortran 4.8.2) Date: Sun, 09 Feb 2014 18:56:00 -0000 [thread overview] Message-ID: <bug-60126-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60126 Bug ID: 60126 Summary: Internal compiler error with code using pointer reshaping (gfortran 4.8.2) Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mfvalin at gmail dot com Created attachment 32087 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32087&action=edit comsole output problem orignally hit using gfortran 4.6.3 i then tried using 4.8.2 that failed also the included simplified source code uses 2 ways to perform the operation, one that succesfully compiles, ans one that does not done in 2 steps, it works the single line version induces a compiler internal error i attached the console output hoping this helps subroutine simple_bug_demo implicit none interface function offset_ptr_R4(nelements) result (dest) use ISO_C_BINDING implicit none real*4, pointer, dimension(:) :: dest integer, intent(IN) :: nelements end function offset_ptr_R4 end interface real, dimension(:), pointer :: R1D real, dimension(:,:), pointer :: R2D real*4 :: R4 #if defined(NOBUG) R1D = offset_ptr_R4(100) R2D(-2:2,-3:3) => R1D #else R2D(-2:2,-3:3) => offset_ptr_R4(100) #endif stop end
next reply other threads:[~2014-02-09 18:56 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-02-09 18:56 mfvalin at gmail dot com [this message] 2014-02-09 19:47 ` [Bug fortran/60126] " dominiq at lps dot ens.fr
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=bug-60126-4@http.gcc.gnu.org/bugzilla/ \ --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).