public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100149] New: Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL
@ 2021-04-19 22:25 brtnfld at hdfgroup dot org
2021-04-20 1:26 ` [Bug fortran/100149] " kargl at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: brtnfld at hdfgroup dot org @ 2021-04-19 22:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100149
Bug ID: 100149
Summary: Seg fault passing to CHARACTER(*), DIMENSION(*),
INTENT(IN), OPTIONAL
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: brtnfld at hdfgroup dot org
Target Milestone: ---
Created attachment 50631
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50631&action=edit
The program has two lines of doing that same thing, the lines are marked which
fail.
The attached program fails with:
Program received signal SIGSEGV, Segmentation fault.
0x00001555543c783f in __memmove_sse2_unaligned_erms () from /lib64/libc.so.6
The program worked with 10.1.0 (and 9.3.1, 7.5.0) and fails with 10.2.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/100149] Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL
2021-04-19 22:25 [Bug fortran/100149] New: Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL brtnfld at hdfgroup dot org
@ 2021-04-20 1:26 ` kargl at gcc dot gnu.org
2021-04-21 5:01 ` brtnfld at hdfgroup dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: kargl at gcc dot gnu.org @ 2021-04-20 1:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100149
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from kargl at gcc dot gnu.org ---
Update 11 when it is available. I get
% gfcx -o z -O a.f90
% ./z
Zone_t
Zone_t
Zone_t
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/100149] Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL
2021-04-19 22:25 [Bug fortran/100149] New: Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL brtnfld at hdfgroup dot org
2021-04-20 1:26 ` [Bug fortran/100149] " kargl at gcc dot gnu.org
@ 2021-04-21 5:01 ` brtnfld at hdfgroup dot org
2021-04-21 15:48 ` brtnfld at hdfgroup dot org
2021-04-21 16:08 ` sgk at troutmask dot apl.washington.edu
3 siblings, 0 replies; 5+ messages in thread
From: brtnfld at hdfgroup dot org @ 2021-04-21 5:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100149
--- Comment #2 from Scot Breitenfeld <brtnfld at hdfgroup dot org> ---
Thanks for the update; it is good to know that it was fixed in 11.0. I also
tried it with GCC master (4.20.2021), and it worked. This is for an open-source
library (CGNS), and it is a commonly used API; it is a show-stopper bug.
Thanks again.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/100149] Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL
2021-04-19 22:25 [Bug fortran/100149] New: Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL brtnfld at hdfgroup dot org
2021-04-20 1:26 ` [Bug fortran/100149] " kargl at gcc dot gnu.org
2021-04-21 5:01 ` brtnfld at hdfgroup dot org
@ 2021-04-21 15:48 ` brtnfld at hdfgroup dot org
2021-04-21 16:08 ` sgk at troutmask dot apl.washington.edu
3 siblings, 0 replies; 5+ messages in thread
From: brtnfld at hdfgroup dot org @ 2021-04-21 15:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100149
Scot Breitenfeld <brtnfld at hdfgroup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.3.0
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Scot Breitenfeld <brtnfld at hdfgroup dot org> ---
For future reference, gfortran 10.3.0 does not have this issue. I've updated
the Known to work.
The bug report can be closed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/100149] Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL
2021-04-19 22:25 [Bug fortran/100149] New: Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL brtnfld at hdfgroup dot org
` (2 preceding siblings ...)
2021-04-21 15:48 ` brtnfld at hdfgroup dot org
@ 2021-04-21 16:08 ` sgk at troutmask dot apl.washington.edu
3 siblings, 0 replies; 5+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2021-04-21 16:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100149
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Apr 21, 2021 at 03:48:24PM +0000, brtnfld at hdfgroup dot org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100149
>
> --- Comment #3 from Scot Breitenfeld <brtnfld at hdfgroup dot org> ---
> For future reference, gfortran 10.3.0 does not have this issue. I've updated
> the Known to work.
>
> The bug report can be closed.
>
Thanks for checking 10.3.0. Apologies about the inconvenience.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-04-21 16:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 22:25 [Bug fortran/100149] New: Seg fault passing to CHARACTER(*), DIMENSION(*), INTENT(IN), OPTIONAL brtnfld at hdfgroup dot org
2021-04-20 1:26 ` [Bug fortran/100149] " kargl at gcc dot gnu.org
2021-04-21 5:01 ` brtnfld at hdfgroup dot org
2021-04-21 15:48 ` brtnfld at hdfgroup dot org
2021-04-21 16:08 ` sgk at troutmask dot apl.washington.edu
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).