[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-15 Thread sfilippone at uniroma2 dot it
--- Comment #5 from sfilippone at uniroma2 dot it 2010-05-15 07:19 --- (In reply to comment #4) When removing the NULL initialization in comment #3, the dump shows: static struct .class.parent.p this = {.$data=0B}; Zeroing the $data pointer is probably not needed without NULL

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-05-15 10:21 --- (In reply to comment #5) Wild shot: has this anything to do with 43969? Actually I don't think so. At least the patch I posted yesterday does not fix PR43969: http://gcc.gnu.org/ml/fortran/2010-05/msg00155.html

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-15 13:52 --- Subject: Bug 43207 Author: janus Date: Sat May 15 13:52:33 2010 New Revision: 159431 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159431 Log: 2010-05-15 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-14 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org |dot org

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-13 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2010-05-13 14:47 --- (In reply to comment #0) fff.f90:26:0: internal compiler error: in gfc_conv_structure, at fortran/trans-expr.c:4390 It turns out this ICE is actually due to the NULL() initialization of the class pointer and has

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-13 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2010-05-13 14:55 --- When removing the NULL initialization in comment #3, the dump shows: static struct .class.parent.p this = {.$data=0B}; Zeroing the $data pointer is probably not needed without NULL initialization. With NULL