------- Comment #2 from burnus at gcc dot gnu dot org 2009-09-04 09:47 -------
Working: 2009-08-21-r150985.tar.gz
Failing: 2009-09-03-r151367.tar.gz
Daniel, I think it might be due to your TBP OPERATOR/ASSIGNMENT patch. While
the program fails for:
prc_id = "foobar" ! ASSIGNMENT(=) [but no TBP generic]
n_in = prc_lib%get_n_in(2) ! Proc-pointer component
it works if one reverses the order, i.e.
n_in = prc_lib%get_n_in(2)
prc_id = "foobar"
which might be an indication that it depends on the walking of the tree or that
something else gets corrupt. (valgrind shows no problems.)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |domob at gcc dot gnu dot org
Severity|critical |normal
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|on Ubuntu Linux 2.6.27-7- |
|generic Kernel i686 32bit |
GCC host triplet|gfortran 4.5.0 v151352 |
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2009-09-04 09:47:56
date| |
Summary|procedure pointer is not |[4.5 Regression] procedure
|correctly recognized |pointer rejected (related to
| |user-defined assignment?)
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41242