------- Comment #7 from mikael at gcc dot gnu dot org  2009-01-20 19:48 -------
(In reply to comment #5)
> > This removes the ICE: ...
> 
> Do you understand why?
> 
In the following:
          RDA(1,2) = + S_REAL_SUM_I(1.0,2.0)

gfc_match_rvalue sets where for the rhs to the marked position below:
          RDA(1,2) = + S_REAL_SUM_I(1.0,2.0)
                                   ^
check_host_association (before Paul's patch) calls gfc_match_rvalue again
starting at the e->where position (which is wrong). The match fails and there
is no code to handle it as it is unexpected. 

With my patch where is set at the beginning of the function name, permitting
proper match. This patch is needed I think, independently of Paul's one. For
4.5 if I don't forget about it. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38907

Reply via email to