public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/93814] [9/10 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 11:58 ` jakub at gcc dot gnu.org
2020-06-02 6:57 ` [Bug fortran/93814] [9/10/11 " markeggleston at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 11:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.3 |9.4
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 9.3.0 has been released, adjusting target milestone.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [9/10/11 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug fortran/93814] [9/10 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898 jakub at gcc dot gnu.org
@ 2020-06-02 6:57 ` markeggleston at gcc dot gnu.org
2020-06-03 15:40 ` gscfq@t-online.de
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: markeggleston at gcc dot gnu.org @ 2020-06-02 6:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
markeggleston at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markeggleston at gcc dot gnu.org
--- Comment #5 from markeggleston at gcc dot gnu.org ---
I tried out the patch provided by Steve Kargl in comment 3. It appeared to me
to be OK so I added a test case sent a patch upstream with "OK to commit?".
The patch was not accepted see:
https://gcc.gnu.org/pipermail/fortran/2020-March/054157.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [9/10/11 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug fortran/93814] [9/10 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898 jakub at gcc dot gnu.org
2020-06-02 6:57 ` [Bug fortran/93814] [9/10/11 " markeggleston at gcc dot gnu.org
@ 2020-06-03 15:40 ` gscfq@t-online.de
2021-06-01 8:16 ` [Bug fortran/93814] [9/10/11/12 " rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2020-06-03 15:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
--- Comment #6 from G. Steinmetz <gscfq@t-online.de> ---
Following (valid) cases should also be considered (no ICE) :
$ cat z2.f90
function f()
character :: f, g
entry g()
end
$ cat z3.f90
function f() bind(c)
integer :: f, g
entry g() bind(c)
end
$ cat z4.f90
function f() bind(c)
real :: f, g
entry g() bind(c)
end
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [9/10/11/12 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2020-06-03 15:40 ` gscfq@t-online.de
@ 2021-06-01 8:16 ` rguenth at gcc dot gnu.org
2022-05-27 9:42 ` [Bug fortran/93814] [10/11/12/13 " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [10/11/12/13 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2021-06-01 8:16 ` [Bug fortran/93814] [9/10/11/12 " rguenth at gcc dot gnu.org
@ 2022-05-27 9:42 ` rguenth at gcc dot gnu.org
2022-06-28 10:39 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [10/11/12/13 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2022-05-27 9:42 ` [Bug fortran/93814] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:39 ` jakub at gcc dot gnu.org
2023-07-07 10:36 ` [Bug fortran/93814] [11/12/13/14 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [11/12/13/14 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2022-06-28 10:39 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:36 ` rguenth at gcc dot gnu.org
2024-02-13 10:05 ` dcb314 at hotmail dot com
2024-04-27 15:22 ` [Bug fortran/93814] [11/12/13/14/15 " dcb314 at hotmail dot com
8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [11/12/13/14 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2023-07-07 10:36 ` [Bug fortran/93814] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-02-13 10:05 ` dcb314 at hotmail dot com
2024-04-27 15:22 ` [Bug fortran/93814] [11/12/13/14/15 " dcb314 at hotmail dot com
8 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2024-02-13 10:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #11 from David Binderman <dcb314 at hotmail dot com> ---
From the flang testsuite file ./Lower/HLFIR/bindc-entry-stmt.f90,
these two should work:
function foo() bind(c)
character(1) :: foo, bar
entry bar()
bar = "a"
end function
and
function foo2()
character(1) :: foo2, bar2
entry bar2() bind(c)
bar2 = "a"
end function
Instead, I get:
internal compiler error: Segmentation fault
0xf580a9 crash_signal(int)
/home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/toplev.cc:317
0x866511 build_entry_thunks(gfc_namespace*, bool)
/home/dcb38/gcc/working/gcc/../../trunk.20210101/gcc/fortran/trans-decl.cc:0
0x866511 gfc_create_function_decl(gfc_namespace*, bool)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/93814] [11/12/13/14/15 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2024-02-13 10:05 ` dcb314 at hotmail dot com
@ 2024-04-27 15:22 ` dcb314 at hotmail dot com
8 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2024-04-27 15:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93814
--- Comment #12 from David Binderman <dcb314 at hotmail dot com> ---
Bit more detail:
./Lower/HLFIR/bindc-entry-stmt.f90:5:0:
5 | function foo() bind(c)
Warning: Variable ‘foo’ at (1) may not be a C interoperable kind but it is
BIND(C) [-Wc-binding-type]
./Lower/HLFIR/bindc-entry-stmt.f90:39:28:
39 | character(1) :: foo2, bar2
| 1
Warning: Variable ‘bar2’ at (1) may not be a C interoperable kind but it is
BIND(C) [-Wc-binding-type]
==1442522== Invalid read of size 8
==1442522== at 0x862E5E: quick_push (vec.h:1043)
==1442522== by 0x862E5E: vec_safe_push<tree_node*, va_gc> (vec.h:835)
==1442522== by 0x862E5E: build_entry_thunks (trans-decl.cc:3002)
==1442522== by 0x862E5E: gfc_create_function_decl(gfc_namespace*, bool)
(trans-decl.cc:3157)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-04-27 15:22 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-93814-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug fortran/93814] [9/10 Regression] ICE in build_entry_thunks, at fortran/trans-decl.c:2898 jakub at gcc dot gnu.org
2020-06-02 6:57 ` [Bug fortran/93814] [9/10/11 " markeggleston at gcc dot gnu.org
2020-06-03 15:40 ` gscfq@t-online.de
2021-06-01 8:16 ` [Bug fortran/93814] [9/10/11/12 " rguenth at gcc dot gnu.org
2022-05-27 9:42 ` [Bug fortran/93814] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:39 ` jakub at gcc dot gnu.org
2023-07-07 10:36 ` [Bug fortran/93814] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-02-13 10:05 ` dcb314 at hotmail dot com
2024-04-27 15:22 ` [Bug fortran/93814] [11/12/13/14/15 " 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).