[Bug fortran/105038] New: Improve error message for recursive type

2022-03-23 Thread vivekrao4 at yahoo dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- For the code module m implicit none type :: t integer :: i type(t) :: x end type t end module m gfortran says recursive_type.f90:5:15: 5 |type(t) :: x

[Bug fortran/104346] Problem with overloaded assignment when LHS is allocatable array

2022-02-02 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104346 --- Comment #1 from Vivek Rao --- It is explained at https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-overloaded-assignment-when-LHS-is-allocatable-array/m-p/1356757/highlight/true#M159812 that the code is not conforming, so

[Bug fortran/104346] New: Problem with overloaded assignment when LHS is allocatable array

2022-02-02 Thread vivekrao4 at yahoo dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- For the code module assignment_mod implicit none interface assignment(=) module procedure int_from_char end interface contains

[Bug fortran/104309] New: Elemental character function should not return array of character variables of different lengths.

2022-01-31 Thread vivekrao4 at yahoo dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- As discussed at https://fortran-lang.discourse.group/t/elemental-character-function/2697

[Bug fortran/104097] New: parameterized derived type (PDT) with type-bound procedure

2022-01-18 Thread vivekrao4 at yahoo dot com via Gcc-bugs
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- The code module m implicit none type :: t(n) integer, len :: n = 0 integer :: vec(n) contains procedure

[Bug fortran/104096] New: ICE with parameterized derived type (PDT)

2022-01-18 Thread vivekrao4 at yahoo dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- gfortran-11 --version GNU Fortran (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0 (base) /mnt/c/fortran/test$ cat pdt_sub.f90 module m implicit none type :: t(n) integer, len

[Bug fortran/56670] Allocatable-length character var causes bogus warning with -Wuninitialized

2021-12-09 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56670 Vivek Rao changed: What|Removed |Added CC||vivekrao4 at yahoo dot com --- Comment #13

[Bug fortran/102638] Add warning for implicit save

2021-10-07 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102638 --- Comment #1 from Vivek Rao --- I meant to say that -Wimplicit-save would be part of -Wall *or* -Wextra.

[Bug fortran/102638] New: Add warning for implicit save

2021-10-07 Thread vivekrao4 at yahoo dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- I request that a -Wimplicit-save option be added and made part of -Wall and -Wextra. Within a procedure, a declaration such as integer :: i = 0 would trigger the warning. To silence

[Bug fortran/98290] run-time error with optional character arguments

2020-12-15 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98290 Vivek Rao changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/98290] New: run-time error with optional character arguments

2020-12-15 Thread vivekrao4 at yahoo dot com via Gcc-bugs
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- With GNU Fortran (GCC) 11.0.0 20200927 (experimental) on Windows from equation.com, compiling and running the code function c(x1,x2) result(vec) ! return array

[Bug fortran/88080] New: Add warning if IMPLICIT NONE is missing

2018-11-18 Thread vivekrao4 at yahoo dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- I think new Fortran code should have IMPLICIT NONE in every procedure or preferably at the beginning of a program or MODULE. I request that gfortran add an option that warns

[Bug fortran/88079] New: warn about procedure arguments without INTENT

2018-11-18 Thread vivekrao4 at yahoo dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- I think all new Fortran code should have the INTENT specified for the arguments of all procedures. I request that gfortran add a warning for code not doing

[Bug fortran/86626] New: ICE

2018-07-21 Thread vivekrao4 at yahoo dot com
at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- For the code module xyz implicit none interface repeat module procedure bar end interface repeat contains pure function foo(xx) result(tf) logical, intent(in), optional :: xx logical

[Bug fortran/83192] ICE for printing derived type

2018-07-08 Thread vivekrao4 at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83192 --- Comment #2 from Vivek Rao --- Using GNU Fortran (GCC) 8.0.1 20180408 (experimental) from equation.com the code now compiles, so there may have been a bug in their previous build. I suggest closing this report.

[Bug fortran/83192] New: ICE for printing derived type

2017-11-27 Thread vivekrao4 at yahoo dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- For GNU Fortran (GCC) 8.0.0 20170430 (experimental) on Windows 10, compiling the code module xyz_mod implicit none type, public :: bar integer :: i end type bar contains

[Bug fortran/47722] New: problem with -static option on Windows

2011-02-13 Thread vivekrao4 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47722 Summary: problem with -static option on Windows Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo:

[Bug fortran/46917] New: ICE

2010-12-12 Thread vivekrao4 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46917 Summary: ICE Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy:

[Bug fortran/38538] New: ICE with elemental character function

2008-12-15 Thread vivekrao4 at yahoo dot com
at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38538

[Bug fortran/38095] New: character ICE

2008-11-12 Thread vivekrao4 at yahoo dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38095

[Bug fortran/38095] character ICE

2008-11-12 Thread vivekrao4 at yahoo dot com
--- Comment #5 from vivekrao4 at yahoo dot com 2008-11-12 22:12 --- (In reply to comment #4) Whoop, it is valid Fortran 2003. I forgot that Lahey's checker does not understand the F2003 array syntax. I was about to say that the code is compiled by ifort and g95. I hope someone

[Bug fortran/36795] New: crash with character allocatable array argument

2008-07-10 Thread vivekrao4 at yahoo dot com
Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36795

[Bug fortran/32702] New: crash when printing big character variable

2007-07-09 Thread vivekrao4 at yahoo dot com
character variable Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org

[Bug fortran/32703] New: ICE with [trim(character_variable)]

2007-07-09 Thread vivekrao4 at yahoo dot com
: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32703

[Bug fortran/32707] New: mismatched character lengths in array

2007-07-09 Thread vivekrao4 at yahoo dot com
Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32707

[Bug fortran/32707] mismatched character lengths in array

2007-07-09 Thread vivekrao4 at yahoo dot com
--- Comment #1 from vivekrao4 at yahoo dot com 2007-07-09 19:05 --- Gfortran also does not warn about the simpler code program xtrim_array ! check if compiler catches character array constructor with elements of different sizes implicit none character (len=4) :: xx(2) xx = [boy,girl

[Bug fortran/31879] New: ICE with function having array of character variables argument

2007-05-09 Thread vivekrao4 at yahoo dot com
ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31879

[Bug fortran/31879] ICE with function having array of character variables argument

2007-05-09 Thread vivekrao4 at yahoo dot com
--- Comment #1 from vivekrao4 at yahoo dot com 2007-05-09 16:41 --- A simpler program exhibiting the same bug: module str_mod contains function ccopy(yy) result(xy) character (len=*), intent(in) :: yy(:) character (len=1) :: xy(size(yy)) xy = yy end function ccopy end module str_mod

[Bug fortran/31637] New: warn about implicit conversion causing loss of precision

2007-04-19 Thread vivekrao4 at yahoo dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31637

[Bug fortran/31629] New: option to make module entities PRIVATE by default

2007-04-18 Thread vivekrao4 at yahoo dot com
to make module entities PRIVATE by default Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo

[Bug fortran/31519] spurious ICE messages when module does not compile

2007-04-10 Thread vivekrao4 at yahoo dot com
--- Comment #2 from vivekrao4 at yahoo dot com 2007-04-10 19:38 --- This bug was discussed in a Feb 2006 thread suggestion regarding spurious(?) internal error message http://gcc.gnu.org/ml/fortran/2006-02/msg00445.html . No one in that thread said they submitted it to bugzilla

[Bug fortran/31519] spurious ICE messages when module does not compile

2007-04-10 Thread vivekrao4 at yahoo dot com
--- Comment #3 from vivekrao4 at yahoo dot com 2007-04-10 23:51 --- It appears that spurious ICE messages are a general problem with GCC. The site Managing Bugs (Bugzilla and the testsuite) at http://www.gnu.org/software/gcc/bugs/management.html says 'Bugs with keyword ice-on-invalid

[Bug fortran/31519] New: spurious ICE messages when module does not compile

2007-04-09 Thread vivekrao4 at yahoo dot com
: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31519

[Bug fortran/31461] New: warn about entities in USE, ONLY statement not later used

2007-04-03 Thread vivekrao4 at yahoo dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31461

[Bug fortran/31447] New: set intent(out) arguments to uninitialized

2007-04-02 Thread vivekrao4 at yahoo dot com
: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31447

[Bug fortran/31404] New: ICE len_trim(array) in initialization

2007-03-30 Thread vivekrao4 at yahoo dot com
at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31404

[Bug fortran/31318] New: terminate program when un-allocated array is used

2007-03-22 Thread vivekrao4 at yahoo dot com
ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31318

[Bug fortran/31190] minimum field width list-directed output

2007-03-19 Thread vivekrao4 at yahoo dot com
--- Comment #3 from vivekrao4 at yahoo dot com 2007-03-19 21:55 --- I agree with comments #1 and #2 that minimal width and fixed width list-directed I/O can be useful, and I don't think gfortran should change its default list-directed output, because some people may be relying, unwisely

[Bug fortran/31270] New: print subscript value and array bounds when out-of-bounds error occurs

2007-03-19 Thread vivekrao4 at yahoo dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31270

[Bug fortran/31190] New: minimum field width list-directed output

2007-03-15 Thread vivekrao4 at yahoo dot com
ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31190

[Bug fortran/31148] New: optional argument of elemental function

2007-03-12 Thread vivekrao4 at yahoo dot com
at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31148

[Bug fortran/31059] New: Detect nonconforming assignment of allocatable arrays

2007-03-06 Thread vivekrao4 at yahoo dot com
: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31059

[Bug fortran/31053] New: print file name when file cannot be opened for writing

2007-03-05 Thread vivekrao4 at yahoo dot com
: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31053

[Bug fortran/30681] obsolescent vs. obsolete

2007-02-05 Thread vivekrao4 at yahoo dot com
--- Comment #1 from vivekrao4 at yahoo dot com 2007-02-05 14:05 --- Compiling the code above with gfortran -std=f2003 gives In file xarithmetic_if.f90:5 if (i) 10,20,30 1 Error: Obsolete: arithmetic IF statement at (1) which is incorrect, because the arithmetic

[Bug fortran/30681] New: obsolescent vs. obsolete

2007-02-02 Thread vivekrao4 at yahoo dot com
org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30681

[Bug fortran/30668] New: catch function of wrong type

2007-02-01 Thread vivekrao4 at yahoo dot com
: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30668

[Bug fortran/30319] New: internal error in gfc_resolve_expr() for character parameter

2006-12-28 Thread vivekrao4 at yahoo dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30319

[Bug fortran/30320] New: program crash for SUM applied to zero-size array

2006-12-28 Thread vivekrao4 at yahoo dot com
Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30320

[Bug fortran/30321] New: program crash for SUM applied to zero-size array

2006-12-28 Thread vivekrao4 at yahoo dot com
Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30321

[Bug fortran/29459] New: Spurious warning about uninitialized optional arguments

2006-10-13 Thread vivekrao4 at yahoo dot com
: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29459

[Bug fortran/29464] New: problem with duplicate USE, ONLY of procedure in INTERFACE

2006-10-13 Thread vivekrao4 at yahoo dot com
in INTERFACE Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http

[Bug fortran/27760] New: possible bug for array of strings passed to function

2006-05-24 Thread vivekrao4 at yahoo dot com
Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27760

[Bug fortran/19759] New: ICE caused by an elemental character function

2005-02-02 Thread vivekrao4 at yahoo dot com
Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com CC: gcc-bugs at gcc dot gnu dot

[Bug fortran/19760] New: wrong results or crash from PURE function

2005-02-02 Thread vivekrao4 at yahoo dot com
: UNCONFIRMED Severity: critical Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19760

[Bug fortran/19766] New: wrong results or crash from PURE function

2005-02-02 Thread vivekrao4 at yahoo dot com
: UNCONFIRMED Severity: critical Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19766

[Bug fortran/18537] New: no warning about tabs with std=f95 option

2004-11-17 Thread vivekrao4 at yahoo dot com
Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com CC: gcc-bugs at gcc dot gnu