[Bug fortran/101871] New: Array of strings of different length passed as an argument produces invalid result.

2021-08-11 Thread david.sagan at gmail dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- Consider the test program: program tao_program implicit none integer i character(80) abc(9

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-24 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #6 from David Sagan --- > program foo >real x >x = 42 >call bar(x) >print *, x >contains > subroutine bar(a) > real, intent(inout) :: a > a = 12 > x = 0 > end subroutine bar > end

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-23 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #2 from David Sagan --- The gcc documentation says: ‘array-temps’ Warns at run time when for passing an actual argument a temporary array had to be generated. The information generated by this warning is sometimes useful in optimizat

[Bug libfortran/95293] New: Fortran not passing array by reference

2020-05-23 Thread david.sagan at gmail dot com
: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- The test program is: program test implicit none type cb_struct real :: cbar = 0 end type type scratch_struct type (cb_struct) :: cc(10) real :: zz(10) = 0 end type

[Bug fortran/82086] namelist read with repeat count fails when item is member of array of structures

2020-02-03 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82086 David Sagan changed: What|Removed |Added CC||david.sagan at gmail dot com --- Comment

[Bug fortran/87568] New: Gfortran compile fails with bogus error message.

2018-10-09 Thread david.sagan at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- consider the following test program: subroutine tao_show_this () implicit none type b_struct integer, pointer :: good_user => null() end type type a_struct t

[Bug fortran/84495] New: Incorrect result for concatenation of Fortran allocatable string

2018-02-20 Thread david.sagan at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- Using gfortran 7.3.0: Davids-Mac-mini:~/Bmad> gfortran --version GNU Fortran (MacPorts gcc7 7.3.0_0) 7.3.0 Test program

[Bug fortran/81978] New: Passing component of a parameter array to a subroutine causes SIGBUS crash

2017-08-24 Thread david.sagan at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- Consider the following program: module test_mod contains subroutine match_word (names) implicit none character(*) names

[Bug fortran/80965] New: ICE with class argument and -O2 optimization

2017-06-03 Thread david.sagan at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- Consider the code: module mode3_mod contains subroutine xyz(loc) implicit none class(*) :: loc real X(6) integer ix_use select type (loc) type is (integer) x = 0 type

[Bug fortran/49025] gfortran bug: Local variable does not hide generic procedure.

2017-01-24 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49025 --- Comment #2 from David Sagan --- Bug present in 5.3.1

[Bug fortran/79060] New: gfortran ICE with deferred-length character component initialization

2017-01-11 Thread david.sagan at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: david.sagan at gmail dot com Target Milestone: --- Test program is: program test type my_type character(:), allocatable :: c end type type (my_type) var var = my_type() end

[Bug fortran/56378] gfortran internal compiler error

2013-02-18 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56378 --- Comment #3 from David Sagan 2013-02-18 16:36:14 UTC --- Somehow the attachment did not get sent with the initial writeup Now it is downloaded. (In reply to comment #1) > (In reply to comment #0) > > 1) Unpack and cd to the attached

[Bug fortran/56378] gfortran internal compiler error

2013-02-18 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56378 --- Comment #2 from David Sagan 2013-02-18 16:34:30 UTC --- Created attachment 29483 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29483 3 *.f90 files and script to run them

[Bug fortran/56378] New: gfortran internal compiler error

2013-02-18 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56378 Bug #: 56378 Summary: gfortran internal compiler error Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priori

[Bug fortran/51904] New: Internal Compiler Error on size function evaluation

2012-01-19 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51904 Bug #: 51904 Summary: Internal Compiler Error on size function evaluation Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal

[Bug fortran/49597] gfortran namelist read bug

2011-07-27 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49597 --- Comment #4 from david.sagan at gmail dot com 2011-07-27 13:43:18 UTC --- Yes a later version does not show the bug. Much thanks. -- David (In reply to comment #3) > (In reply to comment #2) > > I will tke this one. > > Jerr

[Bug fortran/49597] New: gfortran namelist read bug

2011-06-30 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49597 Summary: gfortran namelist read bug Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.or

[Bug fortran/49328] New: Internal compiler error due to explicit array bounds in contained routine argument

2011-06-08 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49328 Summary: Internal compiler error due to explicit array bounds in contained routine argument Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priori

[Bug fortran/49025] New: gfortran bug: Local variable does not hide generic procedure.

2011-05-17 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49025 Summary: gfortran bug: Local variable does not hide generic procedure. Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/46339] [4.3/4.4/4.5/4.6 Regression] ICE (segfault) in gfc_trans_pointer_assignment

2010-11-19 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46339 --- Comment #23 from david.sagan at gmail dot com 2010-11-19 21:24:01 UTC --- (In reply to comment #22) > > > Is there something invalid here? > > > > Yes. You need to allocate ptr unless you have > > pault's [

[Bug fortran/46339] [4.3/4.4/4.5/4.6 Regression] ICE (segfault) in gfc_trans_pointer_assignment

2010-11-19 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46339 --- Comment #20 from david.sagan at gmail dot com 2010-11-19 20:46:36 UTC --- (In reply to comment #19) > Is there something invalid here? > ptr = myA%i%j Yes this is not correct. This line should be: ptr => myA%i%j If you use

[Bug fortran/46339] New: Internal compiler error

2010-11-06 Thread david.sagan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46339 Summary: Internal compiler error Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org