[Bug fortran/120131] Misleading and unnecessary error message due to range check

2025-05-07 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 --- Comment #8 from Vladimir Terzi --- I initially changed the status, because I assumed that my questions in comment #2 will be ignored. (In reply to kargls from comment #6) > I suppose it is somewhat naive of gfortran contributors to expect t

[Bug fortran/120131] Misleading and unnecessary error message due to range check

2025-05-06 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 --- Comment #5 from Vladimir Terzi --- After a fruitful discussion in Stack Overflow, I understand that the model set of integers in Fortran is symmetric about zero according to the formula in section 16.4 of https://j3-fortran.org/doc/year/24/2

[Bug fortran/120131] Misleading and unnecessary error message due to range check

2025-05-06 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 Vladimir Terzi changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICA

[Bug fortran/120131] Misleading and unnecessary error message due to range check

2025-05-06 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 --- Comment #2 from Vladimir Terzi --- (In reply to Andrew Pinski from comment #1) > No gfortran is correct this code is invalid without an extra option. > > *** This bug has been marked as a duplicate of bug 33285 *** So you are implying that

[Bug fortran/120131] New: Misleading and unnecessary error message due to range check

2025-05-06 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120131 Bug ID: 120131 Summary: Misleading and unnecessary error message due to range check Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/117264] Segfault when using assignment for allocatable class

2024-10-24 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117264 --- Comment #10 from Vladimir Terzi --- (In reply to anlauf from comment #9) > After some search, I found a gfortran 13.3.0 (openSUSE 15.5, r13-8781), > that fails also for > > program p > type,abstract::t > end type t > type,extends(t)::

[Bug fortran/117264] Segfault when using assignment for allocatable class

2024-10-23 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117264 --- Comment #8 from Vladimir Terzi --- Created attachment 59414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59414&action=edit Disassembled executable Since the error seems to be system-dependent, I disassembled the failing executable w

[Bug fortran/117264] Segfault when using assignment for allocatable class

2024-10-22 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117264 --- Comment #7 from Vladimir Terzi --- (In reply to anlauf from comment #5) > Please show the exact failing code. I noticed that my comment is somewhat misleading, so I will clarify. (In reply to Vladimir Terzi from comment #4) > That's strang

[Bug fortran/117264] Segfault when using assignment for allocatable class

2024-10-22 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117264 --- Comment #4 from Vladimir Terzi --- (In reply to kargls from comment #3) > Works for me with 13.2.0, 14.2.0, and top of tree on x86_64-*-freebsd. > > You can also do the allocation explicitly instead of allocation > on assignment. > >

[Bug fortran/117264] Segfault when using assignment for allocatable class

2024-10-22 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117264 --- Comment #2 from Vladimir Terzi --- (In reply to anlauf from comment #1) > Confirmed up to current trunk. > > As a workaround, you may try the result clause on function f, e.g.: > > function f() result(r) > class(t), allocatable :: r

[Bug fortran/117264] New: Segfault when using assignment for allocatable class

2024-10-22 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117264 Bug ID: 117264 Summary: Segfault when using assignment for allocatable class Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug fortran/37336] [F03] Finish derived-type finalization

2024-04-08 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Vladimir Terzi changed: What|Removed |Added CC||vterzi1996 at gmail dot com --- Comment

[Bug fortran/114613] New: ALLOCATE with SOURCE forgets to finalize temporary instances

2024-04-05 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114613 Bug ID: 114613 Summary: ALLOCATE with SOURCE forgets to finalize temporary instances Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/114612] New: Deep copy missing for allocatable derived type components

2024-04-05 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114612 Bug ID: 114612 Summary: Deep copy missing for allocatable derived type components Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal P

[Bug fortran/108921] New: ICE: using the result of an impure function in automatic character allocation

2023-02-24 Thread vterzi1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108921 Bug ID: 108921 Summary: ICE: using the result of an impure function in automatic character allocation Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity