[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/55935] [OOP] Fortran fronted has ADDR_EXPRs of FUNCTION_DECLs with bogus BLOCK

2013-01-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #16 from Jakub Jelinek jakub at gcc dot gnu.org 2013-01-13 12:33:49 UTC --- Author: jakub Date: Sun Jan 13 12:33:43 2013 New Revision: 195136 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195136 Log: PR

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

2013-01-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

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

2013-01-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

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

2013-01-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2013-01-11 10:03:09 UTC --- Created attachment 29143 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29143 gcc48-pr55935.patch Or alternative patch that ensures in the FE

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

2013-01-11 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #9 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-11 13:35:30 UTC --- Apparently Ada does not like the patch at http://gcc.gnu.org/bugzilla/attachment.cgi?id=29142 When applied on top of r195103 bootstrap (last

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

2013-01-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #10 from Richard Biener rguenth at gcc dot gnu.org 2013-01-11 13:43:50 UTC --- (In reply to comment #7) Created attachment 29142 [details] gcc48-pr55935.patch Untested fix. Although the FE perhaps could

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

2013-01-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #11 from Richard Biener rguenth at gcc dot gnu.org 2013-01-11 14:05:14 UTC --- Created attachment 29145 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29145 alternative canonicalize_constructor_val fix Should be less

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

2013-01-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #12 from Richard Biener rguenth at gcc dot gnu.org 2013-01-11 14:30:29 UTC --- Index: gcc/tree-cfgcleanup.c === --- gcc/tree-cfgcleanup.c (revision 195103)

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

2013-01-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org 2013-01-11 14:40:45 UTC --- Created attachment 29148 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29148 gimple-fold Alternative to alternative

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

2013-01-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #14 from Richard Biener rguenth at gcc dot gnu.org 2013-01-11 14:53:20 UTC --- (In reply to comment #13) Created attachment 29148 [details] gimple-fold Alternative to alternative canonicalize_constructor_val fix which

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

2013-01-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #15 from Richard Biener rguenth at gcc dot gnu.org 2013-01-11 14:55:55 UTC --- Index: tree-ssa-pre.c === --- tree-ssa-pre.c (revision 195103) +++

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

2013-01-10 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

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

2013-01-10 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-10 16:25:05 UTC --- For the test gfortran.dg/class_array_15.f03, the ICE is triggered by the statement: allocate(b%cBh(1),source=defaultBhC) (note that the

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

2013-01-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

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

2013-01-10 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #4 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-10 17:35:13 UTC --- (note that the test compiles with -fno-whole-file;-). To be honest, this is not true for the other failing tests. Reduced

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

2013-01-10 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #5 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-10 22:35:06 UTC --- Shorter test case for gfortran.dg/typebound_operator_*: module i_field_module implicit none type :: i_field integer :: i end type

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

2013-01-10 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55935 --- Comment #6 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-10 23:10:39 UTC --- Note that if the 'class's are replaced with 'type's, the program compiles. The assert also triggers if class(i_field) ,intent(in) ::