public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "urbanjost at comcast dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103782] New: internal error occurs when overloading intrinsic Date: Mon, 20 Dec 2021 21:51:57 +0000 [thread overview] Message-ID: <bug-103782-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103782 Bug ID: 103782 Summary: internal error occurs when overloading intrinsic Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: urbanjost at comcast dot net Target Milestone: --- program runtest implicit none ! ! if overload an intrinsic like dble or real this fails ! ! internal compiler error: in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1876 ! Please submit a full bug report, ! with preprocessed source if appropriate. ! ! if change name DBLE to SOMETHING it works ! ! works with nvfortran(1) and ifort(1) interface dble; procedure to_double; end interface write(*,*)dble([10.0d0,20.0d0]) - [10.0d0,20.0d0] contains elemental function to_double(valuein) result(d_out) doubleprecision,intent(in) :: valuein doubleprecision :: d_out d_out=valuein end function to_double end program runtest
next reply other threads:[~2021-12-20 21:51 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-20 21:51 urbanjost at comcast dot net [this message] 2021-12-20 22:07 ` [Bug fortran/103782] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org 2021-12-21 8:25 ` [Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41 marxin at gcc dot gnu.org 2022-01-04 12:53 ` rguenth at gcc dot gnu.org 2022-01-05 21:42 ` anlauf at gcc dot gnu.org 2022-01-13 20:57 ` anlauf at gcc dot gnu.org 2022-01-14 18:22 ` cvs-commit at gcc dot gnu.org 2022-01-15 0:21 ` urbanjost at comcast dot net 2022-01-16 20:41 ` cvs-commit at gcc dot gnu.org 2022-01-21 22:37 ` cvs-commit at gcc dot gnu.org 2022-01-23 21:53 ` cvs-commit at gcc dot gnu.org 2022-01-23 21:54 ` anlauf at gcc dot gnu.org
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-103782-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).