https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618
Bug 114618 depends on bug 109358, which changed state.
Bug 109358 Summary: Wrong formatting with T-descriptor during stream output
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78942
Bálint Aradi changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358
Bálint Aradi changed:
What|Removed |Added
Resolution|--- |FIXED
Status|REOPENED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105170
Bálint Aradi changed:
What|Removed |Added
Resolution|--- |FIXED
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103434
Bálint Aradi changed:
What|Removed |Added
Resolution|--- |FIXED
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106507
--- Comment #1 from Bálint Aradi ---
Tested with gfortran 14.1, the issue is still present, the example still can
not be compiled and triggers the same (false) error message.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104036
Bálint Aradi changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107362
--- Comment #5 from Bálint Aradi ---
Checked with gfortran 14.1, the example still gives a segfault.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68778
Bálint Aradi changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113118
Bálint Aradi changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116679
--- Comment #1 from Bálint Aradi ---
# An even simpler, but probably strongly related scenario also causes a
leakage:
program bugdemo_app
use bugdemo
implicit none
type :: wrapper
integer, allocatable :: item
end type wrapper
ty
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116706
Bug ID: 116706
Summary: Unable to fill allocatable array component of a
derived type instance in a pointer array within a
derived type
Product: gcc
Version: 14.1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116679
Bug ID: 116679
Summary: Memory leak when creating derived type instance with
allocatable component within array expression
Product: gcc
Version: 14.1.0
Status: UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113118
--- Comment #2 from Bálint Aradi ---
Last note: replacing the problematic line with
allocate(item)
item%item = derived_type(name=name, val=val)
seems to compile (but I did not check, whether the compiled code behaves
correctly).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113118
--- Comment #1 from Bálint Aradi ---
Just a further note, if I leave away dummy argument names, I do not get an ICE
any more, but the program still does not compile:
24 | item = base_type_item(derived_type(name, val))
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113118
Bug ID: 113118
Summary: ICE on assignment of derived types with allocatable
class component
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105170
--- Comment #2 from Bálint Aradi ---
Thanks, with 13.2.0, it seems to behave correctly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67740
--- Comment #14 from Bálint Aradi ---
Thanks a lot for fixing it!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358
--- Comment #5 from Bálint Aradi ---
I also think that by allowing for explicit EORs caused by achar(10) characters
in the variable being written or by explicit new_line() calls, the standard
made the formatted stream output probably more compli
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109358
Bug ID: 109358
Summary: Wrong formatting with T-descriptor during stream
output
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107362
--- Comment #3 from Bálint Aradi ---
> I'm getting the same issue on a recursive tree structure, I will post my
> testcase here instead of opening a new bug.
I am not sure, whether the two bugs are identical. If I understand correctly,
you can
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107362
Bug ID: 107362
Summary: Segfault for recursive class
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106507
Bug ID: 106507
Summary: Invalid structure constructor for extending derive
type
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105170
Bug ID: 105170
Summary: Invalid finalization in intrinsic assignment
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104036
Bug ID: 104036
Summary: Derived type assigment to allocatable with dynamic
type
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103434
Bug ID: 103434
Summary: Pointer subobject does not show to correct memory
location
Product: gcc
Version: 10.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418
Bug ID: 103418
Summary: random_number() does not accept pointer, intent(in)
array argument
Product: gcc
Version: 10.1.0
Status: UNCONFIRMED
Severity: normal
27 matches
Mail list logo