public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/113823] New: ice in gfc_get_element_type, at fortran/trans-types.cc:1286
Date: Thu, 08 Feb 2024 08:13:33 +0000	[thread overview]
Message-ID: <bug-113823-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 113823
           Summary: ice in gfc_get_element_type, at
                    fortran/trans-types.cc:1286
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 57355
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57355&action=edit
F90 source code

The attached F90 code does this with trunk:

foundBugs $ ../results.20240206.asan.ubsan/bin/gfortran -c bug1006.f90
bug1006.f90:43:31:

   43 |     call takes_simple([s1, s2])
      |                               1
internal compiler error: in gfc_get_element_type, at
fortran/trans-types.cc:1286
0x8f8b51 gfc_get_element_type(tree_node*)
       
/home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fortran/trans-types.cc:1286

This is the second ice from the flang test suite. 
bug1006.f90 is a copy of Lower/HLFIR/array-ctor-derived.f90.

             reply	other threads:[~2024-02-08  8:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08  8:13 dcb314 at hotmail dot com [this message]
2024-02-08 15:29 ` [Bug fortran/113823] " kargl at gcc dot gnu.org
2024-02-08 15:48 ` dcb314 at hotmail dot com
2024-02-08 17:56 ` kargl at gcc dot gnu.org
2024-02-08 19:38 ` dcb314 at hotmail dot com
2024-02-08 20:02 ` sgk at troutmask dot apl.washington.edu
2024-02-08 20:43 ` dcb314 at hotmail dot com
2024-02-08 21:26 ` sgk at troutmask dot apl.washington.edu

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-113823-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: link
Be 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).