This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42597] ICE with procedure pointer initialized to null()
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2010 11:33:11 -0000
- Subject: [Bug fortran/42597] ICE with procedure pointer initialized to null()
- References: <bug-42597-17129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2010-01-04 11:33 -------
(In reply to comment #1)
> Confirmed. The initialization works - if in a procedure or program, but it
> fails in the declaration part of a module.
Actually, it also fails there; it only succeeded because the (unused)
declaration
was optimized away before reaching the line of interest.
I am now testing my patch - looks OK so far.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-01-04 09:55:26 |2010-01-04 11:33:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42597