public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/113846] New: ice in fold_convert_loc, at fold-const.cc:2757
@ 2024-02-09 8:18 dcb314 at hotmail dot com
2024-02-09 18:21 ` [Bug fortran/113846] " anlauf at gcc dot gnu.org
2024-02-10 17:23 ` dcb314 at hotmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2024-02-09 8:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113846
Bug ID: 113846
Summary: ice in fold_convert_loc, at fold-const.cc:2757
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 57369
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57369&action=edit
F90 source code
From the flang test suite at
https://github.com/llvm/llvm-project/tree/main/flang/test,
file ./Lower/HLFIR/elemental-polymorphic-merge.f90, does this with recent
gfortran:
test $ ~/gcc/results.20240208.asan.ubsan/bin/gfortran -c
./Lower/HLFIR/elemental-polymorphic-merge.f90
./Lower/HLFIR/elemental-polymorphic-merge.f90:10:20:
10 | r = merge(x, y, m)
| 1
internal compiler error: in fold_convert_loc, at fold-const.cc:2757
0xac84c2 fold_convert_loc(unsigned int, tree_node*, tree_node*)
/home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fold-const.cc:2757
0x8ade4d gfc_conv_intrinsic_merge(gfc_se*, gfc_expr*)
/home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fortran/trans-intrinsic.cc:7589
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/113846] ice in fold_convert_loc, at fold-const.cc:2757
2024-02-09 8:18 [Bug fortran/113846] New: ice in fold_convert_loc, at fold-const.cc:2757 dcb314 at hotmail dot com
@ 2024-02-09 18:21 ` anlauf at gcc dot gnu.org
2024-02-10 17:23 ` dcb314 at hotmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: anlauf at gcc dot gnu.org @ 2024-02-09 18:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113846
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=105371
Last reconfirmed| |2024-02-09
--- Comment #1 from anlauf at gcc dot gnu.org ---
MERGE and CLASS are not yet handled well.
See also pr105371 for scalar versions.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/113846] ice in fold_convert_loc, at fold-const.cc:2757
2024-02-09 8:18 [Bug fortran/113846] New: ice in fold_convert_loc, at fold-const.cc:2757 dcb314 at hotmail dot com
2024-02-09 18:21 ` [Bug fortran/113846] " anlauf at gcc dot gnu.org
@ 2024-02-10 17:23 ` dcb314 at hotmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2024-02-10 17:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113846
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
From the same flang test suite, the following files seem to crash in the
same routine:
./Lower/HLFIR/structure-constructor.f90
./Lower/HLFIR/convert-mbox-to-value.f90
./Lower/polymorphic-temp.f90
./Lower/structure-constructors-alloc-comp.f90
It might be worth making sure any fix for this bug also fixes these four.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-10 17:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 8:18 [Bug fortran/113846] New: ice in fold_convert_loc, at fold-const.cc:2757 dcb314 at hotmail dot com
2024-02-09 18:21 ` [Bug fortran/113846] " anlauf at gcc dot gnu.org
2024-02-10 17:23 ` dcb314 at hotmail dot com
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).