[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2009-01-23 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.3 |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38471

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2009-01-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38471

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-22 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2008-12-22 21:55 --- All routes to deal with this are way too invasive for this stage in the proceedings. This PR must wait for the array descriptor upgrade, so I am suspending it for now. Paul -- pault at gcc dot gnu dot org changed

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2008-12-11 16:18 --- Created an attachment (id=16885) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16885&action=view) pointer_assign_7.f90 - a test cae As fj pointed out: This PR might be a duplicate of PR 34640. The patch looks q

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-11 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2008-12-11 11:21 --- This cures the ICE and allows correct code within the subroutine. 'span' is not transferred in the call and so wrong code is produced if the pointer is subsequently used in the caller. I can apply it if you like. Pa

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-11 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2008-12-11 10:52 --- Tobias, It's a bit tough to call it a regression, since the earlier versions of gfortran produced wrong code. Is this worth fixing for 4.4? If we get the array descriptor business sorted out, it should go away. Chee

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-12-11 10:12 --- integer, dimension(:), pointer :: ipn ipn=>sorb%i%j I tried it with ipn being no dummy argument and it crashes as well. And I forgot to write the name of the initial reporter in comment 0. The credit for fin

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer where pointer is a DUMMY argument

2008-12-10 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-10 18:25 --- OK. I found it, though I'm not sure yet how to solve it best (maybe something else needs to be moved up as well?) - and I won't have time to work on this the next day(s?). gfc_get_symbol_decl (gfc_symbol * sym) [...]

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer

2008-12-10 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-12-10 18:08 --- Paul, do you have an idea? span is set in trans-decl.c's gfc_get_symbol_decl: if (sym->attr.subref_array_pointer) { [...] GFC_DECL_SPAN (decl) = span; I wondered whether in gfc_check_pointer_assig