------- Comment #5 from pault at gcc dot gnu dot org  2009-01-03 23:01 -------
Mikael,

> Now the solutions:
>  (1) Add some conditions to the if before to prevent executing this.
>  (2) Remove the gfc_match_whatever that has nothing to do in resolve.c and 
> find
> a better way (yes, I prefer (2), how did you guess?). 
> 
> Hum, maybe (1) is better for 4.4.0 

Believe me, I looked for a better solution when I wrote this function!  It is
possible but seems to require more scans of the code tree than I liked - maybe
this can be streamlined by marking candidate expressions....

In the mean time, I know how to apply a fix along the lines of 1.

Cheers

Paul 


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-12-29 22:10:15         |2009-01-03 23:01:37
               date|                            |


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

Reply via email to