[Bug fortran/38152] ICE for procedure pointer assignment

2009-01-15 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-01-15 22:56 --- Created an attachment (id=17110) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17110action=view) patch Here is a patch which fixes the testcases in comment #0, #1 and #7. Dominique: Maybe you could check

[Bug fortran/38152] ICE for procedure pointer assignment

2009-01-13 Thread domob at gcc dot gnu dot org
--- Comment #7 from domob at gcc dot gnu dot org 2009-01-13 19:47 --- Created an attachment (id=17090) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17090action=view) Another test case This seems to be yet another test triggering this ICE. --

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-11-22 21:42 --- See also test cases at: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/e0d04d755453a2a5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38152

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-19 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2008-11-19 16:29 --- On powerpc-apple-darwin9 I have the same kind of error as reported in comment #4: /var/folders/FK/FKCVPmNbH5SNynFQmqGomk+++TI/-Tmp-//cctJDhJw.s:21:non-relocatable subtraction expression, _procptr minus

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-18 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-11-18 19:54 --- With the patches in comment #2 and #3, compiling the test in comment #0 on i686-apple-darwin9 in 32 bit mode gives: /var/tmp//ccMx60VC.s:13:non-relocatable subtraction expression, _procptr minus L001$pb

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-16 Thread domob at gcc dot gnu dot org
--- Comment #1 from domob at gcc dot gnu dot org 2008-11-16 09:27 --- Daniel Kraft wrote: I'm working out a test-case for PR 37779 and came across the following program, which ICEs for today's trunk gfortran: SUBROUTINE test () IMPLICIT NONE procptr = test If one

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-16 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2008-11-16 18:59 --- (In reply to comment #1) By the way, the following also fails: module m procedure(), pointer :: procptr end module m use m external foo procptr = foo end with Error: 'procptr' in the pointer assignment

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-17 00:01 --- (In reply to comment #2) By the way, the following also fails: The error is fixed by the following trivial patch: Janus, do you plan to submit it? * * * Regarding the ICE, the following patch seems to work;