[Bug fortran/113883] allocatable length parameter used but is undefined

2024-02-13 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113883

--- Comment #4 from Steve Kargl  ---
On Tue, Feb 13, 2024 at 04:51:02AM +, cvs-commit at gcc dot gnu.org wrote:
> The trunk branch has been updated by Jerry DeLisle :
> 
> https://gcc.gnu.org/g:6caec7d9ec37e60e718a12934c85bac9c12757ac
> 

Thanks, Jerry.

[Bug fortran/113883] allocatable length parameter used but is undefined

2024-02-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113883

--- Comment #3 from GCC Commits  ---
The trunk branch has been updated by Jerry DeLisle :

https://gcc.gnu.org/g:6caec7d9ec37e60e718a12934c85bac9c12757ac

commit r14-8947-g6caec7d9ec37e60e718a12934c85bac9c12757ac
Author: Steve Kargl 
Date:   Mon Feb 12 20:41:02 2024 -0800

Fortran: Set the length of an allocatable character

PR fortran/113883

gcc/fortran/ChangeLog:

* trans-array.cc (gfc_trans_deferred_array): Set length to zero,
avoiding extraneous diagnostics.

gcc/testsuite/ChangeLog:

* gfortran.dg/allocatable_length.f90: New test.

[Bug fortran/113883] allocatable length parameter used but is undefined

2024-02-12 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113883

Jerry DeLisle  changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot gnu.org

--- Comment #2 from Jerry DeLisle  ---
I should be able to commit this. The patch looks good.  I have one other thing
to do in front of this.

[Bug fortran/113883] allocatable length parameter used but is undefined

2024-02-11 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113883

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2024-02-12
 Status|UNCONFIRMED |NEW
   Priority|P3  |P4

[Bug fortran/113883] allocatable length parameter used but is undefined

2024-02-11 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113883

--- Comment #1 from kargl at gcc dot gnu.org ---
Created attachment 57389
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57389=edit
patch to fix bug

This is the patch and testcase.  I have successfully bootstrapped
and run the Fortran regression tests without issues.