Re: [Patch, fortran] PR113363 - ICE on ASSOCIATE and unlimited polymorphic function

2024-04-10 Thread Harald Anlauf
Hi Paul! On 4/10/24 10:25, Paul Richard Thomas wrote: Hi All, This patch corrects incorrect results from assignment of unlimited polymorphic function results both in assignment statements and allocation with source. The first chunk in trans-array.cc ensures that the array dtype is set to the

Re: Recommended developer options when building GCC from source

2024-04-10 Thread Steve Kargl
On Sat, Apr 06, 2024 at 05:54:43PM -0600, Neil Carlson wrote: > What are the recommended options to use (e.g., --enable-libsanitize) when > building GCC from source for the purpose of locating gfortran bugs? I'm > trying to pin down a runtime memory corruption error, and I recall seeing > at

[Patch, fortran] PR113363 - ICE on ASSOCIATE and unlimited polymorphic function

2024-04-10 Thread Paul Richard Thomas
Hi All, This patch corrects incorrect results from assignment of unlimited polymorphic function results both in assignment statements and allocation with source. The first chunk in trans-array.cc ensures that the array dtype is set to the source dtype. The second chunk ensures that the lhs _len