[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 --- Comment #2 from janus at gcc dot gnu.org --- Possibly related to PR 58557.

[Bug fortran/78641] [5/6/7 Regression] [OOP] ICE on polymorphic allocatable function in array constructor

2016-12-02 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78641 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work

[Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78593 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78593 --- Comment #3 from janus at gcc dot gnu.org --- Author: janus Date: Wed Nov 30 13:23:17 2016 New Revision: 243020 URL: https://gcc.gnu.org/viewcvs?rev=243020=gcc=rev Log: 2016-11-30 Janus Weil <ja...@gcc.gnu.org> PR fortran

[Bug fortran/38822] Compile-time simplification of x**(real)

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38822 --- Comment #18 from janus at gcc dot gnu.org --- AFAICS everthing is fixed here. Can we close this PR?

[Bug fortran/78395] [OOP] error on polymorphic assignment

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78395 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |7.0

[Bug fortran/63667] [OOP] ICE with DEFERRED procedure

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63667 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/78592] [7 Regression] ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78592 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug fortran/78592] [7 Regression] ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78592 --- Comment #2 from janus at gcc dot gnu.org --- Author: janus Date: Wed Nov 30 09:50:04 2016 New Revision: 243005 URL: https://gcc.gnu.org/viewcvs?rev=243005=gcc=rev Log: 2016-11-30 Janus Weil <ja...@gcc.gnu.org> PR fortran

[Bug fortran/78592] [7 Regression] ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939

2016-11-30 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78592 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78593 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug fortran/78592] [7 Regression] ICE in gfc_find_specific_dtio_proc, at fortran/interface.c:4939

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78592 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work

[Bug fortran/78573] [7 Regression] [OOP] ICE in resolve_component, at fortran/resolve.c:13405

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78573 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug fortran/78573] [7 Regression] [OOP] ICE in resolve_component, at fortran/resolve.c:13405

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78573 --- Comment #3 from janus at gcc dot gnu.org --- Author: janus Date: Wed Nov 30 07:25:36 2016 New Revision: 242996 URL: https://gcc.gnu.org/viewcvs?rev=242996=gcc=rev Log: 2016-11-30 Janus Weil <ja...@gcc.gnu.org> PR fortran

[Bug fortran/58904] ICE: accessing a component field of an unavailable type results in a seg fault

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58904 --- Comment #4 from janus at gcc dot gnu.org --- (In reply to janus from comment #3) > Draft patch: Unfortunately this causes several regressions in the testsuite: FAIL: gfortran.dg/asynchronous_1.f90 -O (test for errors, line 35) F

[Bug fortran/58904] ICE: accessing a component field of an unavailable type results in a seg fault

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58904 --- Comment #3 from janus at gcc dot gnu.org --- Draft patch: Index: gcc/fortran/decl.c === --- gcc/fortran/decl.c (revision 242960) +++ gcc/fortran/decl.c (working copy

[Bug fortran/78573] [7 Regression] [OOP] ICE in resolve_component, at fortran/resolve.c:13405

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78573 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug fortran/78356] [7 Regression] [OOP] segfault allocating polymorphic variable with polymorphic component with allocatable component

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78356 janus at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution

[Bug fortran/58175] [OOP] Incorrect warning message on scalar finalizer

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug fortran/37336] [F03] Finish derived-type finalization

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 58175, which changed state. Bug 58175 Summary: [OOP] Incorrect warning message on scalar finalizer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175 What|Removed |Added

[Bug fortran/58175] [OOP] Incorrect warning message on scalar finalizer

2016-11-29 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175 --- Comment #13 from janus at gcc dot gnu.org --- Author: janus Date: Tue Nov 29 14:15:29 2016 New Revision: 242960 URL: https://gcc.gnu.org/viewcvs?rev=242960=gcc=rev Log: 2016-11-29 Tobias Burnus <bur...@net-b.de> PR fortran

[Bug fortran/78557] [7 Regression] [OOP] ICE in trans-expr.c with -fcheck=mem

2016-11-28 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78557 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-26 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 --- Comment #11 from janus at gcc dot gnu.org --- As noted by Dominique, the problem here has originally been introduced by r126826.

[Bug fortran/78545] Possible correction to online LTIME documentation

2016-11-26 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78545 --- Comment #4 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #3) > > Furthermore the documentation for LTIME should link to the related > > functions IDATE, ITIME and in particular the F95 standa

[Bug fortran/78545] Possible correction to online LTIME documentation

2016-11-26 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78545 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug fortran/58175] [OOP] Incorrect warning message on scalar finalizer

2016-11-26 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 --- Comment #8 from janus at gcc dot gnu.org --- (In reply to janus from comment #7) > This alternative patch fixes the ICE as well: Unfortunately it causes a few regressions: FAIL: gfortran.dg/allocate_with_source_14.f03 -O scan-tree-d

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug fortran/60853] [OOP] Failure to disambiguate generic with unlimited polymorphic

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60853 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug fortran/60853] [OOP] Failure to disambiguate generic with unlimited polymorphic

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60853 --- Comment #5 from janus at gcc dot gnu.org --- Author: janus Date: Fri Nov 25 17:22:37 2016 New Revision: 242880 URL: https://gcc.gnu.org/viewcvs?rev=242880=gcc=rev Log: 2016-11-25 Janus Weil <ja...@gcc.gnu.org> PR fortran

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 --- Comment #6 from janus at gcc dot gnu.org --- (In reply to janus from comment #5) > The most immediate way to fix it is this: > [...] > This gets rid of the ICE on the given test case. I will check if it survives > a full regt

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 --- Comment #5 from janus at gcc dot gnu.org --- The most immediate way to fix it is this: Index: gcc/fortran/class.c === --- gcc/fortran/class.c (revision 242875) +++ gcc/fortran

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 --- Comment #4 from janus at gcc dot gnu.org --- Here is a slightly less verbose version of the test case which runs into the same ICE: module Communicator_Form implicit none type :: CommunicatorForm contains final :: Finalize end

[Bug fortran/78518] [6/7 Regression] Warning format regression

2016-11-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78518 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug fortran/60853] [OOP] Failure to disambiguate generic with unlimited polymorphic

2016-11-24 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60853 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/66227] [5/6/7 Regression] [OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug fortran/66227] [5/6/7 Regression] [OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227 --- Comment #10 from janus at gcc dot gnu.org --- Author: janus Date: Wed Nov 23 16:46:31 2016 New Revision: 242770 URL: https://gcc.gnu.org/viewcvs?rev=242770=gcc=rev Log: 2016-11-23 Janus Weil <ja...@gcc.gnu.org> Backport from

[Bug fortran/66227] [5/6/7 Regression] [OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227 --- Comment #9 from janus at gcc dot gnu.org --- Author: janus Date: Wed Nov 23 16:26:38 2016 New Revision: 242768 URL: https://gcc.gnu.org/viewcvs?rev=242768=gcc=rev Log: 2016-11-23 Janus Weil <ja...@gcc.gnu.org> Backport from

[Bug fortran/78492] [OOP] Compiler segfault with non_overridable function in generic interface

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492 --- Comment #3 from janus at gcc dot gnu.org --- I think what happens is this: After resolving the generic TBP call to the specific one, we try to generate a polymorphic call, but that fails since the vtab does not contain an entry for the non

[Bug fortran/78492] [OOP] Compiler segfault with non_overridable function in generic interface

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492 --- Comment #2 from janus at gcc dot gnu.org --- Here is a reduced (and slightly modified) version which gives the same ICE: module types implicit none type :: generic_class contains procedure, non_overridable

[Bug fortran/78492] [OOP] Compiler segfault with non_overridable function in generic interface

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-23 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 --- Comment #10 from janus at gcc dot gnu.org --- (In reply to federico from comment #9) > I have attached another minimal test to show the compiler's behavior. > Maybe your fix also fixes this? Thanks for this new test case, Fe

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |5.5 --- Comment #7 from janus

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 --- Comment #6 from janus at gcc dot gnu.org --- Author: janus Date: Tue Nov 22 16:06:46 2016 New Revision: 242703 URL: https://gcc.gnu.org/viewcvs?rev=242703=gcc=rev Log: 2016-11-22 Janus Weil <ja...@gcc.gnu.org> PR fortran

[Bug fortran/42112] overloaded function with allocatable result problem

2016-11-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42112 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug fortran/61284] [OOP] non_overridable produces segmentation fault

2016-11-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61284 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-22 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 janus at gcc dot gnu.org changed: What|Removed |Added CC||mrestelli at gmail dot com

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 janus at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 --- Comment #2 from janus at gcc dot gnu.org --- Indeed this behavior is a bug. Looking at the dump generated with -fdump-tree-original, it seems that all typebound-procedure calls are generated as they should be: * The three calls in the main

[Bug fortran/78443] [OOP] Incorrect behavior with non_overridable keyword

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Status

[Bug tree-optimization/78114] [7 regression] gfortran.dg/vect/fast-math-mgrid-resid.f FAILs

2016-11-21 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78114 --- Comment #11 from janus at gcc dot gnu.org --- r242664 seems to fix the issue I reported in comment 3/4. Thanks!

[Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization

2016-11-19 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723 --- Comment #10 from janus at gcc dot gnu.org --- (In reply to janus from comment #9) > [Btw, we possibly also fail to check for the SAVE attribute.] That guess was wrong. We do have such checks, as this example shows: subroutine

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-19 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 --- Comment #8 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #7) > Likely a duplicate of pr42359. Agreed.

[Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization

2016-11-19 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723 --- Comment #9 from janus at gcc dot gnu.org --- (In reply to Walter Spector from comment #8) > The newer F2008 data pointer initialization stuff is largely in ยง4.5.4.6, > paragraph 2: > > "A pointer variable or componen

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 --- Comment #6 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #5) > Related to pr42122? Don't think so.

[Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization

2016-11-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723 --- Comment #7 from janus at gcc dot gnu.org --- (In reply to Walter Spector from comment #6) > Your test case in Comment #5 is fine - because it is not attempting to > initialize the pointer at compile time. Initializing a pointer at c

[Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization

2016-11-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723 --- Comment #5 from janus at gcc dot gnu.org --- (In reply to Walter Spector from comment #0) > > type(data_t), pointer :: data > integer, pointer :: idata => data%i Thinking about it some more, I'm actually not sure why

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-18 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 --- Comment #3 from janus at gcc dot gnu.org --- (In reply to janus from comment #2) > As an alternative to removing the assert, one could possibly prevent SAVEd > variables in the main PROGRAM from being declared as "static" (wh

[Bug fortran/78395] [OOP] ICE for operations with polymorphic variables

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78395 --- Comment #5 from janus at gcc dot gnu.org --- (In reply to Chris from comment #4) > I tried compiling (my original example) on a different box, this one with > gfortran 6.2.0 obtained from the ubuntu-toolchain-r/test PPA. I got > >

[Bug fortran/78395] [OOP] ICE for operations with polymorphic variables

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78395 --- Comment #3 from janus at gcc dot gnu.org --- Somewhat reduced test case (without all the abstract stuff): module types_mod implicit none type, public :: t1 integer :: a contains procedure :: get_t2 end type type, public

[Bug fortran/78395] [OOP] ICE for operations with polymorphic variables

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78395 janus at gcc dot gnu.org changed: What|Removed |Added CC||vehre at gcc dot gnu.org

[Bug fortran/78395] [OOP] ICE for operations with polymorphic variables

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78395 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic Status

[Bug fortran/78398] missing warnings and inconsistencies with -Wuninitialized

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78398 --- Comment #1 from janus at gcc dot gnu.org --- (In reply to janus from comment #0) > 2) We get a warning when an uninitialized variable is used in an assignment, > but not in a print statement. This may be related to PR 34721.

[Bug fortran/78398] New: missing warnings and inconsistencies with -Wuninitialized

2016-11-17 Thread janus at gcc dot gnu.org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: janus at gcc dot gnu.org Target Milestone: --- Please consider the following example: subroutine s1 integer :: i,j j = i ! warning here print *,i ! none here

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 --- Comment #2 from janus at gcc dot gnu.org --- (In reply to janus from comment #0) > On trunk, the error looks like this: > > internal compiler error: in gfc_trans_auto_array_allocation, at > fortran/trans-array.c:5979 This line

[Bug fortran/78392] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78392 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug fortran/78392] New: ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:5979

2016-11-17 Thread janus at gcc dot gnu.org
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: janus at gcc dot gnu.org Target Milestone: --- Consider this short test case: module mytypes implicit none contains pure integer function get_i () get_i = 13 end

[Bug fortran/66227] [5/6/7 Regression] [OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type

2016-11-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227 janus at gcc dot gnu.org changed: What|Removed |Added Known to work||4.5.0 Target Milestone

[Bug fortran/66227] [5/6/7 Regression] [OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227 --- Comment #7 from janus at gcc dot gnu.org --- Author: janus Date: Thu Nov 17 07:52:24 2016 New Revision: 242535 URL: https://gcc.gnu.org/viewcvs?rev=242535=gcc=rev Log: 2016-11-17 Janus Weil <ja...@gcc.gnu.org> PR fortran

[Bug fortran/68778] [F03] Missing default initialization of finalized derived types type(C_PTR) component in subroutines

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68778 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code CC

[Bug fortran/69298] [OOP] Array finalisers seem to be given the wrong array when the array is a member variable

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69298 --- Comment #6 from janus at gcc dot gnu.org --- Here is a further reduced test case, based on Dominique's variant in comment #2, which (I think) runs into the same runtime-segfault when calling stuff_1d_finaliser ... module stuff_mod

[Bug fortran/41539] [OOP] Calling function which takes CLASS: Rank comparison does not work

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41539 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug fortran/44131] [OOP] Using polymorphism in modules unware of derived types fails at run-time

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44131 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/44863] [OOP] Fortran runtime error: internal error: bad hash value in dynamic dispatch

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44863 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug fortran/44864] [OOP] ICE: Segmentation fault

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44864 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug fortran/45795] [OOP] ICE in in gfc_add_component_ref plus bogus error message

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45795 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/49961] [OOP] type-bound function can not return a pointer of a array

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49961 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug fortran/51791] [OOP] Failure to resolve typebound function call with base object in parentheses.

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51791 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/51207] [OOP] Mark __def_init_... as FL_PARAMETER

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51207 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug fortran/51943] [OOP] ICE in conv_function_val

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51943 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/55935] [OOP] Fortran fronted has ADDR_EXPRs of FUNCTION_DECLs with bogus BLOCK

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug fortran/56929] [OOP] [F08] ICE on dummy argument child class with coarray inside parent

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56929 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug fortran/56845] [OOP] _vptr not set to declared type for CLASS + SAVE

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56845 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug fortran/57145] [OOP] Faulty "Actual argument must be polymorphic" error

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57145 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/57456] [OOP] CLASS + CHARACTER ALLOCATE with typespec: For arrays, the typespec is ignored

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57456 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/57922] [OOP] Memory leak with allocatable polymorphics

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57922 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug fortran/58947] [OOP] ICE on select type with non-polymorphic selector

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58947 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.1

[Bug fortran/58658] [OOP] Pointer assignment to allocatable unlimited polymorphic accepted

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58658 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/60834] [OOP] ICE with ASSOCIATE construct (gimplify_var_or_parm_decl, at gimplify.c:1721)

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60834 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/60255] [OOP] Deferred character length variable at (1) cannot yet be associated with unlimited polymorphic entities

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60255 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug fortran/60322] [OOP] Incorrect bounds on polymorphic dummy array

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60322 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |6.0

[Bug fortran/60550] [OOP] ICE on factory design pattern

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60550 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.1

[Bug fortran/63553] [OOP] Wrong code when assigning a CLASS to a TYPE

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63553 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug fortran/64589] [OOP] Linking error due to undefined integer symbol with unlimited polymorphism

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64589 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |6.0

[Bug fortran/64674] [OOP] ICE in ASSOCIATE with class array

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64674 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |6.0

[Bug fortran/67091] [OOP] Bad result for type-bound procedures returning pointers to the intrinsic function ASSOCIATED

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67091 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |6.0

[Bug fortran/64209] [OOP] runtime segfault with CLASS(*), INTENT(OUT) dummy argument

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64209 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |5.0

[Bug fortran/60359] [OOP] symbol `__io_MOD___copy_character_1' is already defined

2016-11-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60359 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

<    4   5   6   7   8   9   10   11   12   13   >